heromedel's Forum Posts

  • Why do I have to use ~ ajax request 001.json and then ~ load from ajax.LastData

    Instead of just ~ load from 001.json

    I have tried to have the array just load from json but it seams to remain empty where as using ajax fills my array correctly.

  • I was playing around with bullet behavior and chasing a moving dot that would be invisible but that led into a lot of probles such as missing the coordinates and flying off screen.

    I will check out the links.

  • So lets say a sprite of a guy is standing there and you click the arrow key one time. I want him to move a set number of pixels such as from his current 32x32 tile to the next 32x32 tile. I have no idea how to do this without him appearing to teleport. It would be more like a walk from point A to Point B but without making points just move this far then stop.

    So let say he is at 96x 96y and you click the right arrow he would then walk to 128x 96y and then stop.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am making a game similar to space invaders so the player fires upward, when a shot leaves the layout it is destroyed. But for some reason it leaves a bit of color on the edge of the screen. In fact any sprite leaving the screen leaves color on the edge.

    I have used debug mode to verify they are getting destroyed. Even an explosion close to the edge seams to bleed color that permanently stats on the edge of the screen.

  • Thank and that's very similar to what I ended up doing though my method may have been more complicated.

    I assigned each city and shield a variable I named Ego then at the start of layout I did an event that made Ego = IID so the then I could basically call them by their ID which I couldn't figure out how to do before but now I was Just calling them by their Ego

  • I have 5 cities with 5 rechargeable shields powered by each city so when city #1 is destroyed how do I tell shield 1 and only shield 1 to change its recharge variable from 1 to 0 thus turning it off.