Create a clone/copy of a sprite during runtime.

Get help using Construct 2

Post » Mon Nov 18, 2013 1:53 pm

I want to create a clone of my sprite. This clone shouldn't have the same objectname so it doesn't bite with my other code. I just want to create a thumbnail of my sprite which shows next to the healthbar so the user can identify the health of his character.

I want to do this in runtime because the character is allways different. And i dont want to copy the whole object because it has many animations.(which would mean i would double the mb of my project)

Thank you for answers and sorry for my bad englando.
B
9
S
2
G
1
Posts: 14
Reputation: 1,180

Post » Mon Nov 18, 2013 3:00 pm

Use the canvas or paster plugin, paste your character onto the canvas and move the canvas to the position you want.

Or just prepare a separate sprite in the editor and give each character one frame and then chose the frame ingame depending on the character it should depict.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 30 guests