Touch help
Ejj
Member Posts: 18
Hi, I was wondering how to make an actor spawn in an iPhone game where the screen is touched. I'm very new to game salad and any help will be appreciated.
Comments
make an actor that is as large as the screen ... in its Attributes change Color>Alpha to 0 so it is invisible
put a Rule on that Actor...
when
Touch is pressed
---
Spawn Actor# [in front of is fine]
Direction [0] Relative to: [Scene] --this is the important part!
Position: ->(expression: Device) game.Touches.Touch1.X ^ (expression: Device) game.Touches.Touch1.Y
.....Relative to: [Scene]
that looks more complicated than the couple of clicks it takes to put in! you don't have to type it!
MH