gamebox 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/.gitignore +6 -0
  2. data/History.txt +6 -0
  3. data/Rakefile +25 -23
  4. data/TODO.txt +5 -3
  5. data/VERSION +1 -0
  6. data/bin/gamebox +2 -2
  7. data/docs/CODE_REVIEW +48 -0
  8. data/docs/getting_started.rdoc +30 -14
  9. data/gamebox.gemspec +184 -0
  10. data/lib/gamebox/actor.rb +29 -37
  11. data/lib/gamebox/actor_factory.rb +7 -24
  12. data/lib/gamebox/actors/curtain.rb +57 -0
  13. data/lib/gamebox/actors/label.rb +23 -0
  14. data/lib/gamebox/actors/score.rb +9 -5
  15. data/lib/gamebox/arbiter.rb +75 -0
  16. data/lib/gamebox/backstage.rb +17 -0
  17. data/lib/gamebox/behavior.rb +24 -1
  18. data/lib/gamebox/behaviors/animated.rb +2 -0
  19. data/lib/gamebox/behaviors/audible.rb +34 -0
  20. data/lib/gamebox/behaviors/collidable.rb +41 -0
  21. data/lib/gamebox/class_finder.rb +29 -0
  22. data/lib/gamebox/data/config/objects.yml +0 -1
  23. data/lib/gamebox/director.rb +13 -0
  24. data/lib/gamebox/gamebox_application.rb +2 -0
  25. data/lib/gamebox/input_manager.rb +58 -36
  26. data/lib/gamebox/{templates/template_app/lib → lib}/code_statistics.rb +0 -0
  27. data/lib/gamebox/lib/platform.rb +1 -0
  28. data/lib/gamebox/lib/surface_ext.rb +1 -1
  29. data/lib/gamebox/sound_manager.rb +11 -5
  30. data/lib/gamebox/spec/helper.rb +25 -0
  31. data/lib/gamebox/stage.rb +69 -2
  32. data/lib/gamebox/stage_manager.rb +6 -5
  33. data/lib/gamebox/tasks/gamebox_tasks.rb +18 -0
  34. data/lib/gamebox/templates/template_app/.gitignore +6 -0
  35. data/lib/gamebox/templates/template_app/README +3 -9
  36. data/lib/gamebox/templates/template_app/Rakefile +0 -13
  37. data/lib/gamebox/templates/template_app/spec/helper.rb +1 -1
  38. data/lib/gamebox/templates/template_app/src/demo_stage.rb +1 -1
  39. data/lib/gamebox/version.rb +1 -1
  40. data/lib/gamebox/views/graphical_actor_view.rb +13 -21
  41. data/spec/actor_spec.rb +12 -4
  42. data/spec/actor_view_spec.rb +16 -0
  43. data/spec/animated_spec.rb +1 -0
  44. data/spec/backstage_spec.rb +45 -0
  45. data/spec/behavior_spec.rb +11 -0
  46. data/spec/collidable_spec.rb +15 -0
  47. data/spec/label_spec.rb +11 -0
  48. data/spec/resource_manager_spec.rb +14 -0
  49. data/spec/stage_spec.rb +65 -0
  50. metadata +66 -34
  51. data/Manifest.txt +0 -97
  52. data/lib/gamebox/ftor.rb +0 -2
  53. data/lib/gamebox/templates/template_app/lib/platform.rb +0 -16
@@ -1,4 +1,5 @@
1
1
  require 'gamebox/lib/platform'
2
+ require 'spec/rake/spectask'
2
3
 
3
4
  task :default => :run
4
5
  desc "Run the game"
@@ -9,6 +10,14 @@ task :run do |t|
9
10
  sh "ruby src/app.rb"
10
11
  end
11
12
  end
13
+
14
+ desc "Report code statistics (KLOCs, etc) from the application"
15
+ task :stats do
16
+ require 'gamebox/lib/code_statistics'
17
+ CodeStatistics.new(*STATS_DIRECTORIES).to_s
18
+ end
19
+
20
+
12
21
  desc "Run the game with debug server"
