Layering Issues [SOLVED]

  • I am working on a sniper game (Capx here) in which the player shoots things, obviously.

    However I have come to a stand still. After messing around with the layering to make sure that the enemies are underneath the scope, but the bullet holes are above the enemies I am now unable to kill the enemies, they remaining there after shot.

    I know it has something to do with the layers because I am able to kill them when they are ABOVE the scope (Which they need to be underneath)

    If anyone can help, it would be greatly appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Event 3: Left mouse clicked and CanShoot = 1, set CanShoot = 0.

    Event 13: CanShoot = 0 now so this event wont run.

    Solution:

    Put event 13 before event 3. Or make the 'sniperpoint overlapping enemy' bit a subevent of 3 (before the wait actions).

  • Thank you! I wasn't aware that positioning like that mattered, but looking at it now it makes sense .

    I guess it didn't Have anything to do with the layers :/

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