How to spaw actor actors there where i tap..
How to spaw actor actors there where i tap..
I want to do game where Caracter is falling down by gravity, and with taping you must keep it in the air... i made gravity and in this actor made on touch pressed, move 90 ( to up ) for 1 sec. .. but it is not smooth animation.. i think to do it anotherway.. just main actor with atribute collide with "spawnactor".. but invisible "spawnactor" is spawning when i tap on screen, and destroys after 0.2 sec, bet i dont know how to make it spawn there when i my finger.. pleas help me..
I want to do game where Caracter is falling down by gravity, and with taping you must keep it in the air... i made gravity and in this actor made on touch pressed, move 90 ( to up ) for 1 sec. .. but it is not smooth animation.. i think to do it anotherway.. just main actor with atribute collide with "spawnactor".. but invisible "spawnactor" is spawning when i tap on screen, and destroys after 0.2 sec, bet i dont know how to make it spawn there when i my finger.. pleas help me..
Comments
In it make a rule :
When mouse button is down
Spawn actor "invisible"
Position Y - Mouse.position.X , Position Y - Mouse.position.Y
Relative to scene .
Ill fix that for you.. Then spawn
Ive got the answer try combining my touch follower tutorial here... with rule "spawn actor"
My template: http://thermo-apps.com/gs-tutorials/follow-my-fingertouch-follower-templatetutorial-in-gs/
What? Please explain that more grammatically understandable
Also don't forget to put a rule in your invisible spawned actors to be destroyed after 0.2 sec (or more) .
My tutorial is exactly for spawning them under your finger.. combine your rules with my rules in my template here (Just copy & Paste them)
My template: http://thermo-apps.com/gs-tutorials/follow-my-fingertouch-follower-templatetutorial-in-gs/
You can send me the project if youd like and ill take a look.
papiomitis@yahoo.com
Roysadaka (at) gmail (dot) com