bestguigui_lab 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b673ef4e8872e5d7caf22b1ff79292179b2218c4cc7b52c2caafba484d6b268
|
|
4
|
+
data.tar.gz: beb55c5d96030f481f50400880e4fe03fab15c7a84b176d289d2697947ba38c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e84c4e95875f7dec3e34190e852c50bf61fe909799507cf0f6b47f98d50b780b561a93fd6fc95616019fb41a40f71ce9ac4d4a98f46aba29d79a64edbd4c678a
|
|
7
|
+
data.tar.gz: 2d5c2e7de99e3025b7e1b97cadd48c8881bdf79bcf568dec299a9ae4a135a6e1eced058c1d508c5567c26a7df39cdd6e6420321905eae7a185ae11794d5c48aa
|
|
Binary file
|
|
@@ -125,6 +125,10 @@ module Bestguigui
|
|
|
125
125
|
HOLD = 1.2
|
|
126
126
|
FADE_OUT = 0.6
|
|
127
127
|
|
|
128
|
+
JINGLE_PATH = File.join(__dir__, 'assets', 'splash_jingle.wav')
|
|
129
|
+
|
|
130
|
+
def self.jingle = @jingle ||= Gosu::Sample.new(JINGLE_PATH)
|
|
131
|
+
|
|
128
132
|
def initialize(window, title:, next_scene:)
|
|
129
133
|
super(window)
|
|
130
134
|
@title = title
|
|
@@ -134,6 +138,7 @@ module Bestguigui
|
|
|
134
138
|
@subtitle_font = Assets.font(size: 24)
|
|
135
139
|
@gosu_font = Assets.font(size: 36)
|
|
136
140
|
@elapsed = 0.0
|
|
141
|
+
self.class.jingle.play
|
|
137
142
|
end
|
|
138
143
|
|
|
139
144
|
def update(dt)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bestguigui_lab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bestguigui
|
|
@@ -44,6 +44,7 @@ files:
|
|
|
44
44
|
- lib/bestguigui_lab.rb
|
|
45
45
|
- lib/bestguigui_lab/animation.rb
|
|
46
46
|
- lib/bestguigui_lab/assets.rb
|
|
47
|
+
- lib/bestguigui_lab/assets/splash_jingle.wav
|
|
47
48
|
- lib/bestguigui_lab/gl_texture.rb
|
|
48
49
|
- lib/bestguigui_lab/helpers.rb
|
|
49
50
|
- lib/bestguigui_lab/image_pixels.rb
|