My First Game

edited May 2012 in Your games
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.

Comments

  • I can't seem to hit any of the objects.
  • Which browser are you using? I have the same issue with most of them, but it works of FireFox' last version.
  • Nice, it's the first time I've seen a first person shooter done with gQ :)... That said I have the same problem as Scott, no collision for Chrome. I will try to take a look at your code to see if I find something.
  • Thanks Selim. It'd be great if it could work on every browser.
  • Hi Andre

    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!

  • Thanks. I'll edit when I have a minute.
Sign In or Register to comment.