Forever-Engine-Legacy
Forever-Engine-Legacy copied to clipboard
How to change characters mid song through source code
I’m trying to create a mod using this engine, but I need to know how to change characters mid song. How do I do that?
check out stepHit and beatHit in PlayState.hx. you code like this switch(curStep) { case 69: bf.alpha = 0.5; case 100: bf.alpha = 1.0; }
use something like that:
yourChar.setCharacter(yourChar.x, yourChar.y, 'the-character-name');