How does the iPhone's touch-screen work in terms of game control?
Motiondive
Member Posts: 5
Hi, I want to create a game in which users can chase an object on the screen and when they "touch" it the object disappears or explodes. Is that possible to do with Game Salad?
m
m
Comments
The object that you want to explode or disappear:
Colliding with another actor....
1. Give it a rule- When Receives event -> Collides with -> Other Actor
2. Within that rule add the behaviors to tell it what to do. For Example:
-> Destroy Behavior to destroy this actor
-> Particles behavior to do an explosion
-> Animate Behavior to do some animated explosions
-> Change Attribute (Color->Alpha) To make it disappear.
-> ... etc.
Colliding with the mouse...
1. Instead of the Collides condition for the rule, use Mouse Position -> is Over Actor.
"Colliding with the mouse..." meaning the "touch" action on the screen by your finger?
if the latter, then use the second condition I had posted.
m