aboutsummaryrefslogtreecommitdiff
path: root/levels/menu.wren
diff options
context:
space:
mode:
authorIndrajith K L2021-08-03 02:22:07 +0530
committerIndrajith K L2021-08-03 02:22:07 +0530
commit5bd12d5a658c1cd710bc950be971ebe3993ed11d (patch)
tree9954a63ff72966aed9338419817507bc5b53fe3a /levels/menu.wren
parentf2e4f563661e5203f0531e37110d060b20b2f04c (diff)
downloadrebirth-wren-5bd12d5a658c1cd710bc950be971ebe3993ed11d.tar.gz
rebirth-wren-5bd12d5a658c1cd710bc950be971ebe3993ed11d.tar.bz2
rebirth-wren-5bd12d5a658c1cd710bc950be971ebe3993ed11d.zip
* Menu Screen
* SFX * Player Sprites
Diffstat (limited to 'levels/menu.wren')
-rw-r--r--levels/menu.wren25
1 files changed, 0 insertions, 25 deletions
diff --git a/levels/menu.wren b/levels/menu.wren
deleted file mode 100644
index dcc24e9..0000000
--- a/levels/menu.wren
+++ /dev/null
@@ -1,25 +0,0 @@
-import "graphics" for Canvas, Color
-import "./controls" for Controls
-import "config" for Config
-import "levels/level1" for Level1
-import "audio" for AudioEngine
-import "font" for Font
-
-class Menu {
- construct new(gameState) {
- __gameState = gameState
- var channel = AudioEngine.play("menu_music")
- channel.volume = 0.5
- Canvas.font = "font_medium"
- }
-
- update() {
- if(Controls.isKeyDown(Config.KeyboardConstants["SELECT"])) {
- __gameState.switch(Level1)
- }
- }
-
- draw(dt) {
- Canvas.print("REBIRTH",Config.W/2 - 40,Config.H/2 - 20, Color.white)
- }
-} \ No newline at end of file