Different Character Costumes - Do they all need to be on the same actor?
I have a main character I am working on (using Deep Blue Apps Jetpack template) which will have different costumes you can unlock.
- Do I have to put all costumes & animations on the main player actor?
- Will this make that actor really slow to reload on restart
What is the best way to deal with this.
Cheers
________________________________________________________________
Game Graphics For Budding Game Developers 50% off - http://www.graphic-buffet.com
Game Portfolio of Debug Design - http://www.koocachoo.co.uk
Follow me on Twiiter - https://twitter.com/#!/debugdesign
________________________________________________________________
- Do I have to put all costumes & animations on the main player actor?
- Will this make that actor really slow to reload on restart
What is the best way to deal with this.
Cheers
________________________________________________________________
Game Graphics For Budding Game Developers 50% off - http://www.graphic-buffet.com
Game Portfolio of Debug Design - http://www.koocachoo.co.uk
Follow me on Twiiter - https://twitter.com/#!/debugdesign
________________________________________________________________
Comments
I would un-check preload art on everything tbh, i used our FREE PreLoad tool on my last game as i forgot to do this as i was building as it goes through your whole project in seconds.
Darren.
FREE GS Templates
FREE GS Tools
Video Tutorials
Forum
3rd party marketplace
1. When costumes are unlocked and chosen you change a global attribute. Then in your main character actor, if game.costume = 1, change image to xxxx and animate when touch xxxxx etc etc. If game.costume = 2, change image to yyyyy and animate when yyyyy etc etc
2. Have a separate character for each with the relevant animations. Upon starting a level have an actor that references the global attribute for costume and then spawn the correct way one at the start.
One little spawn like that won't hurt performance but me personally, i always load things like this into the 1 actor.
________________________________________________________________
Game Graphics For Budding Game Developers 50% off - http://www.graphic-buffet.com
Game Portfolio of Debug Design - http://www.koocachoo.co.uk
Follow me on Twitter - https://twitter.com/#!/debugdesign
________________________________________________________________