Search the Community
Showing results for tags 'whack'.
-
Hello, everyone! This is Hit Moles, my first game. This game is about hitting as many moles as you can in the limited time (1 minute). There are two more characters which are a cactus and a rabbit. When you hit the mole, you score 5 points, when you hit the cactus, it subtracts 5 secs in the countdown timer, But hitting the rabbit will add 5 secs. Preview Demo Feedbacks would be pretty appreciated.
-
Forgive me ahead of time if I miss the obvious. I have been working on a whack-a-mole style game recently and chose Phaser for creating this game. I came across an issue with the 'onInputDown' event that I have applied to a sprite hiding behind another sprite. Basically a person that pops up behind a desk and you whack them with your mouse or touch on a mobile screen. The issue is that I can click on the desk on the layer above the sprite and the 'onInputDown' event triggers. I have searched the forums and online documentation and just can't seem to find any related issue or solution to work from. I am assuming I will kick myself once I find the answer, but any help would be appreciated. So far this platform has been pretty impressive, but I am also coming from a Flash/Actionscript background and this sort of issue isn't a problem in flash. Thanks from a newbie to Phaser!
-
- onInputDown
- sprite layers
-
(and 1 more)
Tagged with: