How do I make an actor/image appear when I touch anywhere
loressa
Member Posts: 11
I want to make footsteps appear wherever I touch. Like a stamp tool, where they are 'stamped' onto the background and stay there.
Comments
Then in the background actor add a rule:
Actor receives event Touch is pressed.
Add Change Attribute game.TouchX to game.Mouse.PositionX and a second change attribute game.TouchY to game.Mouse.PositionY and then add a Spawn Actor relative to scen and position game.TouchX and game.TouchY.
That should do it.
S
You can just have the background actor and when touch is pressed spawn X by touch1X and Y by touch1Y relative to scene.
S