Events don't work anymore :O [SOLVED]

This forum is currently in read-only mode.
From the Asset Store
14 amazing sound files of game events like Level Ups, Level Completes, object spawn, object taking etc.
  • Hi

    I was making an RTS game with Construct (0.999). I did it for many hours and then I noticed some problems. Units didn't avoid themselves (and solid objects) anymore? Also, when I click my units, nothing happens.

    So I deleted all other events except those but the problem still occurs (I don't want to share the whole source unless it is necessary). Here is the game with those buggy events.

    It would be really helpful if someone could check this file and tell me is this a (serious?) bug in Construct or something else?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your blue tank image doesn't have a collision mask, so there's no way for the M&K object to know if the mouse is over a tank when you click it, or for your units to know if they're overlapping each other.

    To add a collision mask, open up your blue tank sprite; now click on the "Collision mask" button on the top toolbar(it's the green icon second from the right) - As you can see, the collision mask is empty; now, just fill in the area with a solid color for the collision mask and you have working collisions again! Just press the "Collision mask" button again to close the editor for it.

    Hope that helps ya.

  • Hey, that really helped

    I think the RTS "avoid moving over units" isn't still perfect as the tanks still go a little bit over themselves but that doesn't matter.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)