line-em-up 0.4.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/line-em-up/game_window.rb +189 -52
  3. data/line-em-up/irb_requirements.rb +24 -2
  4. data/line-em-up/lib/config_setting.rb +126 -16
  5. data/line-em-up/lib/difficulty_setting.rb +64 -64
  6. data/line-em-up/lib/lighting.rb +143 -0
  7. data/line-em-up/lib/resolution_setting.rb +58 -58
  8. data/line-em-up/lib/setting.rb +104 -0
  9. data/line-em-up/lib/ship_loadout_setting.rb +476 -0
  10. data/line-em-up/lib/ship_setting.rb +98 -0
  11. data/line-em-up/lib/z_order.rb +1 -1
  12. data/line-em-up/loadout_window.rb +253 -0
  13. data/line-em-up/media/bullet_launcher_hardpoint.png +0 -0
  14. data/line-em-up/media/hardpoint_empty.png +0 -0
  15. data/line-em-up/media/header@2x.psd +0 -0
  16. data/line-em-up/media/laser-end-background-half.png +0 -0
  17. data/line-em-up/media/laser-end-background.png +0 -0
  18. data/line-em-up/media/laser-end-overlay-half.png +0 -0
  19. data/line-em-up/media/laser-end-overlay.png +0 -0
  20. data/line-em-up/media/laser-middle-background-half.png +0 -0
  21. data/line-em-up/media/laser-middle-background.png +0 -0
  22. data/line-em-up/media/laser-middle-overlay-half.png +0 -0
  23. data/line-em-up/media/laser-middle-overlay-short.png +0 -0
  24. data/line-em-up/media/laser-middle-overlay.png +0 -0
  25. data/line-em-up/media/laser-overlay-half.png +0 -0
  26. data/line-em-up/media/laser-overlay.png +0 -0
  27. data/line-em-up/media/laser-start-background-half.png +0 -0
  28. data/line-em-up/media/laser-start-background.png +0 -0
  29. data/line-em-up/media/laser-start-overlay-half.png +0 -0
  30. data/line-em-up/media/laser-start-overlay.png +0 -0
  31. data/line-em-up/media/laser_beam_hardpoint copy.png +0 -0
  32. data/line-em-up/media/laser_beam_hardpoint.png +0 -0
  33. data/line-em-up/media/line-em-up-resolution.png +0 -0
  34. data/line-em-up/media/menu/loadout.png +0 -0
  35. data/line-em-up/media/{start.png → menu/start.png} +0 -0
  36. data/line-em-up/media/missile_launcher.png +0 -0
  37. data/line-em-up/media/{spaceship.png → pilotable_ships/basic_ship/default.png} +0 -0
  38. data/line-em-up/media/{spaceship_original.png → pilotable_ships/basic_ship/large.png} +0 -0
  39. data/line-em-up/media/{spaceship_left.png → pilotable_ships/basic_ship/left.png} +0 -0
  40. data/line-em-up/media/pilotable_ships/basic_ship/left_broadside.png +0 -0
  41. data/line-em-up/media/pilotable_ships/basic_ship/original.png +0 -0
  42. data/line-em-up/media/{spaceship_right.png → pilotable_ships/basic_ship/right.png} +0 -0
  43. data/line-em-up/media/pilotable_ships/basic_ship/right_broadside.png +0 -0
  44. data/line-em-up/media/pilotable_ships/mite_ship/default.png +0 -0
  45. data/line-em-up/media/pilotable_ships/mite_ship/large.png +0 -0
  46. data/line-em-up/media/pilotable_ships/mite_ship/left.png +0 -0
  47. data/line-em-up/media/pilotable_ships/mite_ship/left_broadside.png +0 -0
  48. data/line-em-up/media/pilotable_ships/mite_ship/original.png +0 -0
  49. data/line-em-up/media/pilotable_ships/mite_ship/right.png +0 -0
  50. data/line-em-up/media/pilotable_ships/mite_ship/right_broadside.png +0 -0
  51. data/line-em-up/media/pilotable_ships/mite_ship.zip +0 -0
  52. data/line-em-up/models/basic_ship.rb +94 -0
  53. data/line-em-up/models/bomb.rb +1 -1
  54. data/line-em-up/models/building.rb +2 -2
  55. data/line-em-up/models/bullet.rb +127 -74
  56. data/line-em-up/models/bullet_launcher.rb +23 -0
  57. data/line-em-up/models/cursor.rb +37 -1
  58. data/line-em-up/models/dumb_missile_launcher.rb +40 -0
  59. data/line-em-up/models/dumb_projectile.rb +9 -2
  60. data/line-em-up/models/enemy_bomb.rb +1 -1
  61. data/line-em-up/models/enemy_bullet.rb +55 -0
  62. data/line-em-up/models/enemy_player.rb +1 -1
  63. data/line-em-up/models/execute_open_gl.rb +80 -0
  64. data/line-em-up/models/general_object.rb +82 -9
  65. data/line-em-up/models/gl_background.rb +103 -30
  66. data/line-em-up/models/grappling_hook.rb +1 -1
  67. data/line-em-up/models/hardpoint.rb +120 -0
  68. data/line-em-up/models/laser_launcher.rb +192 -0
  69. data/line-em-up/models/laser_particle.rb +133 -0
  70. data/line-em-up/models/launcher.rb +149 -0
  71. data/line-em-up/models/main.rb +119 -26
  72. data/line-em-up/models/menu.rb +43 -3
  73. data/line-em-up/models/menu_item.rb +25 -14
  74. data/line-em-up/models/missile_boat.rb +5 -4
  75. data/line-em-up/models/mite.rb +3 -2
  76. data/line-em-up/models/mite_ship.rb +61 -0
  77. data/line-em-up/models/mothership.rb +1 -1
  78. data/line-em-up/models/pickup.rb +2 -2
  79. data/line-em-up/models/pilotable_ship.rb +599 -0
  80. data/line-em-up/models/player.rb +207 -150
  81. data/line-em-up/models/projectile.rb +3 -24
  82. data/line-em-up/models/semi_guided_missile.rb +1 -1
  83. data/line-em-up/models/small_explosion.rb +2 -2
  84. data/line-em-up/models/star.rb +7 -2
  85. data/menu_launcher.rb +10 -6
  86. metadata +113 -10
  87. data/line-em-up/media/spaceship_left-test.png +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-em-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Dana
