Hi,
there is my capx.
http://s000.tinyupload.com/index.php?fi ... 6303490965
1-when touch Way2 xMissileTouch and yMIssileTouch set value with x.mouse and y.mouse.
2-On touch sprite ==> system create gnerade on layer2 ate xMissileTouch and yMIssileTouch. (p.s i use xMissileTouch and yMIssileTouch for some missile too)
How i can simulate toss gnerade from top view to seems real ? and then explode ( with explode1 sprite)
Develop games in your browser. Powerful, performant & highly capable.
You should determine more precisely what you consider "real".
Are you looking to have the grenade "move" to your xMissile/yMissile coordinates instead of spawning directly there ?
Then you should look into the beginner's guide for C2 how the shooting of bullets is made.
You can also check out the How do I FAQ at the section "Object moving" to see how to make some objects move.
Kyatric , thank you for reply, but i use bullet, rotate , litetween and ... .
i can create gnerade in x.mouse/y.mouse. but i want it seem like toss form top to my way.
can you help and edit capx? please!
No.
Again, what EXACTLY are you trying to achieve ?
Define precisely what is supposed to happen, and then you might get help on how to implement it.
Don't just expect people to make your designs and projects for you.
i try for best capx
here is my final capx and it work for me:
http://s000.tinyupload.com/index.php?fi ... 3414884970