Cosmic-Cryptid-Games / GrowingDepths

CMPUT 250 assignment
GNU General Public License v3.0
1 stars 0 forks source link

Add assist mode hooks #342

Closed modelarious closed 4 years ago

modelarious commented 4 years ago

You can use the functions $gamePlayer.updateAssistMode(numJumps, numDashes, takeDamage) to set the number of jumps/dashes/whether the player takes damage where numJumps and numDashes are both ints, takeDamage is a boolean. $gamePlayer.disableAssistMode() to reset everything back to normal.

examples: $gamePlayer.updateAssistMode(5, 6, true); would give the player 5 jumps, 6 dashes and they will take damage

commit against #327