@@ -24,22 +24,36 @@ dependencies:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.3.10
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.12.2
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.12.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: gosu
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - '='
32
46
  - !ruby/object:Gem::Version
33
- version: 0.13.3
47
+ version: 0.14.5
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - '='
39
53
  - !ruby/object:Gem::Version
40
- version: 0.13.3
54
+ version: 0.14.5
41
55
  - !ruby/object:Gem::Dependency
42
- name: danabr75-opengl
56
+ name: opengl
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - '='
@@ -52,6 +66,48 @@ dependencies:
52
66
  - - '='
53
67
  - !ruby/object:Gem::Version
54
68
  version: 0.10.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: luit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.1.4
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.1.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: glu
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 8.3.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 8.3.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: glut
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 8.3.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 8.3.0
55
111
  description: A simple gosu test with a vertical-scrolling shooter
56
112
  email: benrdana@gmail.com
57
113
  executables:
@@ -64,9 +120,13 @@ files:
64
120
  - line-em-up/irb_requirements.rb
65
121
  - line-em-up/lib/config_setting.rb
66
122
  - line-em-up/lib/difficulty_setting.rb
123
+ - line-em-up/lib/lighting.rb
67
124
  - line-em-up/lib/resolution_setting.rb
68
125
  - line-em-up/lib/setting.rb
126
+ - line-em-up/lib/ship_loadout_setting.rb
127
+ - line-em-up/lib/ship_setting.rb
69
128
  - line-em-up/lib/z_order.rb
