Forever-Engine-Legacy icon indicating copy to clipboard operation
Forever-Engine-Legacy copied to clipboard

How to change characters mid song through source code

Open Pizzaissuperbased opened this issue 3 years ago • 2 comments

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?

Pizzaissuperbased avatar Jan 30 '22 01:01 Pizzaissuperbased

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; }

jarkeeRGB avatar Jan 31 '22 20:01 jarkeeRGB

use something like that:

yourChar.setCharacter(yourChar.x, yourChar.y, 'the-character-name');

Stilic avatar Feb 04 '22 11:02 Stilic