gamebox 0.4.0.rc5 → 0.4.0.rc11

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.
Files changed (93) hide show
  1. data/README.md +205 -127
  2. data/bin/gamebox +49 -3
  3. data/bin/gb +87 -0
  4. data/gamebox.gemspec +4 -3
  5. data/lib/gamebox.rb +1 -1
  6. data/lib/gamebox/actors/collidable_debugger.rb +4 -4
  7. data/lib/gamebox/actors/icon.rb +7 -0
  8. data/lib/gamebox/actors/label.rb +41 -42
  9. data/lib/gamebox/behaviors/animated.rb +6 -0
  10. data/lib/gamebox/behaviors/audible.rb +1 -2
  11. data/lib/gamebox/behaviors/collidable.rb +1 -1
  12. data/lib/gamebox/behaviors/graphical.rb +8 -4
  13. data/lib/gamebox/behaviors/physical.rb +6 -1
  14. data/lib/gamebox/behaviors/positioned.rb +4 -11
  15. data/lib/gamebox/behaviors/projectile.rb +8 -0
  16. data/lib/gamebox/behaviors/visible.rb +3 -3
  17. data/lib/gamebox/core/aabb_tree.rb +1 -1
  18. data/lib/gamebox/core/actor.rb +37 -50
  19. data/lib/gamebox/core/actor_definition.rb +41 -0
  20. data/lib/gamebox/core/actor_view.rb +6 -21
  21. data/lib/gamebox/core/actor_view_definition.rb +19 -0
  22. data/lib/gamebox/core/actor_view_factory.rb +9 -3
  23. data/lib/gamebox/core/behavior.rb +8 -27
  24. data/lib/gamebox/core/behavior_definition.rb +24 -0
  25. data/lib/gamebox/core/config_manager.rb +45 -30
  26. data/lib/gamebox/core/configuration.rb +5 -0
  27. data/lib/gamebox/core/core.rb +4 -0
  28. data/lib/gamebox/core/debug_helpers.rb +46 -0
  29. data/lib/gamebox/core/director.rb +32 -5
  30. data/lib/gamebox/core/event_symbols.rb +214 -0
  31. data/lib/gamebox/core/game.rb +1 -1
  32. data/lib/gamebox/core/input_manager.rb +1 -4
  33. data/lib/gamebox/core/input_mapper.rb +85 -0
  34. data/lib/gamebox/core/physics.rb +7 -3
  35. data/lib/gamebox/core/physics_manager.rb +5 -1
  36. data/lib/gamebox/core/renderer.rb +72 -0
  37. data/lib/gamebox/core/stage.rb +25 -81
  38. data/lib/gamebox/core/stage_definition.rb +60 -0
  39. data/lib/gamebox/core/stage_factory.rb +56 -0
  40. data/lib/gamebox/core/stage_manager.rb +5 -11
  41. data/lib/gamebox/core/timer_manager.rb +6 -2
  42. data/lib/gamebox/core/viewport.rb +12 -5
  43. data/lib/gamebox/core/wrapped_screen.rb +8 -5
  44. data/lib/gamebox/gamebox_application.rb +21 -19
  45. data/lib/gamebox/lib/array_ext.rb +9 -0
  46. data/lib/gamebox/lib/observable_attributes.rb +24 -0
  47. data/lib/gamebox/lib/vector2.rb +432 -0
  48. data/lib/gamebox/post_setup_handlers/file_watcher.rb +37 -0
  49. data/lib/gamebox/post_setup_handlers/gamebox_debug_helpers.rb +13 -0
  50. data/lib/gamebox/post_setup_handlers/pry_remote_server.rb +29 -0
  51. data/lib/gamebox/spec/helper.rb +165 -17
  52. data/lib/gamebox/tasks/gamebox_tasks.rake +27 -12
  53. data/lib/gamebox/version.rb +1 -1
  54. data/lib/gamebox/views/graphical_actor_view.rb +4 -5
  55. data/script/perf_aabb.rb +13 -8
  56. data/spec/acceptance/animation_spec.rb +1 -3
  57. data/spec/acceptance/basic_actor_lifecycle_spec.rb +1 -1
  58. data/spec/acceptance/fps_actor_spec.rb +8 -12
  59. data/spec/acceptance/input_mapper_spec.rb +17 -24
  60. data/spec/acceptance/update_ordering_spec.rb +64 -0
  61. data/spec/actors/label_spec.rb +90 -5
  62. data/spec/behaviors/animated_spec.rb +1 -1
  63. data/spec/behaviors/collidable_spec.rb +7 -15
  64. data/spec/behaviors/positioned_spec.rb +12 -5
  65. data/spec/core/actor_spec.rb +31 -3
  66. data/spec/core/actor_view_spec.rb +1 -1
  67. data/spec/core/behavior_spec.rb +3 -0
  68. data/spec/core/configuration_spec.rb +49 -2
  69. data/spec/core/input_mapper_spec.rb +7 -0
  70. data/spec/core/renderer_spec.rb +89 -0
  71. data/spec/core/stage_definition_spec.rb +41 -0
  72. data/spec/core/stage_manager_spec.rb +11 -11
  73. data/spec/core/stage_spec.rb +38 -78
  74. data/spec/core/viewport_spec.rb +5 -2
  75. data/spec/core/wrapped_screen_spec.rb +18 -12
  76. data/spec/views/graphical_actor_view_spec.rb +33 -62
  77. data/templates/actor_template.erb +11 -0
  78. data/templates/app/README.md +1 -0
  79. data/templates/app/src/actors/{player.rb → player_actor.rb} +3 -1
  80. data/templates/app/src/behaviors/.gitkeep +0 -0
  81. data/templates/app/src/stages/demo_stage.rb +14 -0
  82. data/templates/behavior_template.erb +13 -0
  83. data/templates/stage_template.erb +13 -0
  84. metadata +60 -21
  85. data/component_generators/actor_generator.rb +0 -17
  86. data/lib/gamebox/actors/emitter.rb +0 -12
  87. data/lib/gamebox/behaviors/emitting.rb +0 -48
  88. data/lib/gamebox/behaviors/input_mapper.rb +0 -11
  89. data/lib/gamebox/lib/ftor.rb +0 -372
  90. data/spec/actors/emitter_spec.rb +0 -5
  91. data/templates/app/NEXT_STEPS.txt +0 -1
  92. data/templates/app/README.rdoc +0 -24
  93. data/templates/app/src/demo_stage.rb +0 -7
@@ -8,8 +8,11 @@ class Vec
8
8
  end
9
9
  end
10
10
 
11
- describe 'A new viewport' do
12
- subject { Viewport.new 800, 600 }
11
+ describe Viewport do
12
+ inject_mocks :config_manager
13
+ before do
14
+ @config_manager.stubs(:[]).with(:screen_resolution).returns([800, 600])
15
+ end
13
16
 
14
17
  it 'should construct with width and height' do
15
18
  subject.width.should == 800
@@ -3,24 +3,30 @@ require 'helper'
3
3
  describe WrappedScreen do
4
4
  inject_mocks :config_manager
5
5
 
6
- describe "#setup" do
7
- before do
8
- @config_manager.stubs(:[]).with(:screen_resolution).returns [800,555]
9
- @config_manager.stubs(:[]).with(:fullscreen).returns false
10
- @config_manager.stubs(:[]).with(:title).returns "Some Title!"
11
- @config_manager.stubs(:[]).with(:needs_cursor).returns nil
12
-
13
- @gosu_window = stub('gosu window')
14
- HookedGosuWindow.stubs(:new).with(800, 555, false).returns @gosu_window
15
- end
6
+ before do
7
+ @config_manager.stubs(:[]).with(:screen_resolution).returns [800,555]
8
+ @config_manager.stubs(:[]).with(:fullscreen).returns false
9
+
10
+ @gosu_window = stub('gosu window', :caption= => nil, :needs_cursor= => nil)
11
+ HookedGosuWindow.stubs(:new).with(800, 555, false).returns @gosu_window
12
+ end
16
13
 
14
+ describe "#setup" do
17
15
  it 'creates a new Gosu Window with opts from config manager' do
18
16
 
19
- @gosu_window.expects(:caption=).with("Some Title!")
20
- @gosu_window.expects(:needs_cursor=).with(nil)
17
+ @gosu_window.expects(:caption=).with(Gamebox.configuration.game_name)
18
+ @gosu_window.expects(:needs_cursor=).with(Gamebox.configuration.needs_cursor?)
21
19
 
22
20
  subject.screen.should == @gosu_window
23
21
  end
24
22
  end
23
+
24
+ describe "#draw_rotated_image" do
25
+ it 'passes the args along to the image to draw itself' do
26
+ image = mock
27
+ image.expects(:draw_rot).with(:x, :y, :z, :angle, :cx, :cy, :sx, :sy, :color, :mode)
28
+ subject.draw_rotated_image(image, :x, :y, :z, :angle, :cx, :cy, :sx, :sy, :color, :mode)
29
+ end
30
+ end
25
31
  end
26
32
 
@@ -1,38 +1,24 @@
1
1
  require 'helper'
2
2
 
3
3
  describe :graphical_actor_view do
4
- # TODO this subjet construction is WAY off now
5
- let!(:subcontext) do
6
- it = nil
7
- Conject.default_object_context.in_subcontext{|ctx|it = ctx};
8
- _mocks = create_mocks *(Actor.object_definition.component_names + ActorView.object_definition.component_names - [:actor])
9
- _mocks[:this_object_context] = it
10
- _mocks.each do |k,v|
11
- it[k] = v
12
- end
13
- it
14
- end
15
- subject { subcontext[:actor_view_factory].build actor, {} }
16
- let(:actor) do
17
- subcontext[:actor].tap do |a|
18
- a.has_attribute :view, :graphical_actor_view
19
- a.has_attribute :x, 2
20
- a.has_attribute :y, 3
21
- a.has_attribute :image, image
22
- a.has_attribute :tiled
23
- a.has_attribute :num_x_tiles
24
- a.has_attribute :num_y_tiles
25
- end
26
- end
4
+ let(:image) { stub('image', width: 10, height: 20) }
5
+ let(:actor) { @actor }
27
6
 
28
- let(:image) { stub('image', width: 10, height: 20, draw:nil) }
7
+ subjectify_actor_view(:graphical_actor_view)
29
8
 
30
9
  before do
31
- # inject mocks hack
32
- @actor = actor
33
- @stage.stub_everything
10
+ actor_stubs actor,
11
+ view: :graphical_actor_view,
12
+ x: 2,
13
+ y: 3,
14
+ tiled: nil,
15
+ num_x_tiles: nil,
16
+ num_y_tiles: nil,
17
+ do_or_do_not: nil
18
+
34
19
  end
35
20
 
21
+
36
22
  describe "#draw" do
37
23
  context "no image" do
38
24
  it 'does nothing if actor has no image' do
@@ -42,27 +28,18 @@ describe :graphical_actor_view do
42
28
 
43
29
  context "with image" do
44
30
  before do
31
+ actor_stubs actor, image: image
45
32
  Color.stubs(:new).returns :color
46
- actor.stubs(:image).returns(image)
47
33
  end
48
34
 
49
35
  it 'creates the color with the correct alpha' do
36
+ image.stubs(draw: nil)
50
37
  Color.expects(:new).with(0xFF, 0xFF, 0xFF, 0xFF).returns(:full_color)
51
38
  subject.draw(:target, 0, 0, 0)
52
39
  end
53
40
 
54
- it 'handles rotation correctly for physical actors' do
55
- actor.stubs(:is?).with(:physical).returns(true)
56
- actor.stubs(:rotation).returns(1.3)
57
-
58
- image.expects(:draw_rot).with(2, 3, 1, 1.3, 0.5, 0.5, 1, 1, :color)
59
- subject.draw(:target, 0, 0, 1)
60
- end
61
-
62
41
  it 'translates using the offsets passed in' do
63
- actor.stubs(:is?).with(:physical).returns(true)
64
- actor.stubs(:rotation).returns(1.3)
65
-
42
+ actor_stubs actor, rotation: 1.3
66
43
  image.expects(:draw_rot).with(4, 6, 1, 1.3, 0.5, 0.5, 1, 1, :color)
67
44
  subject.draw(:target, 2, 3, 1)
68
45
  end
@@ -73,39 +50,33 @@ describe :graphical_actor_view do
73
50
  end
74
51
 
75
52
  it 'handles rotation correctly for plain actors w/ rotation' do
76
- actor.stubs(:rotation).returns(1.3)
53
+ actor_stubs actor, rotation: 1.3
77
54
  image.expects(:draw_rot).with(2, 3, 1, 1.3, 0.5, 0.5, 1, 1, :color)
78
55
  subject.draw(:target, 0, 0, 1)
79
56
  end
80
57
 
81
- it 'handles nil rotation' do
82
- actor.stubs(:rotation).returns(nil)
83
- image.expects(:draw_rot).with(2, 3, 1, 0.0, 0.5, 0.5, 1, 1, :color)
84
- subject.draw(:target, 0, 0, 1)
85
- end
86
-
87
58
  it 'scales the image correctly' do
88
- actor.stubs(:rotation).returns(nil)
89
- actor.stubs(:x_scale).returns(2)
90
- actor.stubs(:y_scale).returns(3)
59
+ actor_stubs actor,
60
+ rotation: 3,
61
+ x_scale: 2,
62
+ y_scale: 3
91
63
 
92
- image.expects(:draw_rot).with(2, 3, 1, 0.0, 0.5, 0.5, 2, 3, :color)
64
+ image.expects(:draw_rot).with(2, 3, 1, 3, 0.5, 0.5, 2, 3, :color)
93
65
  subject.draw(:target, 0, 0, 1)
94
66
  end
95
67
 
96
68
  it 'draws correctly for tiled graphical actors' do
97
- actor.stubs(:rotation).returns(0.0)
98
- actor.stubs(:is?).with(:graphical).returns(true)
99
- actor.stubs(:tiled).returns(true)
100
- actor.stubs(:num_x_tiles).returns(2)
101
- actor.stubs(:num_y_tiles).returns(3)
102
-
103
- image.expects(:draw_rot).with(2, 3, 1, 0.0, 1, 1)
104
- image.expects(:draw_rot).with(2, 23, 1, 0.0, 1, 1)
105
- image.expects(:draw_rot).with(2, 43, 1, 0.0, 1, 1)
106
- image.expects(:draw_rot).with(12, 3, 1, 0.0, 1, 1)
107
- image.expects(:draw_rot).with(12, 23, 1, 0.0, 1, 1)
108
- image.expects(:draw_rot).with(12, 43, 1, 0.0, 1, 1)
69
+ actor_stubs actor,
70
+ tiled: true,
71
+ num_x_tiles: 2,
72
+ num_y_tiles: 3
73
+
74
+ image.expects(:draw).with(2, 3, 1, 1, 1)
75
+ image.expects(:draw).with(2, 23, 1, 1, 1)
76
+ image.expects(:draw).with(2, 43, 1, 1, 1)
77
+ image.expects(:draw).with(12, 3, 1, 1, 1)
78
+ image.expects(:draw).with(12, 23, 1, 1, 1)
79
+ image.expects(:draw).with(12, 43, 1, 1, 1)
109
80
 
110
81
  subject.draw(:target, 0, 0, 1)
111
82
  end
@@ -0,0 +1,11 @@
1
+ define_actor :<%= @actor_name %> do
2
+ has_behavior :positioned
3
+
4
+ view do
5
+ draw do |target, x_off, y_off, z|
6
+ x = actor.x + x_off
7
+ y = actor.y + y_off
8
+ target.draw_box x,y, x+20, y+20, Color::RED, 1
9
+ end
10
+ end
11
+ end
@@ -0,0 +1 @@
1
+ # Game created by Gamebox
@@ -2,7 +2,9 @@ define_actor :player do
2
2
  has_behavior :positioned
3
3
  view do
4
4
  draw do |target, x_off, y_off, z|
5
- target.draw_box actor.x,actor.y, 20, 20, Color::RED, 1
5
+ x = actor.x + x_off
6
+ y = actor.y + y_off
7
+ target.draw_box x,y, x+20, y+20, Color::RED, 1
6
8
  end
7
9
  end
8
10
  end
File without changes
@@ -0,0 +1,14 @@
1
+ define_stage :demo do
2
+ # render_with :my_renderer
3
+
4
+ curtain_up do
5
+ @player = spawn :player, x: 10, y:30
6
+ end
7
+
8
+ # helpers do
9
+ # include MyHelpers
10
+ # def help
11
+ # ...
12
+ # end
13
+ # end
14
+ end
@@ -0,0 +1,13 @@
1
+ define_behavior :<%= @behavior_name %> do
2
+ requires :director
3
+
4
+ setup do
5
+ director.when :update do |time|
6
+
7
+ end
8
+ end
9
+
10
+ helpers do
11
+
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ define_stage :<%= @stage_name %> do
2
+ curtain_up do
3
+
4
+ end
5
+
6
+ curtain_down do
7
+
8
+ end
9
+
10
+ helpers do
11
+
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.rc5
4
+ version: 0.4.0.rc11
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-06-22 00:00:00.000000000 Z
14
+ date: 2013-04-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: gosu
@@ -52,7 +52,7 @@ dependencies:
52
52
  requirements:
53
53
  - - ! '>='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.0.5
55
+ version: 0.0.8
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ! '>='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.0.5
63
+ version: 0.0.8
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: tween
66
66
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +100,7 @@ dependencies:
100
100
  requirements:
101
101
  - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.15.2
103
+ version: 0.14.6
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ dependencies:
108
108
  requirements:
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
- version: 0.15.2
111
+ version: 0.14.6
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: require_all
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -132,7 +132,7 @@ dependencies:
132
132
  requirements:
133
133
  - - ! '>='
134
134
  - !ruby/object:Gem::Version
135
- version: 0.0.2
135
+ version: 0.1.0
136
136
  type: :runtime
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
@@ -140,7 +140,23 @@ dependencies:
140
140
  requirements:
141
141
  - - ! '>='
142
142
  - !ruby/object:Gem::Version
143
- version: 0.0.2
143
+ version: 0.1.0
144
+ - !ruby/object:Gem::Dependency
145
+ name: listen
146
+ requirement: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: 0.5.3
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: 0.5.3
144
160
  - !ruby/object:Gem::Dependency
145
161
  name: pry
146
162
  requirement: !ruby/object:Gem::Requirement
@@ -321,6 +337,7 @@ description: Framework for building and distributing games using Gosu
321
337
  email: shawn42@gmail.com
322
338
  executables:
323
339
  - gamebox
340
+ - gb
324
341
  extensions: []
325
342
  extra_rdoc_files: []
326
343
  files:
@@ -329,7 +346,7 @@ files:
329
346
  - Rakefile
330
347
  - TODO.txt
331
348
  - bin/gamebox
332
- - component_generators/actor_generator.rb
349
+ - bin/gb
333
350
  - docs/CODE_REVIEW
334
351
  - docs/REFACTOR_NOTES.txt
335
352
  - docs/gamebox.bat
@@ -339,8 +356,8 @@ files:
339
356
  - lib/gamebox.rb
340
357
  - lib/gamebox/actors/collidable_debugger.rb
341
358
  - lib/gamebox/actors/curtain.rb
342
- - lib/gamebox/actors/emitter.rb
343
359
  - lib/gamebox/actors/fps.rb
360
+ - lib/gamebox/actors/icon.rb
344
361
  - lib/gamebox/actors/label.rb
345
362
  - lib/gamebox/actors/logo.rb
346
363
  - lib/gamebox/actors/score.rb
@@ -352,9 +369,7 @@ files:
352
369
  - lib/gamebox/behaviors/collidable/circle_collidable.rb
353
370
  - lib/gamebox/behaviors/collidable/collidable_shape.rb
354
371
  - lib/gamebox/behaviors/collidable/polygon_collidable.rb
355
- - lib/gamebox/behaviors/emitting.rb
356
372
  - lib/gamebox/behaviors/graphical.rb
357
- - lib/gamebox/behaviors/input_mapper.rb
358
373
  - lib/gamebox/behaviors/layered.rb
359
374
  - lib/gamebox/behaviors/physical.rb
360
375
  - lib/gamebox/behaviors/positioned.rb
@@ -365,29 +380,38 @@ files:
365
380
  - lib/gamebox/core/aabb_node.rb
366
381
  - lib/gamebox/core/aabb_tree.rb
367
382
  - lib/gamebox/core/actor.rb
383
+ - lib/gamebox/core/actor_definition.rb
368
384
  - lib/gamebox/core/actor_factory.rb
369
385
  - lib/gamebox/core/actor_view.rb
386
+ - lib/gamebox/core/actor_view_definition.rb
370
387
  - lib/gamebox/core/actor_view_factory.rb
371
388
  - lib/gamebox/core/arbiter.rb
372
389
  - lib/gamebox/core/backstage.rb
373
390
  - lib/gamebox/core/behavior.rb
391
+ - lib/gamebox/core/behavior_definition.rb
374
392
  - lib/gamebox/core/behavior_factory.rb
375
393
  - lib/gamebox/core/class_finder.rb
376
394
  - lib/gamebox/core/config_manager.rb
377
395
  - lib/gamebox/core/configuration.rb
378
396
  - lib/gamebox/core/core.rb
397
+ - lib/gamebox/core/debug_helpers.rb
379
398
  - lib/gamebox/core/deprecated.rb
380
399
  - lib/gamebox/core/director.rb
400
+ - lib/gamebox/core/event_symbols.rb
381
401
  - lib/gamebox/core/font_style.rb
382
402
  - lib/gamebox/core/font_style_factory.rb
383
403
  - lib/gamebox/core/game.rb
384
404
  - lib/gamebox/core/hooked_gosu_window.rb
385
405
  - lib/gamebox/core/input_manager.rb
406
+ - lib/gamebox/core/input_mapper.rb
386
407
  - lib/gamebox/core/physics.rb
387
408
  - lib/gamebox/core/physics_manager.rb
409
+ - lib/gamebox/core/renderer.rb
388
410
  - lib/gamebox/core/resource_manager.rb
389
411
  - lib/gamebox/core/sound_manager.rb
390
412
  - lib/gamebox/core/stage.rb
413
+ - lib/gamebox/core/stage_definition.rb
414
+ - lib/gamebox/core/stage_factory.rb
391
415
  - lib/gamebox/core/stage_manager.rb
392
416
  - lib/gamebox/core/stagehand.rb
393
417
  - lib/gamebox/core/svg_document.rb
@@ -403,8 +427,8 @@ files:
403
427
  - lib/gamebox/data/sounds/GAMEBOX_SOUND_FX_GO_HERE
404
428
  - lib/gamebox/gamebox_application.rb
405
429
  - lib/gamebox/lib/aliasing.rb
430
+ - lib/gamebox/lib/array_ext.rb
406
431
  - lib/gamebox/lib/code_statistics.rb
407
- - lib/gamebox/lib/ftor.rb
408
432
  - lib/gamebox/lib/inflections.rb
409
433
  - lib/gamebox/lib/inflector.rb
410
434
  - lib/gamebox/lib/linked_list.rb
@@ -418,7 +442,11 @@ files:
418
442
  - lib/gamebox/lib/rect.rb
419
443
  - lib/gamebox/lib/sorted_list.rb
420
444
  - lib/gamebox/lib/symbol_ext.rb
445
+ - lib/gamebox/lib/vector2.rb
421
446
  - lib/gamebox/lib/yoda.rb
447
+ - lib/gamebox/post_setup_handlers/file_watcher.rb
448
+ - lib/gamebox/post_setup_handlers/gamebox_debug_helpers.rb
449
+ - lib/gamebox/post_setup_handlers/pry_remote_server.rb
422
450
  - lib/gamebox/spec/helper.rb
423
451
  - lib/gamebox/stagehands/spatial_tree_stagehand.rb
424
452
  - lib/gamebox/tasks/gamebox_tasks.rake
@@ -438,7 +466,7 @@ files:
438
466
  - spec/acceptance/input_mapper_spec.rb
439
467
  - spec/acceptance/pausing_spec.rb
440
468
  - spec/acceptance/timer_usage_spec.rb
441
- - spec/actors/emitter_spec.rb
469
+ - spec/acceptance/update_ordering_spec.rb
442
470
  - spec/actors/label_spec.rb
443
471
  - spec/behaviors/animated_spec.rb
444
472
  - spec/behaviors/collidable_spec.rb
@@ -459,8 +487,11 @@ files:
459
487
  - spec/core/font_style_spec.rb