129
+ - line-em-up/loadout_window.rb
70
130
  - line-em-up/media/BrokenPNG.png
71
131
  - line-em-up/media/Cursor.png
72
132
  - line-em-up/media/JingleBells.mp3
@@ -106,6 +166,7 @@ files:
106
166
  - line-em-up/media/bullet-mini-reverse.png
107
167
  - line-em-up/media/bullet-mini.png
108
168
  - line-em-up/media/bullet.png
169
+ - line-em-up/media/bullet_launcher_hardpoint.png
109
170
  - line-em-up/media/chain.png
110
171
  - line-em-up/media/chain_original.png
111
172
  - line-em-up/media/cptn_ruby.png
@@ -130,6 +191,8 @@ files:
130
191
  - line-em-up/media/green_health_bar_7.png
131
192
  - line-em-up/media/green_health_bar_8.png
132
193
  - line-em-up/media/green_health_bar_9.png
194
+ - line-em-up/media/hardpoint_empty.png
195
+ - line-em-up/media/header@2x.psd
133
196
  - line-em-up/media/health_bar_0.png
134
197
  - line-em-up/media/health_bar_1.png
135
198
  - line-em-up/media/health_bar_10.png
@@ -161,13 +224,34 @@ files:
161
224
  - line-em-up/media/item_hover.png
162
225
  - line-em-up/media/landscape.svg
163
226
  - line-em-up/media/large_star.png
227
+ - line-em-up/media/laser-end-background-half.png
228
+ - line-em-up/media/laser-end-background.png
229
+ - line-em-up/media/laser-end-overlay-half.png
230
+ - line-em-up/media/laser-end-overlay.png
231
+ - line-em-up/media/laser-middle-background-half.png
232
+ - line-em-up/media/laser-middle-background.png
233
+ - line-em-up/media/laser-middle-overlay-half.png
234
+ - line-em-up/media/laser-middle-overlay-short.png
235
+ - line-em-up/media/laser-middle-overlay.png
236
+ - line-em-up/media/laser-overlay-half.png
237
+ - line-em-up/media/laser-overlay.png
238
+ - line-em-up/media/laser-start-background-half.png
239
+ - line-em-up/media/laser-start-background.png
240
+ - line-em-up/media/laser-start-overlay-half.png
241
+ - line-em-up/media/laser-start-overlay.png
242
+ - line-em-up/media/laser_beam_hardpoint copy.png
243
+ - line-em-up/media/laser_beam_hardpoint.png
164
244
  - line-em-up/media/laserbolt.png
245
+ - line-em-up/media/line-em-up-resolution.png
246
+ - line-em-up/media/menu/loadout.png
247
+ - line-em-up/media/menu/start.png
165
248
  - line-em-up/media/mini_missile.png
166
249
  - line-em-up/media/mini_missile_reverse.png
167
250
  - line-em-up/media/missile.png
168
251
  - line-em-up/media/missile_boat.png
169
252
  - line-em-up/media/missile_boat_original.png
170
253
  - line-em-up/media/missile_boat_reverse.png
254
+ - line-em-up/media/missile_launcher.png
171
255
  - line-em-up/media/missile_original.png
172
256
  - line-em-up/media/missile_pack.png
173
257
  - line-em-up/media/missile_pack_hud.png
@@ -177,6 +261,21 @@ files:
177
261
  - line-em-up/media/mite_original.png
178
262
  - line-em-up/media/mothership.png
179
263
  - line-em-up/media/mothership_original.png