13
22
  task :debug do |t|
14
23
  if Platform.mac?
@@ -17,3 +26,12 @@ task :debug do |t|
17
26
  sh "ruby src/app.rb -debug-server"
18
27
  end
19
28
  end
29
+
30
+ require 'spec/rake/spectask'
31
+ desc "Run all specs"
32
+ Spec::Rake::SpecTask.new('spec') do |t|
33
+ t.spec_opts = ["-r", "./spec/helper"]
34
+ t.spec_files = FileList['spec//*_spec.rb']
35
+ end
36
+ task :rspec => :spec
37
+ task :test => :spec
@@ -0,0 +1,6 @@
1
+ build
2
+ dist
3
+ fakeroot
4
+ *.o
5
+ *.swp
6
+ crate_boot.h
@@ -1,5 +1,5 @@
1
1
  == Welcome to Gamebox
2
- Blurb here
2
+ Description of your game here.
3
3
 
4
4
  == Description of Contents
5
5
 
@@ -10,8 +10,7 @@ config
10
10
  Configuration files for the Gamebox environment and other dependencies.
11
11
 
12
12
  doc
13
- This directory is where your application documentation will be stored when generated
14
- using <tt>rake doc:app</tt>
13
+ This directory is where your application documentation.
15
14
 
16
15
  lib
17
16
  Application specific libraries. Basically, any kind of custom code that doesn't
@@ -20,11 +19,6 @@ lib
20
19
  script
21
20
  Helper scripts for automation and generation.
22
21
 
23
- test
22
+ spec
24
23
  Unit and functional tests along with fixtures. When using the script/generate scripts, template
25
24
  test files will be generated for you and placed in this directory.
26
-
27
- vendor
28
- External libraries that the application depends on. Also includes the plugins subdirectory.
29
- If the app has frozen rails, those gems also go here, under vendor/rails/.
30
- This directory is in the load path.
@@ -13,16 +13,3 @@ STATS_DIRECTORIES = [
13
13
  %w(Libraries lib/),
14
14
  ].collect { |name, dir| [ name, "#{APP_ROOT}/#{dir}" ] }.select { |name, dir| File.directory?(dir) }
15
15
 
16
- desc "Report code statistics (KLOCs, etc) from the application"
17
- task :stats do
18
- require 'code_statistics'
19
- CodeStatistics.new(*STATS_DIRECTORIES).to_s
20
- end
21
-
22
- require 'spec/rake/spectask'
23
- desc "Run all specs"
24
- Spec::Rake::SpecTask.new('rspec') do |t|
25
- t.spec_opts = ["-r", "./spec/helper"]
26
- t.spec_files = FileList['spec//*_spec.rb']
27
- end
28
- task :test => :rspec
@@ -1,4 +1,4 @@
1
1
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'config'))
2
2
  require 'spec'
3
3
  require 'environment'
4
- require 'metaclass'
4
+ require 'spec/helper'
@@ -1,5 +1,5 @@
1
1
  require 'stage'
2
- require 'ftor'
2
+ require 'rubygame/ftor'
3
3
  class DemoStage < Stage
4
4
  def setup
5
5
  super
@@ -2,7 +2,7 @@ module Gamebox
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 7
5
+ TINY = 8
6
6
 
7
7
  ARRAY = [MAJOR, MINOR, TINY]
8
8
  STRING = ARRAY.join('.')
@@ -2,42 +2,34 @@ require 'actor_view'
2
2
 
3
3
  class GraphicalActorView < ActorView
4
4
  def draw(target, x_off, y_off)
5
- debug = false
6
5
  x = @actor.x
7
6
  y = @actor.y
7
+
8
+ offset_x = x+x_off
9
+ offset_y = y+y_off
10
+
8
11
  img = @actor.image
9
12
  return if img.nil?
10
13
 
11
14
  #if @actor.is? :animated or
12
15
  if @actor.is? :physical
13
16
  w,h = *img.size
