diff options
| author | Arslaan Pathan <[email protected]> | 2025-06-12 20:04:50 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2025-06-12 20:04:50 +1200 |
| commit | 444e8e362dd5aad6f620f7b9bbd79d40a6393314 (patch) | |
| tree | ede6a8df47302ca5ae263b20c6a8a81ce9d50363 /assets/scripts/mainMenu.lua | |
| parent | aa49d54dc5e0e2a86f2973984df67ddae056d59a (diff) | |
| download | showdownofthesticks-444e8e362dd5aad6f620f7b9bbd79d40a6393314.tar.xz showdownofthesticks-444e8e362dd5aad6f620f7b9bbd79d40a6393314.zip | |
Add button stuff except for text!
Diffstat (limited to 'assets/scripts/mainMenu.lua')
| -rw-r--r-- | assets/scripts/mainMenu.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/scripts/mainMenu.lua b/assets/scripts/mainMenu.lua index 31f4a5e..2f6b342 100644 --- a/assets/scripts/mainMenu.lua +++ b/assets/scripts/mainMenu.lua @@ -6,8 +6,13 @@ function Setup() setBgImage("assets/backgrounds/city-background-1.png") end +function TestButtonFunction() + setBgImage("assets/gui/mainMenu_banner.png") +end + function Update() queueTextureForRender("assets/gui/mainMenu_banner.png", WIDTH // 2 - bannerTextureWidth // 2, 0) + queueButtonForRender("Local 2P", 0, 0, 100, 50, "TestButtonFunction"); -- if keys[getKeycodeByName("RIGHT")] or keys[getKeycodeByName("D")] then -- movePlayer(movementSpeed, 0) |
