mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Added require_all method to replace explicitly requiring every source file, added SoundManager and sound effects, added sound for shield/health regen
This commit is contained in:
@@ -7,6 +7,7 @@ class IMICFPS
|
||||
@start_time = Gosu.milliseconds
|
||||
@time_to_live = 3_000
|
||||
|
||||
# SoundManager.sound_effect(SoundEffect::FadeIn, sound: SoundManager.sound("base", :shield_regen), duration: 3_000.0)
|
||||
window.needs_cursor = false
|
||||
end
|
||||
|
||||
@@ -32,6 +33,7 @@ class IMICFPS
|
||||
|
||||
@title.draw
|
||||
|
||||
fill(Gosu::Color.rgba(0,0,0, 255 * (1.2 - fraction_left)))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user