nzhu's Recent Forum Activity

  • And the other since it won't let me upload more than 1 pic at a time

  • Here's the properties

  • [attachment=0:s0alvgtf][/attachment:s0alvgtf]Hi, so I'm making a TD game and I want the enemy sprite to move through a maze generated by the user.

    Problem is, is that the pathfinder doesn't work at all. Not only doesn't it find a path, the sprite also goes right through all solids.

    Yes, the enemy and the solid "walls" made of turrets are both solids.

    The path finder just totally ignores the solid.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh wow that's it! lol.

    hmm I'll just get rid of the keyboard feature then.

    Thanks so much for your help!

  • So. I want to do is this:

    1. Click on a sprite, this sprite spawns a copy of this sprite (turret) to the mouse

    2. Then, based on a grid, I can drop this spawned version anywhere on the grid

    3. Continue doing that for as much as you can afford

    Everything is working fine except that the game crashes

    When I used the debugger, I saw that each turret set increases the object count exponentially.

    For example, say I start with 10 objects, next turret I place, there's 11, then 13, then 16, then 21, then 42, then 84, then 168, then etc............and it grows until somehow it reaches like 8000 objects after placing only 10 turrets.

    I don't see where in the code could cause this problem O.o

nzhu's avatar

nzhu

Member since 6 Nov, 2014

None one is following nzhu yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies