Skip to main content

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

i need a fading modchart for my mod pack

A topic by atreyu123469 created Sep 18, 2021 Views: 545 Replies: 3
Viewing posts 1 to 2
(2 edits)

i need a fading modchart for my mod pack

here u go

function start(song)

{

}

function beatHit(beat)

{

}

function update(elapsed)

{

}

function stepHit(step)

{

if (step == 247) 

  dad.playAnim('garTightBars');

if (curStep == 240)

  new FlxTimer().start(0.1, function(tmr)

  {

    dad.alpha -= 0.05;

    iconP2.alpha -= 0.05;

    if (dad.alpha > 0)

    {

       tmr.reset(0.1);

    }

  });

}

function playerTwoTurn()

{

}

function playerTwoMiss()

{

}

function playerTwoSing()

{

}

function playerOneTurn()

{

}

function playerOneMiss()

{

}

function playerOneSing()

{

}

now i need a modchart so when p2 sings it drain health

(1 edit)

function start(song) { var trail = new FlxTrail(dad, null, 4, 24, 0.3, 0.069); addSprite(trail, BEHIND_ALL ); (This is for trail, ignore this)

}

function beatHit(beat) { }

function update(elapsed) { }

function stepHit(step) { }

function playerTwoTurn() { }

function playerTwoMiss() { }

function playerTwoSing() { ** currentPlayState.health-= (0.01);** FlxG.camera.shake(0.01, 0.08); (Camera shaking) gf.playAnim(‘scared’); (Scared Anim for GF) boyfriend.playAnim(‘scared’); (Scared Anim for BF) }

function playerOneTurn() { }

function playerOneMiss() { }

function playerOneSing() { }

Taken this of my mod’s modchart, delete the texts that explain everything for it to work.