line-em-up 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/line-em-up/loadout_window.rb +4 -1
- data/line-em-up/models/gl_background.rb +1 -1
- data/line-em-up/models/main.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f33876d8167fc4cd8f1c3c1bd218574cc020f630
|
4
|
+
data.tar.gz: 7d4007a5ea3fcbfea327cb0b169aff270fdea535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 639c64fd5a5b16ec65f574428f317058462368d19c306d6d1e7598920b17b21a592d2a842d6d01a2408ebee9c57447c38ccd4e702d2a0cf3966118e3b48fbff9
|
7
|
+
data.tar.gz: 50dc13ac2460dd1ddd5038c181b7465035aa4c44d5b86bef5d210de6c96c803a2bae70ac2482da025460f209495851e34d61d64d791edcbcb45a59fe12fc4090
|
@@ -144,6 +144,7 @@ class LoadoutWindow < Gosu::Window
|
|
144
144
|
@button_id_mapping = self.class.get_id_button_mapping(self)
|
145
145
|
# @loadout_button = LUIT::Button.new(self, :loadout, (@width / 2), get_center_font_ui_y, "Back To Menu", 0, 1)
|
146
146
|
@back_button = LUIT::Button.new(self, :back, (@width / 2), @height, "Back", 0, 1)
|
147
|
+
@movement_x, @movement_y = [0.0, 0.0]
|
147
148
|
end
|
148
149
|
|
149
150
|
def dynamic_get_resolution_fs
|
@@ -164,7 +165,9 @@ class LoadoutWindow < Gosu::Window
|
|
164
165
|
|
165
166
|
# @game_window_width, @game_window_height, @fullscreen = @resolution_menu.get_resolution
|
166
167
|
# @difficulty = @difficulty_menu.get_difficulty
|
167
|
-
@
|
168
|
+
# @movement_x += 1.0
|
169
|
+
@movement_y += 1.0
|
170
|
+
@movement_x, @movement_y = @gl_background.scroll(@scroll_factor, @movement_x, @movement_y)
|
168
171
|
end
|
169
172
|
|
170
173
|
def draw
|
@@ -152,7 +152,7 @@ class GLBackground
|
|
152
152
|
z = @height_map[y][x + 1]
|
153
153
|
# glColor4d(1, 1, 1, z)
|
154
154
|
glTexCoord2d(info.right, info.top)
|
155
|
-
puts "#{x}, #{offs_x}, #{POINTS_X}, #{y}, #{offs_y}, #{POINTS_Y}, #{z}"
|
155
|
+
# puts "#{x}, #{offs_x}, #{POINTS_X}, #{y}, #{offs_y}, #{POINTS_Y}, #{z}"
|
156
156
|
glVertex3d(-0.5 + (x - offs_x + 1.0) / (POINTS_X-1), -0.5 + (y - offs_y - 0.0) / (POINTS_Y-2), z)
|
157
157
|
|
158
158
|
z = @height_map[y+1][x + 1]
|
data/line-em-up/models/main.rb
CHANGED
@@ -118,7 +118,7 @@ class Main < Gosu::Window
|
|
118
118
|
{is_button: true, key: button_key}
|
119
119
|
)
|
120
120
|
|
121
|
-
|
121
|
+
@movement_x, @movement_y = [0.0, 0.0]
|
122
122
|
|
123
123
|
|
124
124
|
# @font.draw("<", width + 15, get_center_font_ui_y, 1, 1.0, 1.0, 0xff_ffff00)
|
@@ -138,7 +138,9 @@ class Main < Gosu::Window
|
|
138
138
|
|
139
139
|
@game_window_width, @game_window_height, @fullscreen = @resolution_menu.get_values
|
140
140
|
@difficulty = @difficulty_menu.get_values
|
141
|
-
@
|
141
|
+
# @movement_x += 0.0
|
142
|
+
@movement_y += 1.0
|
143
|
+
@movement_x, @movement_y = @gl_background.scroll(1, @movement_x, @movement_y)
|
142
144
|
end
|
143
145
|
|
144
146
|
def draw
|