want to click sprite first and move the selected sprite.
example like:
i want to something like
when i click the sprite or object,then it will prompt alert to ask attack or move...
i want to know is how can i select the sprite or object..
A fast, easy to use, free, and community supported 2D game engine
want to click sprite first and move the selected sprite.
example like:
i want to something like
when i click the sprite or object,then it will prompt alert to ask attack or move...
i want to know is how can i select the sprite or object..
Hey yuen,
Theres a great tutorial that does what you are asking i beleive. Check it out.
http://juanmunozar.blogspot.com/2009/02/cocos2d-iphone-dynamically-touch.html
-Lars
You must log in to post.