14
- x = x-w/2
15
- y = y-h/2
16
- img.blit target.screen, [x+x_off,y+y_off]
17
-
18
- if @actor.is? :physical and debug
19
- @actor.physical.shapes.each do |shape|
20
- bb = shape.bb
21
- x = bb.l + x_off
22
- y = bb.b + y_off
23
- x2 = bb.r + x_off
24
- y2 = bb.t + y_off
25
- target.draw_box_s [x,y], [x2,y2], [255,25,25,150]
26
- end
27
- end
28
-
17
+ offset_x = x-w/2 + x_off
18
+ offset_y = y-h/2 + y_off
19
+ img.blit target.screen, [offset_x,offset_y]
29
20
  else
30
- if @actor.is?(:graphical) && @actor.graphical.tiled?
31
- x_tiles = @actor.graphical.num_x_tiles
32
- y_tiles = @actor.graphical.num_y_tiles
21
+ graphical_behavior = @actor.graphical if @actor.is? :graphical
22
+ if graphical_behavior && graphical_behavior.tiled?
23
+ x_tiles = graphical_behavior.num_x_tiles
24
+ y_tiles = graphical_behavior.num_y_tiles
33
25
  img_w, img_h = *img.size
34
26
  x_tiles.times do |col|
35
27
  y_tiles.times do |row|
36
- img.blit target.screen, [x+x_off+col*img_w,y+y_off+row*img_h]
28
+ img.blit target.screen, [offset_x+col*img_w,offset_y+row*img_h]
37
29
  end
38
30
  end
39
31
  else
40
- img.blit target.screen, [x+x_off,y+y_off]
32
+ img.blit target.screen, [offset_x,offset_y]
41
33
  end
42
34
 
43
35
  end
data/spec/actor_spec.rb CHANGED
@@ -4,7 +4,8 @@ require 'behavior'
4
4
 
5
5
  describe 'A new actor' do
6
6
  before do
7
- opts = {:stage=>"stage", :input=>"input", :resources=>"resource"}
7
+ opts = {:stage=>"stage", :input=>"input",
8
+ :resources=>"resource", :actor_type => :actor}
8
9
  @actor = Actor.new opts
9
10
  end
10
11
 
@@ -12,11 +13,20 @@ describe 'A new actor' do
12
13
  @actor.alive?.should be_true
13
14
  end
14
15
 
16
+ it 'should be the correct type' do
17
+ @actor.actor_type.should == :actor
18
+ end
19
+
15
20
  it 'should be at (0,0)' do
16
21
  @actor.x.should equal(0)
17
22
  @actor.y.should equal(0)
18
23
  end
19
24
 
25
+ it 'should have access to backstage' do
26
+ @actor.stage = mock(:backstage => :stuff)
27
+ @actor.backstage.should == :stuff
28
+ end
29
+
20
30
  it 'should have atts set' do
21
31
  @actor.stage.should == "stage"
22
32
  @actor.input_manager.should == "input"
@@ -42,10 +52,8 @@ describe 'A new actor' do
42
52
  @james.is?(:smart).should be_true
43
53
  @james.instance_variable_get('@behaviors')[:smart].instance_variable_get('@opts').should == {:really=>true}
44
54
  end
45
-
46
- it 'should maintain order of behaviors'
47
-
48
55
  end
56
+
49
57
  class Cool < Behavior; end
50
58
  class Smart < Behavior; end
51
59
  class Coder < Actor
@@ -0,0 +1,16 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'actor_view'
3
+
4
+ describe 'A new actor view' do
5
+
6
+ it 'should be layered 0/1 by default' do
7
+ @test_me = ActorView.new :stage, Actor.new({})
8
+ @test_me.layer.should == 0
9
+ @test_me.parallax.should == 1
10
+ end
11
+
12
+ it 'should call setup on creation; tests that require subclassing seem wrong...'
13
+ it 'should accept layered behavior params from actor'
14
+ it 'should register for show/hide/remove events'
15
+ it 'should manage a cached surface for drawing'
16
+ end
@@ -7,6 +7,7 @@ describe 'A new animated behavior' do
7
7
 
8
8
  opts = {:stage=>"stage", :input=>"input", :resources=>@rm}
9
9
  @actor = Actor.new opts
10
+ @actor.should_receive(:is?).with(:updatable).and_return(true)
10
11
  @animated = Animated.new @actor
11
12
  end
12
13
 
@@ -0,0 +1,45 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'backstage'
3
+
4
+ describe 'A new backstage' do
5
+
6
+ before do
7
+ @backstage = Backstage.new
8
+ end
9
+
10
+ it 'should construct' do
11
+ @backstage.should_not be_nil
12
+ end
13
+
14
+ it 'should return nil if not found' do
15
+ @backstage.get(:foo).should be_nil
16
+ end
17
+
18
+ it 'should return the value if found' do
19
+ @backstage.set(:foo,:foo_val).should == :foo_val
20
+ @backstage.get(:foo).should == :foo_val
21
+ end
22
+
23
+ it 'should replace with new values' do
24
+ @backstage.set(:foo,:foo_val).should == :foo_val
25
+ @backstage.get(:foo).should == :foo_val
26
+
27
+ @backstage.set(:foo,:other_val).should == :other_val
28
+ @backstage.get(:foo).should == :other_val
29
+ end
30
+
31
+ it 'should properly offer bracket notation' do
32
+ @backstage[:foo] = :val
33
+ @backstage[:foo].should == :val
34
+ end
35
+
36
+ it 'should raise if an Actor strolls off backstage' do
37
+ class Foo < Actor
38
+ def initialize;end
39
+ end
40
+ foo = Foo.new
41
+
42
+ lambda{ @backstage[:foo] = foo }.should raise_error
43
+ end
44
+
45
+ end
@@ -0,0 +1,11 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'behavior'
3
+
4
+ describe 'A new behavior' do
5
+
6
+ it 'should auto-require behaviors that it depends on' do
7
+ actor = mock()
8
+
9
+ end
10
+
11
+ end
@@ -0,0 +1,15 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'collidable'
3
+
4
+ describe 'A new collidable behavior' do
5
+ before do
6
+ @stage = mock(:register_collidable => nil)
7
+ opts = {:actor_type => :actor, :stage=>@stage, :input=>"input", :resources=> :rm}
8
+ @actor = Actor.new opts
9
+ @collidable = Collidable.new @actor
10
+ end
11
+
12
+ it 'should define methods on actor' do
13
+ @actor.respond_to?(:shape).should be_true
14
+ end
15
+ end
@@ -0,0 +1,11 @@
1
+ require 'helper'
2
+ require 'label'
3
+
4
+ describe 'a new Label' do
5
+ before do
6
+ # opts = {:stage=>"stage", :input=>"input", :resources=>"resource"}
7
+ # @test_me = Label.new opts
8
+ end
9
+
10
+ it 'should do something'
11
+ end
@@ -0,0 +1,14 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'resource_manager'
3
+
4
+ describe 'A new resource manager' do
5
+ before do
6
+ @res_man = ResourceManager.new
7
+ end
8
+
9
+ it 'should load an actor image' do
10
+ @res_man.should_receive(:load_image).with("string.png").and_return(:surf)
11
+ @res_man.load_actor_image("FoopyPants").should == :surf
12
+ end
13
+
14
+ end
@@ -0,0 +1,65 @@
1
+ require File.join(File.dirname(__FILE__),'helper')
2
+ require 'stage'
3
+
4
+ describe 'A new stage' do
5
+ FakeDrawable = Struct.new :layer, :parallax
6
+
7
+ before do
8
+ @config = {:screen_resolution => [800,600] }
9
+ @actor_factory = stub(:actor_factory, :director= => nil)
10
+ @stage = Stage.new :input_manager, @actor_factory,
11
+ :resource_manager, :sound_manager, @config, :backstage, {}
12
+ end
13
+
14
+ it 'should construct' do
15
+ @stage.should_not be_nil
16
+ end
17
+
18
+ it 'should have access to backstage' do
19
+ @stage.backstage.should == :backstage
20
+ end
21
+
22
+ it 'should register drawables by parallax and layer'
23
+ it 'should unregister drawables by parallax and layer'
24
+ it 'should draw drawables by parallax and layers' do
25
+ a = FakeDrawable.new
26
+ b = FakeDrawable.new
27
+ c = FakeDrawable.new
28
+ d = FakeDrawable.new
29
+ e = FakeDrawable.new
30
+ f = FakeDrawable.new
31
+ x = FakeDrawable.new
32
+ y = FakeDrawable.new
33
+ z = FakeDrawable.new
34
+ @stage.drawables = {
35
+ 2 => {3=> [a,b,c]},
36
+ 6 => {7=> [d,e,f]},
37
+ 9 => {13=> [x,y,z]},
38
+ }
39
+ @stage.move_layer(2, 3, 6, 7).should == [d,e,f]
40
+ @stage.drawables[6][7].should_not be_nil
41
+ @stage.drawables[6][7].should == [a,b,c]
42
+ @stage.drawables[2][3].should be_nil
43
+ end
44
+ it 'should move drawables layers' do
45
+
46
+ a = FakeDrawable.new
47
+ b = FakeDrawable.new
48
+ c = FakeDrawable.new
49
+ d = FakeDrawable.new
50
+ e = FakeDrawable.new
51
+ f = FakeDrawable.new
52
+ x = FakeDrawable.new
53
+ y = FakeDrawable.new
54
+ z = FakeDrawable.new
55
+ @stage.drawables = {
56
+ 2 => {3=> [a,b,c]},
57
+ 6 => {7=> [d,e,f]},
58
+ 9 => {13=> [x,y,z]},
59
+ }
60
+ @stage.move_layer(2, 3, 6, 7).should == [d,e,f]
61
+ @stage.drawables[6][7].should_not be_nil
62
+ @stage.drawables[6][7].should == [a,b,c]
63
+ @stage.drawables[2][3].should be_nil
64
+ end
65
+ 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.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Anderson
@@ -11,12 +11,12 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-11-18 00:00:00 -05:00
15
- default_executable:
14
+ date: 2010-02-18 00:00:00 -05:00
15
+ default_executable: gamebox
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: constructor
19
- type: :runtime
18
+ name: rspec
19
+ type: :development
20
20
  version_requirement:
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
@@ -25,7 +25,17 @@ dependencies:
25
25
  version: "0"
26
26
  version:
27
27
  - !ruby/object:Gem::Dependency
28
- name: publisher
28
+ name: jeweler
29
+ type: :development
30
+ version_requirement:
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: "0"
36
+ version:
37
+ - !ruby/object:Gem::Dependency
38
+ name: rubygame
29
39
  type: :runtime
30
40
  version_requirement:
31
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -35,7 +45,7 @@ dependencies:
35
45
  version: "0"
36
46
  version:
37
47
  - !ruby/object:Gem::Dependency
38
- name: rspec
48
+ name: constructor
39
49
  type: :runtime
40
50
  version_requirement:
41
51
  version_requirements: !ruby/object:Gem::Requirement
@@ -45,43 +55,41 @@ dependencies:
45
55
  version: "0"
46
56
  version:
47
57
  - !ruby/object:Gem::Dependency
48
- name: hoe
49
- type: :development
58
+ name: publisher
59
+ type: :runtime
50
60
  version_requirement:
51
61
  version_requirements: !ruby/object:Gem::Requirement
52
62
  requirements:
53
63
  - - ">="
54
64
  - !ruby/object:Gem::Version
55
- version: 2.3.1
65
+ version: "0"
56
66
  version:
57
- description: A game template for building and distributing Rubygame games. See docs/getting_started.rdoc for help getting started.
58
- email:
59
- - shawn42@gmail.com
60
- - jameskilton@gmail.com
61
- - karlin.fox@gmail.com
67
+ description: Framework for building and distributing games using Rubygame
68
+ email: shawn42@gmail.com
62
69
  executables:
