From cc023d96d97f646bf699e4e8d61e8cfdeacba24e Mon Sep 17 00:00:00 2001 From: Carson Kompon Date: Sat, 22 May 2021 01:57:00 -0400 Subject: [PATCH] Changed getCamX/Y to getCameraX/Y There is no getCamX/Y, and causes the game to crash :p --- docs/modchart.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/docs/modchart.md b/docs/modchart.md index cc0316b..40a6a92 100644 --- a/docs/modchart.md +++ b/docs/modchart.md @@ -191,11 +191,11 @@ Returns the hud's y position Set's the current camera's position in space -##### getCamX() +##### getCameraX() Returns the current camera's x position -##### getCamY() +##### getCameraY() Returns the current camera's y position @@ -424,3 +424,34 @@ Smoothly fade in to an alpha ##### tweenFadeOut(string/int id, float toAlpha, float time, string onComplete) Smoothly fade out to an alpha + + + + + + +### Window & Screen + +##### getWindowX() + +Returns the window's x position + +##### getWindowY() + +Returns the window's y position + +##### getScreenWidth() + +Returns the width of the screen + +##### getScreenHeight() + +Returns the height of the screen + +##### setWindowPos(int x, int y) + +Sets the window's position + +##### resizeWindow(int width, int height) + +Resizes the window