Layer Help
Hello All,
I am making a Whac-A-Mole type of game but my game is that you drag the moles and drop it somewhere else, so the moles now are spawning infront of the dirt(Spawner), I want the moles to spawn behind the dirt(Spawner) and then when touched is pressed the mole would be infront of the actor. So the question is How do I make the moles when touched is pressed then it will be infront of the dirt(Spawner)?
Thanks A lot
I am making a Whac-A-Mole type of game but my game is that you drag the moles and drop it somewhere else, so the moles now are spawning infront of the dirt(Spawner), I want the moles to spawn behind the dirt(Spawner) and then when touched is pressed the mole would be infront of the actor. So the question is How do I make the moles when touched is pressed then it will be infront of the dirt(Spawner)?
Thanks A lot

Comments
Thanks
Thanks Again
moleDrop
----Spawner2 … to place mole in front of dirt
Dirt
Moles
----Spawner1 … to place mole behind dirt
Background
spawner will spawn on its own layer
need a gameAttribute Index type to tell which spawner to spawn and when
game.Spawner#
and on each spawner an index type attribute my# = 1 or 2 … 0 would be do nothing
whatever you use to spawn the moles behind dirt
Spawner1
Rule: When
game.Spawner# = my#
--do the spawn
--changeAttribute: game.Spawner# To: 0 (after 1 spawn)
Spawner2
Rule: When
game.Spawner# = my#
--do the spawn
--changeAttribute: game.Spawner# To: 0 (after 1 spawn)
===
though, think having the moles off-screen at their correct X,Y and just changing their X,Y would also work
moles in front of dirt at the top off-screen with correct X and change their Y
moles behind dirt at the sides off-screen with correct Y and just changing their X
@};- MH
http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./GSTemplateFR_LAY.html
Regards,
Darren.
GS Templates
GS Tools
Art Packs
Music Packs
though, my mind says it was a video you did with trees!
as usual, we all have to thank you for being there for all of us!
@};- MH