63
70
  - gamebox
64
71
  extensions: []
65
72
 
66
73
  extra_rdoc_files:
67
- - History.txt
68
- - Manifest.txt
69
74
  - README.txt
70
- - TODO.txt
71
- - docs/getting_started.rdoc
72
75
  files:
76
+ - .gitignore
73
77
  - History.txt
74
- - Manifest.txt
75
78
  - README.txt
76
79
  - Rakefile
77
80
  - TODO.txt
81
+ - VERSION
78
82
  - bin/gamebox
83
+ - docs/CODE_REVIEW
79
84
  - docs/getting_started.rdoc
80
85
  - docs/logo.png
86
+ - gamebox.gemspec
81
87
  - lib/gamebox.rb
82
88
  - lib/gamebox/actor.rb
83
89
  - lib/gamebox/actor_factory.rb
84
90
  - lib/gamebox/actor_view.rb
91
+ - lib/gamebox/actors/curtain.rb
92
+ - lib/gamebox/actors/label.rb
85
93
  - lib/gamebox/actors/logo.rb
86
94
  - lib/gamebox/actors/score.rb
87
95
  - lib/gamebox/actors/svg_actor.rb
@@ -89,12 +97,17 @@ files:
89
97
  - lib/gamebox/ai/polaris.rb
90
98
  - lib/gamebox/ai/two_d_grid_location.rb
91
99
  - lib/gamebox/ai/two_d_grid_map.rb
100
+ - lib/gamebox/arbiter.rb
101
+ - lib/gamebox/backstage.rb
92
102
  - lib/gamebox/behavior.rb
93
103
  - lib/gamebox/behaviors/animated.rb
104
+ - lib/gamebox/behaviors/audible.rb
105
+ - lib/gamebox/behaviors/collidable.rb
94
106
  - lib/gamebox/behaviors/graphical.rb
95
107
  - lib/gamebox/behaviors/layered.rb
96
108
  - lib/gamebox/behaviors/physical.rb
97
109
  - lib/gamebox/behaviors/updatable.rb
110
+ - lib/gamebox/class_finder.rb
98
111
  - lib/gamebox/config_manager.rb
99
112
  - lib/gamebox/console_app.rb
100
113
  - lib/gamebox/data/config/objects.yml
@@ -106,13 +119,13 @@ files:
106
119
  - lib/gamebox/data/sounds/GAMEBOX_SOUND_FX_GO_HERE
107
120
  - lib/gamebox/director.rb
108
121
  - lib/gamebox/event_compat.rb
109
- - lib/gamebox/ftor.rb
110
122
  - lib/gamebox/gamebox_application.rb
111
123
  - lib/gamebox/gamebox_generator.rb
112
124
  - lib/gamebox/generators/actor_generator.rb
113
125
  - lib/gamebox/generators/view_generator.rb
114
126
  - lib/gamebox/input_manager.rb
115
127
  - lib/gamebox/lib/aliasing.rb
128
+ - lib/gamebox/lib/code_statistics.rb
116
129
  - lib/gamebox/lib/diy.rb
117
130
  - lib/gamebox/lib/inflections.rb
118
131
  - lib/gamebox/lib/inflector.rb
@@ -123,19 +136,21 @@ files:
123
136
  - lib/gamebox/lib/publisher_ext.rb
124
137
  - lib/gamebox/lib/sorted_list.rb
125
138
  - lib/gamebox/lib/surface_ext.rb
126
- - lib/gamebox/stage.rb
127
- - lib/gamebox/stage_manager.rb
128
139
  - lib/gamebox/physical_director.rb
129
140
  - lib/gamebox/physical_stage.rb
130
141
  - lib/gamebox/physics.rb
131
142
  - lib/gamebox/resource_manager.rb
132
143
  - lib/gamebox/sound_manager.rb
144
+ - lib/gamebox/spec/helper.rb
145
+ - lib/gamebox/stage.rb
146
+ - lib/gamebox/stage_manager.rb
133
147
  - lib/gamebox/svg_document.rb
