Hi guys,
I’m starting using gdevelop to prepare my first small game- whack-a-mole.
Now I have stucked to show the enemy-mole’s the positions.
Assuming there are 5 holes with the fixed positions (x1,y1),(x2,y2)…(x5,y5), so How I can show the mole in a random hole and then disappear?
and if I want to fast the pace when the game is reaching ending, how I can do that ?
If you holes are objects, then pick a random hole and show the mole there. When you select a new condition, choose the hole object, and find the `Pick a random object’.
Reduce the time delay when selecting a random hole.
Is the board one image with 5 holes in it? You could create a hole object, position instances of it in the centre of the holes on the game board and just hide the new hole objects
Thanks sir
I have created instances for testing however it didnt work.
There should be somewhere wrong in my events setting .
Would you please take a look ? thanks
the moleDOWN spirit is already created by me. I’m confused now how I can position it to a random hole? I tried “Create an object” but it needs X,Y coordinates. if in that way, then it looks not in a random way.