Methods
MainMenu:drawAnimStrip(sprite: any, subimg: any, x: any, y: any, alpha: any)
Arguments:
| sprite: any | |
| subimg: any | |
| x: any | |
| y: any | |
| alpha: any |
Fields
Undocumented
MainMenu.animation_sine: number
Update background animation and alpha
MainMenu.background_image_wave: love.Image
Assets required for the background animation
MainMenu.fader: Fader
A Fader is an Object that can be used to fade the screen in and out, usually using the instance stored at Game.fader
Modifying the fader's width, height, x, and y values can make it only affect a portion of the screen
MainMenu.fader_alpha: integer
Initialize variables for the background animation
MainMenu.fader_alpha: integer
Change the fade opacity for the next frame
MainMenu.heart: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/.
MainMenu.heart_outline: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/.
MainMenu.music: unknown
Load menu music "mod_menu", 1, 0.95
MainMenu.stage: Stage
Initialize variables for the menu
MainMenu.state: string
Register states
MainMenu.title_screen: MainMenuTitle
Initialize all states