8 years ago by DominicZelek
Hey guys, I decided to finish a game I started with the impact game engine a few years ago, but I'm having a bit of trouble with the ig.input.state
I followed the tutorial in the book "HTML 5 Game Development" by Jesse Freeman for the most part.
In the tutorial, weapons are created using the ig.input.pressed method, but I would rather use ig.input.state
but when I use input.state the bullets come out one after another incredibly fast. I want to slow it down, but I don't think I really understand how to use timers in impact.
You can play my game in its current state by visiting: http://DominicZelek.com/zombie-house
Any help would be greatly appreciated!! Thanks!
I followed the tutorial in the book "HTML 5 Game Development" by Jesse Freeman for the most part.
In the tutorial, weapons are created using the ig.input.pressed method, but I would rather use ig.input.state
but when I use input.state the bullets come out one after another incredibly fast. I want to slow it down, but I don't think I really understand how to use timers in impact.
You can play my game in its current state by visiting: http://DominicZelek.com/zombie-house
Any help would be greatly appreciated!! Thanks!