aboutsummaryrefslogtreecommitdiff
path: root/levels/level1.wren
diff options
context:
space:
mode:
authorIndrajith K L2021-08-02 17:10:03 +0530
committerIndrajith K L2021-08-02 17:10:03 +0530
commitf2e4f563661e5203f0531e37110d060b20b2f04c (patch)
tree5d393d164896b9272dbfd85ec9cbbf24ef9c9769 /levels/level1.wren
parent7d988900e2f73992fea504419d61d4cdf759fedf (diff)
downloadrebirth-wren-f2e4f563661e5203f0531e37110d060b20b2f04c.tar.gz
rebirth-wren-f2e4f563661e5203f0531e37110d060b20b2f04c.tar.bz2
rebirth-wren-f2e4f563661e5203f0531e37110d060b20b2f04c.zip
* Adds Music Management
* Code Refactoring * Adds Fonts
Diffstat (limited to 'levels/level1.wren')
-rw-r--r--levels/level1.wren7
1 files changed, 5 insertions, 2 deletions
diff --git a/levels/level1.wren b/levels/level1.wren
index c485924..83d626f 100644
--- a/levels/level1.wren
+++ b/levels/level1.wren
@@ -1,9 +1,12 @@
import "./level_map" for LevelMap
+import "audio" for AudioEngine
class Level1 {
- construct new() {
+ construct new(gameState) {
_level1 = LevelMap.new("level1")
+ var channel = AudioEngine.play("level1_bg")
+ channel.volume = 0.2
}
-
+
update() {
}