134
148
  - lib/gamebox/tasks/gamebox_tasks.rb
135
149
  - lib/gamebox/templates/actor.erb
136
150
  - lib/gamebox/templates/actor_spec.erb
137
151
  - lib/gamebox/templates/actor_view.erb
138
152
  - lib/gamebox/templates/actor_view_spec.erb
153
+ - lib/gamebox/templates/template_app/.gitignore
139
154
  - lib/gamebox/templates/template_app/README
140
155
  - lib/gamebox/templates/template_app/Rakefile
141
156
  - lib/gamebox/templates/template_app/config/boot.rb
@@ -147,34 +162,38 @@ files:
147
162
  - lib/gamebox/templates/template_app/data/music/MUSIC_GOES_HERE
148
163
  - lib/gamebox/templates/template_app/data/sounds/SOUND_FX_GO_HERE
149
164
  - lib/gamebox/templates/template_app/doc/README_FOR_APP
150
- - lib/gamebox/templates/template_app/lib/code_statistics.rb
151
- - lib/gamebox/templates/template_app/lib/platform.rb
152
165
  - lib/gamebox/templates/template_app/script/generate
166
+ - lib/gamebox/templates/template_app/spec/helper.rb
153
167
  - lib/gamebox/templates/template_app/src/app.rb
154
168
  - lib/gamebox/templates/template_app/src/demo_stage.rb
155
169
  - lib/gamebox/templates/template_app/src/game.rb
156
170
  - lib/gamebox/templates/template_app/src/my_actor.rb
157
- - lib/gamebox/templates/template_app/spec/helper.rb
158
171
  - lib/gamebox/version.rb
159
172
  - lib/gamebox/viewport.rb
160
173
  - lib/gamebox/views/graphical_actor_view.rb
161
174
  - lib/gamebox/wrapped_screen.rb
162
175
  - script/perf_polaris.rb
163
- - spec/helper.rb
164
176
  - spec/actor_spec.rb
177
+ - spec/actor_view_spec.rb
165
178
  - spec/animated_spec.rb
179
+ - spec/backstage_spec.rb
180
+ - spec/behavior_spec.rb
181
+ - spec/collidable_spec.rb
182
+ - spec/helper.rb
183
+ - spec/label_spec.rb
166
184
  - spec/line_of_site_spec.rb
167
185
  - spec/physical_spec.rb
168
186
  - spec/polaris_spec.rb
187
+ - spec/resource_manager_spec.rb
188
+ - spec/stage_spec.rb
169
189
  - spec/viewport_spec.rb
170
190
  has_rdoc: true
171
- homepage: http://shawn42.github.com/gamebox/
191
+ homepage: http://shawn42.github.com/gamebox
172
192
  licenses: []
173
193
 
174
194
  post_install_message:
175
195
  rdoc_options:
176
- - --main
177
- - README.txt
196
+ - --charset=UTF-8
178
197
  require_paths:
179
198
  - lib
180
199
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -192,9 +211,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
211
  requirements: []
193
212
 
194
213
  rubyforge_project: gamebox
195
- rubygems_version: 1.3.3
214
+ rubygems_version: 1.3.5
196
215
  signing_key:
197
216
  specification_version: 3
198
- summary: A game template for building and distributing Rubygame games
199
- test_files: []
200
-
217
+ summary: Framework for building and distributing games using Rubygame
218
+ test_files:
219
+ - spec/actor_spec.rb
220
+ - spec/actor_view_spec.rb
221
+ - spec/animated_spec.rb
222
+ - spec/backstage_spec.rb
223
+ - spec/behavior_spec.rb
224
+ - spec/collidable_spec.rb
225
+ - spec/helper.rb
226
+ - spec/label_spec.rb
227
+ - spec/line_of_site_spec.rb
228
+ - spec/physical_spec.rb
229
+ - spec/polaris_spec.rb
230
+ - spec/resource_manager_spec.rb
231
+ - spec/stage_spec.rb
232
+ - spec/viewport_spec.rb