This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
forked from FunkinCrew/Funkin
-
Notifications
You must be signed in to change notification settings - Fork 594
Global Variables
Kade M edited this page Jun 16, 2021
·
3 revisions
G Name | Type | Description |
---|---|---|
bpm | Float | The current BPM of the song |
fpsCap | Int | The current FPS Cap (set by the player) |
downscroll | Bool | Whether the player is in downscroll or not |
cameraAngle | Float | The angle that the Main Camera should be rotated |
camHudAngle | Float | The angle that the Hud should be rotated |
followXOffset | Float | The x offset to be added when the camera moves between a character |
followYOffset | Float | The y offset to be added when the camera moves between a character |
showOnlyStrums | Bool | Whether to show the Hud and Strums or only the Strums |
strumLine1Visible | Bool | Whether to show the first strum line or not |
strumLine2Visible | Bool | Whether to show the secondstrum line or not |
defaultStrum0-7X | Float | (0-7 is strum0,strum1,strum2,etc) get the default X coordinate for the strum |
defaultStrum0-7Y | Float | (0-7 is strum0,strum1,strum2,etc) get the default Y coordinate for the strum |
defaultStrum0-7Angle | Float | (0-7 is strum0,strum1,strum2,etc) get the default Angle for the strum |
screenWidth | Int | The width of the current gamespace |
screenHeight | Int | The height of the current gamespace |
hudWidth | Int | The width of the hud |
hudHeight | Int | The height of the hud |
scrollSpeed | Float | The current scrollspeed |
mustHit | Bool | If the current section is a must hit section |
strumLineY | Float | The current Strum Line Y Position |