My First Game
HI Gamers,
Well this is my first game. I made it a few months ago and forgot about it. I just want you to work with other people on new projects so if you're a coder please share your game and follow me on Twitter. I also noticed that the collisions (the explosions) don't appear on all browsers. I'm using the last version of Firefox and it works but nothing happens in Chrome nor in any other Firefox version.
Please leave your feedback.
Well this is my first game. I made it a few months ago and forgot about it. I just want you to work with other people on new projects so if you're a coder please share your game and follow me on Twitter. I also noticed that the collisions (the explosions) don't appear on all browsers. I'm using the last version of Firefox and it works but nothing happens in Chrome nor in any other Firefox version.
Please leave your feedback.
Comments
I saw that you use .css() to move things around (including enemies). Since gQ 0.6 you shouldn't since it breaks the collision detection. Try replacing those calls to calls to .x() and .y() and see if it helps. If it doesn't I'll keep looking!
Another thing might make the game more fluid, instead of using
keydown
you could use the key tracker like explained in the tutorial.Have fun!