diff options
| author | realtradam <[email protected]> | 2022-01-22 00:02:26 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-01-22 00:02:26 -0500 |
| commit | 967dd3f04edc4c69d412b3d287f046cdf9270c81 (patch) | |
| tree | d610fa737523eaf124699e356abe1eb613bb23fa /game/main.rb | |
| parent | 253d04b86952b021370eec7957784719900cb3ef (diff) | |
| download | FelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.tar.gz FelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.zip | |
fixed audio of web export
Diffstat (limited to 'game/main.rb')
| -rw-r--r-- | game/main.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/game/main.rb b/game/main.rb index f8731fd..1bbad88 100644 --- a/game/main.rb +++ b/game/main.rb @@ -1,9 +1,6 @@ text = "Our poggies game engine :^)" Rl.init_window(600, 600, text) -puts 'init audio device' -#Rl.init_audio_device -puts 'it was init\'ed' Rl.target_fps = 60 color = Rl::Color.new(200,50,50,255) @@ -36,7 +33,6 @@ puts "#{pause_champ.w} #{pause_champ.h}" collect_this_texture = Rl::Texture.new("./assets/PauseChamp.png") collect_this_texture = nil -boop = Rl::Sound.new("./assets/boop.wav") # FelECS test FECS::Cmp.new('Yep', x: 3) @@ -57,6 +53,10 @@ Rl.while_window_open do end if Rl.mouse_button_pressed? 0 + puts 'init audio device' + Rl.init_audio_device + puts 'it was init\'ed' + boop = Rl::Sound.new("./assets/boop.wav") puts "Blend Mode: #{blend_mode += 1}" end |
