Crosshair touch
evert
Member Posts: 266
Hi all! i'm looking for a code
I need something when touch is pressed an actor (crosshair) shows up under your finger. When you move your finger it stays under there, when you lift your finger up it goes away.
Someone spare a code?
thanks
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Comments
Have a look at this
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Great! thanks!
I got something similar at the moment.
But the problem is it needs to disapair when there is no touch.
What i did was when mouse button is up destroy actor, and when mouse button is pressed spawn actor. But it din't work so well...
any idea's?
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Switch the alpha on and off. Add a Change Atttribute to your rule - self.Color.Alpha To 1 and in the otherwise section - self.Color.Alpha To 0.
Your actor will still be live just not visible until you touch it.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
You are a awesome! thankyou!
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909