Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

hi ya,

I have a bit variable - 0 = Magic, 1 = Legend

If bit variable = 0 switch character sprite to Magic and update the controls accordingly, else character sprite is Legend and controls are this.


I hope that makes sense


happy holidays!


Giles

Yeah, but what about switching between 3 characters?

so at the moment I use the select button to auto switch… but there is no reason you couldn’t bring up a menu and based on the selection - change the variable to either, 0, 1 or 2 and update the sprite and controls accordingly

If you don’t want a menu - use a switch statement to say


if 0 then it’s 1

If 1 then it’s 2

If 2 then it’s 0


to rotate through the characters


I hope that helps