Page 1 of 1

How do I Select the character, cap, hat, horns ect ..

PostPosted: Sat Jan 03, 2015 4:34 pm
by LittleBob
Hello,

Happy New Year ^^
I make a platform game with a level system. I would like that when my character goes to level 1/2/3 / ... unlock items hat, horn, cap ect .. (its I manage to do).

My problem is that I would like the player choississe which complement (ect .. hat) he wants on his character. And I block at this level. Thank you for your help ^^

Re: How do I Select the character, cap, hat, horns ect ..

PostPosted: Sun Jan 04, 2015 8:52 pm
by TheWyrm
So you have two ways of doing it.

Either you make a sprite for each and every combination. if you have a lot of combination you will have to make a huge amount of sprites... which wouldn't be practical.

The second is to create all the items separate sprites. In game you would need to save what items the player has selected. When player is loaded you will need to find out what items they have from the save file. Then pin each one to the player. However, you really need to think about how you do your animations when using this method.

Re: How do I Select the character, cap, hat, horns ect ..

PostPosted: Mon Jan 05, 2015 4:23 pm
by LittleBob
TheWyrm, Let us can be discussed to private of it please

Re: How do I Select the character, cap, hat, horns ect ..

PostPosted: Mon Jan 05, 2015 5:13 pm
by TheWyrm
ok, just pm me :)

Re: How do I Select the character, cap, hat, horns ect ..

PostPosted: Mon Jan 05, 2015 5:57 pm
by LittleBob
I can't pm because my rp is not up tout 500