I designed a sprite and duplicated with CTRL. Now, I want to get the position of each to send these values ??to a globals variables. How can I do that? I read a lot of tutorials and topics of forum about UID and IID, no sucess. Please, help about this. I dont know if this is a best way to resolve it.
dropbox.com/s/582up1k98pffdp7/getUID.capx
Develop games in your browser. Powerful, performant & highly capable.
Sprite(0).X Will give you the X position of the sprite with IID 0. To easily display all the positions based off the IID you just loop through the Sprite objects, then use Sprite(loopindex).X to get the X value for each sprite.
Example:
getUID.capx (r109)
The example can't be downloaded. :_(
Yea I know, can't find out what's wrong. Won't let anyone download from my dropbox for some reason. Gonna try something else instead.
EDIT: Seems to be working now though
No problem, I had already used this and i don't gotten success. I don't know why, but... THANK YOU VERY VERY MUCH :D
I'll try again!
forums.wasabistudio.ca/viewtopic.php
LOOK!!
Ough! I don't understand oriental language, lol.