ultrafop's Recent Forum Activity

  • I am already doing this method

    But image is bigger and duplicating them consuming lots of memory

    which method? I gave two options

    1) overlapping sprite

    2 )shifting frames with unique origin points

  • Are you using an overlapping animated sprite which is set to a sprite with a behavior (e.g. a player box with an animated sprite on top)? If so, then you can reset what that overlapping sprite is going to set as it's X/Y with events. Otherwise, as far as I'm aware, you only have one origin point, which is not subject to change at runtime.

    EDIT: The only possibility is to set frames with different origin points and then shift the frames based on a pre-determined logic.

  • He there

    Try adding a variable to your pickup (for instance: "picked_up")

    1) if pickup = 1

    every tick-----> pin to player

    2) player is overlapping pickup

    on (button pressed) -------> set pickup.picked_up to abs(self.picked_up-1)

  • Make a new project and load the template: Real Time Strategy. There's no reason it should be missing.

  • If I'm not mistaken, the pathfinding RTS example comes included with a means to keep objects from overlapping.

  • yippiez HenryPK 's solution is actually a good one. It doesn't sound like you've given it a shot yet. I'd check it out.

  • I'm glad it was helpful! Happy Constructing!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • ultrafop, did you manage to solve this issue?

    I'm observing it right now, after the latest update to r244, in the project that didn't have such problems with previous versions of Construct 2. I've been checking on two machines with integrated Intel video card.

    I wish, buddy. I thought it was specific to Nvidia but it seems you're having the issue with intel... Maybe it will be addressed if it starts impacting more users?

    EDIT: If you turn off effects preview in the editor, you won't see your effects, but the distortion will go away.

  • Set default controls to "no" and assign your own control scheme using either the gamepad, keyboard, or touch objects.

  • This is really great! Thank you!

  • Not really. But you can do this:

    Add an Array.

    Start with size (0,1,1)

    (A) is overlapping (B)

    _____For Each (A)

    _________Array > push ... value = A.UID

    The array contains now all UID's for (A)

    Thanks for your help!

  • I'm wondering if there is an expression to obtain all UIDs of duplicate objects that are overlapping.

    To offer more clarity on what I'm trying to do, I'm thinking something like this:

    If sprite = is overlapping sprite -> call function "overlap" (sprite.UID1) (sprite.UID2)

    Thanks in advanced for any help!

ultrafop's avatar

ultrafop

Member since 26 Jul, 2015

Twitter
ultrafop has 1 followers

Connect with ultrafop

Trophy Case

  • 9-Year Club

Progress

9/44
How to earn trophies