From 190670c3b23d00d3eb311a8dbdfadc80d16a694e Mon Sep 17 00:00:00 2001 From: craftersshaft Date: Thu, 27 May 2021 14:25:46 -0400 Subject: [PATCH] My Bad --- docs/modchart.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/modchart.md b/docs/modchart.md index f6f9947..40c7b14 100644 --- a/docs/modchart.md +++ b/docs/modchart.md @@ -32,6 +32,10 @@ function stepHit (step) -- do nothing end +function keyPressed (key) + -- do nothing +end + print("Mod Chart script loaded :)") ``` @@ -146,7 +150,6 @@ Kade Engine provides a list of global variables to be used in the lua scripting | scrollSpeed | Int | The current scrollspeed | | mustHit | Bool | If the current section is a must hit section | | strumLineY | Float | The current Strum Line Y Position | -| health | Float | The current health of the player | ## Functions @@ -437,6 +440,13 @@ Smoothly fade in to an alpha Smoothly fade out to an alpha +##### changeBoyfriendCharacter(string id) + +Changes the Boyfriend sprite to another character + +##### changeDadCharacter(string id) + +Changes the Dad sprite to another character @@ -467,11 +477,3 @@ Sets the window's position ##### resizeWindow(int width, int height) Resizes the window - - -### Misc - -##### setHealth(float heal) - -Sets the player's health -