Making objects unique or breaking their link

Get help using Construct 2

Post » Sat Feb 08, 2014 3:52 pm

Hi everyone,

I've just finished the "programming" side of my game. All that's left now is creating and adding the graphics and audio. I've used simple sprites with solid colours but with the correct size in each layout. I will just add the graphics to the sprites and everything should be fine.

However, there is one issue I just noticed.

I've created a single sprite for all the floor in my levels....but I want them to have different textures throughout the levels.

Can I make them unique, or make them an entirely new sprite object, without having to delete the old ones, create new ones and manually place them all over the layout?

Any help would be greatly appreciated.
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Sat Feb 08, 2014 4:01 pm

If it's a sprite object then just add different animation frames and set them in the editor / runtime as required. I can't think of an easy / quick fix if you're talking about a tiled background, though (there are ways to load tiled background images using a url or something like that - I can't remember the details but it was discussed on the forum a while ago).Colludium2014-02-08 16:02:07
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sun Feb 09, 2014 2:07 am

Thanks @Colludium! Yeah that makes perfect sense!! Haha never thought of using the animation frames like that. No, it is just sprite objects so no worries on the tiled background. Again, thanks!
B
46
S
23
G
31
Posts: 693
Reputation: 20,637


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 29 guests