Unique ID Problems

For questions about using Classic.

Post » Sat May 01, 2010 9:41 am

I have some questions about the UID of my sprite objects. On my layout I have many sprites ordered on a grid. I know they all have a unique ID and i have no problems with reading the UID.

Now all I want is to load an animation from a file for each object. Ok. I can pick an UID object, no problem. But if i want to load the image file from disk with the "Load Frame" Command it changes all the objects because i can not pick an UID for loading the image.

I have
Object.1
Object.2
Object.3
etc

But i can just load an animation for Object.

How can I pick an object I want,and change its animation and not the animations of all objects with this name.

Thanks for your help, and sorry for my bad english knowledge. I hope you can understand what I am trying to say.

Greetings Michael
B
7
S
2
G
2
Posts: 45
Reputation: 1,465

Post » Sat May 01, 2010 5:00 pm

Sorry, but duplicate instances have to have the same animation. How ever they can have different frames. So you can either load all frames into the same object, and change each instance's frame, or make a different object for each animation.
Image Image
B
161
S
48
G
91
Posts: 7,357
Reputation: 67,269


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests