Objects and animations

Discussion and feedback on Construct 2

Post » Sat Nov 09, 2013 3:22 pm

I have question regarding a performance:

lets say i have one enemy object and i set 10 animations in different colours representing 10 diferent enemies. Is it better to have one object with multiple animations or to have multiple objects with single animation?

Thanx!irina2013-11-12 15:22:35
B
31
S
13
G
2
Posts: 749
Reputation: 5,533

Post » Sat Nov 09, 2013 5:22 pm

Depends on what you plan on doing really.

Personally I'd say it's better programming to make different enemies different objects, but putting those objects into an ENEMY family. This way it's easier to pick which enemy you need for events, as well as reduce the number of conditions needed to differentiate them.
B
21
S
8
G
6
Posts: 346
Reputation: 4,891


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests