Character Selection Screen

Started by yankscally, January 07, 2018, 01:33:12 PM

Previous topic - Next topic
I'm making the first game on solarus with 2 player co-op multiplay, but to begin with, and to learn Lua, I will start to code a character selection screen over the next few weeks.. I will post updates here.



something quite simple like this will do fine. only going to use 4 characters for now.

although I was going to use the 'tunic1, tunic2, tunic3' there is no tunic4, hopefully I can figure out what I need to do instead.


You can make as many tunics you want, tunic1 ... 3 is only used for MoS DX, game:set_ability("tunic", x) does not have limits I guess

You should change the tunic sprite with hero:set_tunic_sprite_id(sprite_id), and not the level of the tunic (that is an ability for the defense, if I am not wrong). You can have as many tunic sprites as you want.
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."