264
+ - line-em-up/media/pilotable_ships/basic_ship/default.png
265
+ - line-em-up/media/pilotable_ships/basic_ship/large.png
266
+ - line-em-up/media/pilotable_ships/basic_ship/left.png
267
+ - line-em-up/media/pilotable_ships/basic_ship/left_broadside.png
268
+ - line-em-up/media/pilotable_ships/basic_ship/original.png
269
+ - line-em-up/media/pilotable_ships/basic_ship/right.png
270
+ - line-em-up/media/pilotable_ships/basic_ship/right_broadside.png
271
+ - line-em-up/media/pilotable_ships/mite_ship.zip
272
+ - line-em-up/media/pilotable_ships/mite_ship/default.png
273
+ - line-em-up/media/pilotable_ships/mite_ship/large.png
274
+ - line-em-up/media/pilotable_ships/mite_ship/left.png
275
+ - line-em-up/media/pilotable_ships/mite_ship/left_broadside.png
276
+ - line-em-up/media/pilotable_ships/mite_ship/original.png
277
+ - line-em-up/media/pilotable_ships/mite_ship/right.png
278
+ - line-em-up/media/pilotable_ships/mite_ship/right_broadside.png
180
279
  - line-em-up/media/progress_bar_0.png
181
280
  - line-em-up/media/progress_bar_1.png
182
281
  - line-em-up/media/progress_bar_10.png
@@ -207,36 +306,38 @@ files:
207
306
  - line-em-up/media/smoke.png
208
307
  - line-em-up/media/soldier.png
209
308
  - line-em-up/media/space.png
210
- - line-em-up/media/spaceship.png
211
- - line-em-up/media/spaceship_left-test.png
212
- - line-em-up/media/spaceship_left.png
213
- - line-em-up/media/spaceship_original.png
214
- - line-em-up/media/spaceship_right.png
215
309
  - line-em-up/media/star.png
216
310
  - line-em-up/media/starfighter.bmp
217
311
  - line-em-up/media/starfighterv2.bmp
218
312
  - line-em-up/media/starfighterv4.png
219
- - line-em-up/media/start.png
220
313
  - line-em-up/media/tileset.png
221
314
  - line-em-up/media/tiny_missile.png
222
315
  - line-em-up/media/vera.ttf
316
+ - line-em-up/models/basic_ship.rb
223
317
  - line-em-up/models/bomb.rb
224
318
  - line-em-up/models/bomb_pack.rb
225
319
  - line-em-up/models/building.rb
226
320
  - line-em-up/models/bullet.rb
321
+ - line-em-up/models/bullet_launcher.rb
227
322
  - line-em-up/models/bullet_open_gl_backup.rb
228
323
  - line-em-up/models/cursor.rb
324
+ - line-em-up/models/dumb_missile_launcher.rb
229
325
  - line-em-up/models/dumb_projectile.rb
230
326
  - line-em-up/models/enemy_bomb.rb
231
327
  - line-em-up/models/enemy_bullet.rb
232
328
  - line-em-up/models/enemy_player.rb
329
+ - line-em-up/models/execute_open_gl.rb
233
330
  - line-em-up/models/footer_bar.rb
234
331
  - line-em-up/models/general_object.rb
235
332
  - line-em-up/models/gl_background.rb
236
333
  - line-em-up/models/grappling_hook.rb
237
334
  - line-em-up/models/guidable_torpedo.rb
335
+ - line-em-up/models/hardpoint.rb
238
336
  - line-em-up/models/health_pack.rb
239
337
  - line-em-up/models/horizontal_swarm.rb
338
+ - line-em-up/models/laser_launcher.rb
339
+ - line-em-up/models/laser_particle.rb
340
+ - line-em-up/models/launcher.rb
240
341
  - line-em-up/models/main.rb
241
342
  - line-em-up/models/menu.rb
242
343
  - line-em-up/models/menu_item.rb
@@ -244,8 +345,10 @@ files:
244
345
  - line-em-up/models/missile_boat.rb
245
346
  - line-em-up/models/missile_pack.rb
246
347
  - line-em-up/models/mite.rb
348
+ - line-em-up/models/mite_ship.rb
247
349
  - line-em-up/models/mothership.rb
248
350
  - line-em-up/models/pickup.rb
351
+ - line-em-up/models/pilotable_ship.rb
249
352
  - line-em-up/models/player.rb
250
353
  - line-em-up/models/projectile.rb
251
354
  - line-em-up/models/rocket_launcher_pickup.rb