460
488
  - spec/core/hooked_gosu_window_spec.rb
461
489
  - spec/core/input_manager_spec.rb
490
+ - spec/core/input_mapper_spec.rb
462
491
  - spec/core/physics_manager_spec.rb
492
+ - spec/core/renderer_spec.rb
463
493
  - spec/core/resource_manager_spec.rb
494
+ - spec/core/stage_definition_spec.rb
464
495
  - spec/core/stage_manager_spec.rb
465
496
  - spec/core/stage_spec.rb
466
497
  - spec/core/timer_manager_spec.rb
@@ -475,10 +506,10 @@ files:
475
506
  - spec/lib/class_finder_spec.rb
476
507
  - spec/stagehands/spatial_tree_stagehand_spec.rb
477
508
  - spec/views/graphical_actor_view_spec.rb
509
+ - templates/actor_template.erb
478
510
  - templates/app/.gitignore
479
511
  - templates/app/Gemfile.tt
480
- - templates/app/NEXT_STEPS.txt
481
- - templates/app/README.rdoc
512
+ - templates/app/README.md
482
513
  - templates/app/Rakefile
483
514
  - templates/app/config/boot.rb
484
515
  - templates/app/config/environment.rb
@@ -488,9 +519,12 @@ files:
488
519
  - templates/app/data/music/MUSIC_GOES_HERE
489
520
  - templates/app/data/sounds/SOUND_FX_GO_HERE
490
521
  - templates/app/spec/helper.rb
491
- - templates/app/src/actors/player.rb
522
+ - templates/app/src/actors/player_actor.rb
492
523
  - templates/app/src/app.rb
493
- - templates/app/src/demo_stage.rb
524
+ - templates/app/src/behaviors/.gitkeep
525
+ - templates/app/src/stages/demo_stage.rb
526
+ - templates/behavior_template.erb
527
+ - templates/stage_template.erb
494
528
  homepage: http://shawn42.github.com/gamebox
495
529
  licenses: []
496
530
  post_install_message:
@@ -503,6 +537,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
503
537
  - - ! '>='
504
538
  - !ruby/object:Gem::Version
505
539
  version: '0'
540
+ segments:
541
+ - 0
542
+ hash: 1933944508572168256
506
543
  required_rubygems_version: !ruby/object:Gem::Requirement
507
544
  none: false
508
545
  requirements:
@@ -511,7 +548,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
511
548
  version: 1.3.1
512
549
  requirements: []
513
550
  rubyforge_project: gamebox
514
- rubygems_version: 1.8.24
551
+ rubygems_version: 1.8.25
515
552
  signing_key:
516
553
  specification_version: 3
517
554
  summary: Framework for building and distributing games using Gosu
@@ -524,7 +561,7 @@ test_files:
524
561
  - spec/acceptance/input_mapper_spec.rb
525
562
  - spec/acceptance/pausing_spec.rb
526
563
  - spec/acceptance/timer_usage_spec.rb
527
- - spec/actors/emitter_spec.rb
564
+ - spec/acceptance/update_ordering_spec.rb
528
565
  - spec/actors/label_spec.rb
529
566
  - spec/behaviors/animated_spec.rb
530
567
  - spec/behaviors/collidable_spec.rb
@@ -545,8 +582,11 @@ test_files:
545
582
  - spec/core/font_style_spec.rb
546
583
  - spec/core/hooked_gosu_window_spec.rb
547
584
  - spec/core/input_manager_spec.rb
585
+ - spec/core/input_mapper_spec.rb
548
586
  - spec/core/physics_manager_spec.rb
587
+ - spec/core/renderer_spec.rb
549
588
  - spec/core/resource_manager_spec.rb
589
+ - spec/core/stage_definition_spec.rb
550
590
  - spec/core/stage_manager_spec.rb
551
591
  - spec/core/stage_spec.rb
552
592
  - spec/core/timer_manager_spec.rb
@@ -561,4 +601,3 @@ test_files:
561
601
  - spec/lib/class_finder_spec.rb
562
602
  - spec/stagehands/spatial_tree_stagehand_spec.rb
563
603
  - spec/views/graphical_actor_view_spec.rb
564
- has_rdoc: