metro-ld25 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.travis.yml +6 -0
- data/Gemfile +12 -0
- data/Guardfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +189 -0
- data/Rakefile +18 -0
- data/bin/metro +16 -0
- data/changelog.md +157 -0
- data/lib/assets/menu-movement.wav +0 -0
- data/lib/assets/menu-selection.wav +0 -0
- data/lib/assets/missing.ogg +0 -0
- data/lib/assets/missing.png +0 -0
- data/lib/assets/missing.wav +0 -0
- data/lib/assets/missing_animation.png +0 -0
- data/lib/commands/generate_game.rb +13 -0
- data/lib/commands/generate_model.rb +25 -0
- data/lib/commands/generate_scene.rb +36 -0
- data/lib/commands/generate_view.rb +21 -0
- data/lib/commands/thor.rb +83 -0
- data/lib/core_ext/class.rb +14 -0
- data/lib/core_ext/numeric.rb +59 -0
- data/lib/gosu_ext/color.rb +62 -0
- data/lib/gosu_ext/gosu_constants.rb +53 -0
- data/lib/locale/en.yml +35 -0
- data/lib/locale/locale.rb +1 -0
- data/lib/metro.rb +140 -0
- data/lib/metro/animation.rb +135 -0
- data/lib/metro/animation/after_interval_factory.rb +12 -0
- data/lib/metro/animation/animation_factory.rb +15 -0
- data/lib/metro/animation/easing/ease_in.rb +15 -0
- data/lib/metro/animation/easing/easing.rb +51 -0
- data/lib/metro/animation/easing/linear.rb +15 -0
- data/lib/metro/animation/has_animations.rb +70 -0
- data/lib/metro/animation/implicit_animation.rb +100 -0
- data/lib/metro/animation/on_update_operation.rb +96 -0
- data/lib/metro/animation/scene_animation.rb +16 -0
- data/lib/metro/asset_path.rb +97 -0
- data/lib/metro/events/control_definition.rb +11 -0
- data/lib/metro/events/controls.rb +42 -0
- data/lib/metro/events/event_data.rb +60 -0
- data/lib/metro/events/event_dictionary.rb +52 -0
- data/lib/metro/events/event_factory.rb +17 -0
- data/lib/metro/events/event_relay.rb +300 -0
- data/lib/metro/events/event_state_manager.rb +63 -0
- data/lib/metro/events/events.rb +3 -0
- data/lib/metro/events/has_events.rb +108 -0
- data/lib/metro/events/hit_list.rb +75 -0
- data/lib/metro/events/unknown_sender.rb +5 -0
- data/lib/metro/font.rb +69 -0
- data/lib/metro/game.rb +102 -0
- data/lib/metro/game/dsl.rb +68 -0
- data/lib/metro/image.rb +68 -0
- data/lib/metro/logging.rb +33 -0
- data/lib/metro/missing_scene.rb +21 -0
- data/lib/metro/models/audio/song.rb +33 -0
- data/lib/metro/models/draws.rb +86 -0
- data/lib/metro/models/key_value_coding.rb +38 -0
- data/lib/metro/models/model.rb +236 -0
- data/lib/metro/models/model_factory.rb +32 -0
- data/lib/metro/models/models.rb +62 -0
- data/lib/metro/models/properties/animation_property.rb +115 -0
- data/lib/metro/models/properties/array_property.rb +24 -0
- data/lib/metro/models/properties/boolean_property.rb +27 -0
- data/lib/metro/models/properties/color_property.rb +116 -0
- data/lib/metro/models/properties/dimensions_property.rb +84 -0
- data/lib/metro/models/properties/font_property.rb +130 -0
- data/lib/metro/models/properties/image_property.rb +96 -0
- data/lib/metro/models/properties/model_property.rb +84 -0
- data/lib/metro/models/properties/numeric_property.rb +29 -0
- data/lib/metro/models/properties/options_property/no_option.rb +29 -0
- data/lib/metro/models/properties/options_property/options.rb +94 -0
- data/lib/metro/models/properties/options_property/options_property.rb +125 -0
- data/lib/metro/models/properties/position_property.rb +90 -0
- data/lib/metro/models/properties/property.rb +221 -0
- data/lib/metro/models/properties/property_owner.rb +137 -0
- data/lib/metro/models/properties/sample_property.rb +84 -0
- data/lib/metro/models/properties/scale_property.rb +80 -0
- data/lib/metro/models/properties/song_property.rb +89 -0
- data/lib/metro/models/properties/text_property.rb +75 -0
- data/lib/metro/models/ui/animated_sprite.rb +85 -0
- data/lib/metro/models/ui/border.rb +95 -0
- data/lib/metro/models/ui/fps.rb +54 -0
- data/lib/metro/models/ui/generic.rb +66 -0
- data/lib/metro/models/ui/grid_drawer.rb +74 -0
- data/lib/metro/models/ui/image.rb +87 -0
- data/lib/metro/models/ui/label.rb +175 -0
- data/lib/metro/models/ui/menu.rb +214 -0
- data/lib/metro/models/ui/model_label.rb +65 -0
- data/lib/metro/models/ui/model_labeler.rb +79 -0
- data/lib/metro/models/ui/rectangle.rb +59 -0
- data/lib/metro/models/ui/sprite.rb +79 -0
- data/lib/metro/models/ui/tile_map.rb +162 -0
- data/lib/metro/models/ui/ui.rb +13 -0
- data/lib/metro/parameters/command_line_args_parser.rb +68 -0
- data/lib/metro/parameters/options.rb +25 -0
- data/lib/metro/parameters/parameters.rb +2 -0
- data/lib/metro/sample.rb +40 -0
- data/lib/metro/scene.rb +477 -0
- data/lib/metro/scenes.rb +154 -0
- data/lib/metro/song.rb +56 -0
- data/lib/metro/template_message.rb +60 -0
- data/lib/metro/transitions/edit_transition_scene.rb +100 -0
- data/lib/metro/transitions/fade_transition_scene.rb +66 -0
- data/lib/metro/transitions/scene_transitions.rb +44 -0
- data/lib/metro/transitions/transition_scene.rb +19 -0
- data/lib/metro/units/bounds.rb +8 -0
- data/lib/metro/units/calculation_validations.rb +74 -0
- data/lib/metro/units/dimensions.rb +60 -0
- data/lib/metro/units/point.rb +51 -0
- data/lib/metro/units/rectangle_bounds.rb +85 -0
- data/lib/metro/units/scale.rb +46 -0
- data/lib/metro/units/units.rb +6 -0
- data/lib/metro/version.rb +32 -0
- data/lib/metro/views/json_view.rb +60 -0
- data/lib/metro/views/no_view.rb +34 -0
- data/lib/metro/views/parsers.rb +42 -0
- data/lib/metro/views/scene_view.rb +107 -0
- data/lib/metro/views/view.rb +133 -0
- data/lib/metro/views/writers.rb +43 -0
- data/lib/metro/views/yaml_view.rb +94 -0
- data/lib/metro/window.rb +94 -0
- data/lib/setup_handlers/exit_if_dry_run.rb +26 -0
- data/lib/setup_handlers/game_execution.rb +65 -0
- data/lib/setup_handlers/load_game_configuration.rb +65 -0
- data/lib/setup_handlers/load_game_files.rb +101 -0
- data/lib/setup_handlers/move_to_game_directory.rb +25 -0
- data/lib/setup_handlers/reload_game_on_game_file_changes.rb +79 -0
- data/lib/templates/game/README.md.tt +52 -0
- data/lib/templates/game/assets/brand.jpg +0 -0
- data/lib/templates/game/assets/hero.png +0 -0
- data/lib/templates/game/lib/custom_easing.rb +32 -0
- data/lib/templates/game/metro.tt +63 -0
- data/lib/templates/game/models/hero.rb +62 -0
- data/lib/templates/game/scenes/brand_scene.rb +19 -0
- data/lib/templates/game/scenes/brand_to_title_scene.rb +13 -0
- data/lib/templates/game/scenes/first_scene.rb +28 -0
- data/lib/templates/game/scenes/game_scene.rb +43 -0
- data/lib/templates/game/scenes/title_scene.rb +15 -0
- data/lib/templates/game/views/brand.yaml +4 -0
- data/lib/templates/game/views/brand_to_title.yaml +8 -0
- data/lib/templates/game/views/first.yaml +26 -0
- data/lib/templates/game/views/title.yaml +11 -0
- data/lib/templates/message.erb +23 -0
- data/lib/templates/model.rb.tt +111 -0
- data/lib/templates/scene.rb.tt +140 -0
- data/lib/templates/view.yaml.tt +11 -0
- data/lib/tmxed_ext/tile_set.rb +34 -0
- data/metro.gemspec +56 -0
- data/spec/core_ext/numeric_spec.rb +78 -0
- data/spec/core_ext/string_spec.rb +33 -0
- data/spec/gosu_ext/color_spec.rb +80 -0
- data/spec/metro/events/event_state_manager_spec.rb +5 -0
- data/spec/metro/models/key_value_coding_spec.rb +61 -0
- data/spec/metro/models/properties/array_property_spec.rb +60 -0
- data/spec/metro/models/properties/color_property_spec.rb +85 -0
- data/spec/metro/models/properties/dimensions_spec.rb +29 -0
- data/spec/metro/models/properties/font_property_spec.rb +127 -0
- data/spec/metro/models/properties/numeric_property_spec.rb +46 -0
- data/spec/metro/models/properties/options_property/no_option_spec.rb +25 -0
- data/spec/metro/models/properties/options_property/options_property_spec.rb +133 -0
- data/spec/metro/models/properties/options_property/options_spec.rb +125 -0
- data/spec/metro/models/properties/position_property_spec.rb +90 -0
- data/spec/metro/models/ui/label_spec.rb +259 -0
- data/spec/metro/parameters/command_line_args_parser_spec.rb +42 -0
- data/spec/metro/scene_spec.rb +15 -0
- data/spec/metro/scene_views/json_view_spec.rb +27 -0
- data/spec/metro/scene_views/yaml_view_spec.rb +38 -0
- data/spec/metro/scenes_spec.rb +77 -0
- data/spec/metro/units/point_spec.rb +132 -0
- data/spec/metro/views/view_spec.rb +53 -0
- data/spec/setup_handlers/exit_if_dry_run_spec.rb +27 -0
- data/spec/setup_handlers/reload_game_on_game_file_changes_spec.rb +68 -0
- data/spec/spec_helper.rb +20 -0
- metadata +374 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require_relative '../lib/metro'
|
2
|
+
# # This file was generated by the `rspec --init` command. Conventionally, all
|
3
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
4
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
5
|
+
# loaded once.
|
6
|
+
#
|
7
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
8
|
+
RSpec.configure do |config|
|
9
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
10
|
+
config.run_all_when_everything_filtered = true
|
11
|
+
config.filter_run :focus
|
12
|
+
|
13
|
+
# Run specs in random order to surface order dependencies. If you find an
|
14
|
+
# order dependency and want to debug it, you can fix the order by providing
|
15
|
+
# the seed, which is printed after each run.
|
16
|
+
# --seed 1234
|
17
|
+
config.order = 'random'
|
18
|
+
end
|
19
|
+
|
20
|
+
include Metro::Units
|
metadata
ADDED
@@ -0,0 +1,374 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metro-ld25
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.3
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Franklin Webber
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: gosu
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.7'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: thor
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.16.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.16.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: i18n
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.6.1
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.6.1
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: active_support
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 3.0.0
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 3.0.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: listen
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.6.0
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.6.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: tmxed
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.0.1
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.0.1
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rspec
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.11'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '2.11'
|
126
|
+
description: ! " Metro is a 2D Gaming framework built around gosu (game development
|
127
|
+
library).\n Metro makes it easy to create games by enforcing common conceptual
|
128
|
+
structures\n and conventions.\n"
|
129
|
+
email:
|
130
|
+
- dev@rubymetro.com
|
131
|
+
executables:
|
132
|
+
- metro
|
133
|
+
extensions: []
|
134
|
+
extra_rdoc_files: []
|
135
|
+
files:
|
136
|
+
- .gitignore
|
137
|
+
- .rspec
|
138
|
+
- .rvmrc
|
139
|
+
- .travis.yml
|
140
|
+
- Gemfile
|
141
|
+
- Guardfile
|
142
|
+
- LICENSE.txt
|
143
|
+
- README.md
|
144
|
+
- Rakefile
|
145
|
+
- bin/metro
|
146
|
+
- changelog.md
|
147
|
+
- lib/assets/menu-movement.wav
|
148
|
+
- lib/assets/menu-selection.wav
|
149
|
+
- lib/assets/missing.ogg
|
150
|
+
- lib/assets/missing.png
|
151
|
+
- lib/assets/missing.wav
|
152
|
+
- lib/assets/missing_animation.png
|
153
|
+
- lib/commands/generate_game.rb
|
154
|
+
- lib/commands/generate_model.rb
|
155
|
+
- lib/commands/generate_scene.rb
|
156
|
+
- lib/commands/generate_view.rb
|
157
|
+
- lib/commands/thor.rb
|
158
|
+
- lib/core_ext/class.rb
|
159
|
+
- lib/core_ext/numeric.rb
|
160
|
+
- lib/gosu_ext/color.rb
|
161
|
+
- lib/gosu_ext/gosu_constants.rb
|
162
|
+
- lib/locale/en.yml
|
163
|
+
- lib/locale/locale.rb
|
164
|
+
- lib/metro.rb
|
165
|
+
- lib/metro/animation.rb
|
166
|
+
- lib/metro/animation/after_interval_factory.rb
|
167
|
+
- lib/metro/animation/animation_factory.rb
|
168
|
+
- lib/metro/animation/easing/ease_in.rb
|
169
|
+
- lib/metro/animation/easing/easing.rb
|
170
|
+
- lib/metro/animation/easing/linear.rb
|
171
|
+
- lib/metro/animation/has_animations.rb
|
172
|
+
- lib/metro/animation/implicit_animation.rb
|
173
|
+
- lib/metro/animation/on_update_operation.rb
|
174
|
+
- lib/metro/animation/scene_animation.rb
|
175
|
+
- lib/metro/asset_path.rb
|
176
|
+
- lib/metro/events/control_definition.rb
|
177
|
+
- lib/metro/events/controls.rb
|
178
|
+
- lib/metro/events/event_data.rb
|
179
|
+
- lib/metro/events/event_dictionary.rb
|
180
|
+
- lib/metro/events/event_factory.rb
|
181
|
+
- lib/metro/events/event_relay.rb
|
182
|
+
- lib/metro/events/event_state_manager.rb
|
183
|
+
- lib/metro/events/events.rb
|
184
|
+
- lib/metro/events/has_events.rb
|
185
|
+
- lib/metro/events/hit_list.rb
|
186
|
+
- lib/metro/events/unknown_sender.rb
|
187
|
+
- lib/metro/font.rb
|
188
|
+
- lib/metro/game.rb
|
189
|
+
- lib/metro/game/dsl.rb
|
190
|
+
- lib/metro/image.rb
|
191
|
+
- lib/metro/logging.rb
|
192
|
+
- lib/metro/missing_scene.rb
|
193
|
+
- lib/metro/models/audio/song.rb
|
194
|
+
- lib/metro/models/draws.rb
|
195
|
+
- lib/metro/models/key_value_coding.rb
|
196
|
+
- lib/metro/models/model.rb
|
197
|
+
- lib/metro/models/model_factory.rb
|
198
|
+
- lib/metro/models/models.rb
|
199
|
+
- lib/metro/models/properties/animation_property.rb
|
200
|
+
- lib/metro/models/properties/array_property.rb
|
201
|
+
- lib/metro/models/properties/boolean_property.rb
|
202
|
+
- lib/metro/models/properties/color_property.rb
|
203
|
+
- lib/metro/models/properties/dimensions_property.rb
|
204
|
+
- lib/metro/models/properties/font_property.rb
|
205
|
+
- lib/metro/models/properties/image_property.rb
|
206
|
+
- lib/metro/models/properties/model_property.rb
|
207
|
+
- lib/metro/models/properties/numeric_property.rb
|
208
|
+
- lib/metro/models/properties/options_property/no_option.rb
|
209
|
+
- lib/metro/models/properties/options_property/options.rb
|
210
|
+
- lib/metro/models/properties/options_property/options_property.rb
|
211
|
+
- lib/metro/models/properties/position_property.rb
|
212
|
+
- lib/metro/models/properties/property.rb
|
213
|
+
- lib/metro/models/properties/property_owner.rb
|
214
|
+
- lib/metro/models/properties/sample_property.rb
|
215
|
+
- lib/metro/models/properties/scale_property.rb
|
216
|
+
- lib/metro/models/properties/song_property.rb
|
217
|
+
- lib/metro/models/properties/text_property.rb
|
218
|
+
- lib/metro/models/ui/animated_sprite.rb
|
219
|
+
- lib/metro/models/ui/border.rb
|
220
|
+
- lib/metro/models/ui/fps.rb
|
221
|
+
- lib/metro/models/ui/generic.rb
|
222
|
+
- lib/metro/models/ui/grid_drawer.rb
|
223
|
+
- lib/metro/models/ui/image.rb
|
224
|
+
- lib/metro/models/ui/label.rb
|
225
|
+
- lib/metro/models/ui/menu.rb
|
226
|
+
- lib/metro/models/ui/model_label.rb
|
227
|
+
- lib/metro/models/ui/model_labeler.rb
|
228
|
+
- lib/metro/models/ui/rectangle.rb
|
229
|
+
- lib/metro/models/ui/sprite.rb
|
230
|
+
- lib/metro/models/ui/tile_map.rb
|
231
|
+
- lib/metro/models/ui/ui.rb
|
232
|
+
- lib/metro/parameters/command_line_args_parser.rb
|
233
|
+
- lib/metro/parameters/options.rb
|
234
|
+
- lib/metro/parameters/parameters.rb
|
235
|
+
- lib/metro/sample.rb
|
236
|
+
- lib/metro/scene.rb
|
237
|
+
- lib/metro/scenes.rb
|
238
|
+
- lib/metro/song.rb
|
239
|
+
- lib/metro/template_message.rb
|
240
|
+
- lib/metro/transitions/edit_transition_scene.rb
|
241
|
+
- lib/metro/transitions/fade_transition_scene.rb
|
242
|
+
- lib/metro/transitions/scene_transitions.rb
|
243
|
+
- lib/metro/transitions/transition_scene.rb
|
244
|
+
- lib/metro/units/bounds.rb
|
245
|
+
- lib/metro/units/calculation_validations.rb
|
246
|
+
- lib/metro/units/dimensions.rb
|
247
|
+
- lib/metro/units/point.rb
|
248
|
+
- lib/metro/units/rectangle_bounds.rb
|
249
|
+
- lib/metro/units/scale.rb
|
250
|
+
- lib/metro/units/units.rb
|
251
|
+
- lib/metro/version.rb
|
252
|
+
- lib/metro/views/json_view.rb
|
253
|
+
- lib/metro/views/no_view.rb
|
254
|
+
- lib/metro/views/parsers.rb
|
255
|
+
- lib/metro/views/scene_view.rb
|
256
|
+
- lib/metro/views/view.rb
|
257
|
+
- lib/metro/views/writers.rb
|
258
|
+
- lib/metro/views/yaml_view.rb
|
259
|
+
- lib/metro/window.rb
|
260
|
+
- lib/setup_handlers/exit_if_dry_run.rb
|
261
|
+
- lib/setup_handlers/game_execution.rb
|
262
|
+
- lib/setup_handlers/load_game_configuration.rb
|
263
|
+
- lib/setup_handlers/load_game_files.rb
|
264
|
+
- lib/setup_handlers/move_to_game_directory.rb
|
265
|
+
- lib/setup_handlers/reload_game_on_game_file_changes.rb
|
266
|
+
- lib/templates/game/README.md.tt
|
267
|
+
- lib/templates/game/assets/brand.jpg
|
268
|
+
- lib/templates/game/assets/hero.png
|
269
|
+
- lib/templates/game/lib/custom_easing.rb
|
270
|
+
- lib/templates/game/metro.tt
|
271
|
+
- lib/templates/game/models/hero.rb
|
272
|
+
- lib/templates/game/scenes/brand_scene.rb
|
273
|
+
- lib/templates/game/scenes/brand_to_title_scene.rb
|
274
|
+
- lib/templates/game/scenes/first_scene.rb
|
275
|
+
- lib/templates/game/scenes/game_scene.rb
|
276
|
+
- lib/templates/game/scenes/title_scene.rb
|
277
|
+
- lib/templates/game/views/brand.yaml
|
278
|
+
- lib/templates/game/views/brand_to_title.yaml
|
279
|
+
- lib/templates/game/views/first.yaml
|
280
|
+
- lib/templates/game/views/title.yaml
|
281
|
+
- lib/templates/message.erb
|
282
|
+
- lib/templates/model.rb.tt
|
283
|
+
- lib/templates/scene.rb.tt
|
284
|
+
- lib/templates/view.yaml.tt
|
285
|
+
- lib/tmxed_ext/tile_set.rb
|
286
|
+
- metro.gemspec
|
287
|
+
- spec/core_ext/numeric_spec.rb
|
288
|
+
- spec/core_ext/string_spec.rb
|
289
|
+
- spec/gosu_ext/color_spec.rb
|
290
|
+
- spec/metro/events/event_state_manager_spec.rb
|
291
|
+
- spec/metro/models/key_value_coding_spec.rb
|
292
|
+
- spec/metro/models/properties/array_property_spec.rb
|
293
|
+
- spec/metro/models/properties/color_property_spec.rb
|
294
|
+
- spec/metro/models/properties/dimensions_spec.rb
|
295
|
+
- spec/metro/models/properties/font_property_spec.rb
|
296
|
+
- spec/metro/models/properties/numeric_property_spec.rb
|
297
|
+
- spec/metro/models/properties/options_property/no_option_spec.rb
|
298
|
+
- spec/metro/models/properties/options_property/options_property_spec.rb
|
299
|
+
- spec/metro/models/properties/options_property/options_spec.rb
|
300
|
+
- spec/metro/models/properties/position_property_spec.rb
|
301
|
+
- spec/metro/models/ui/label_spec.rb
|
302
|
+
- spec/metro/parameters/command_line_args_parser_spec.rb
|
303
|
+
- spec/metro/scene_spec.rb
|
304
|
+
- spec/metro/scene_views/json_view_spec.rb
|
305
|
+
- spec/metro/scene_views/yaml_view_spec.rb
|
306
|
+
- spec/metro/scenes_spec.rb
|
307
|
+
- spec/metro/units/point_spec.rb
|
308
|
+
- spec/metro/views/view_spec.rb
|
309
|
+
- spec/setup_handlers/exit_if_dry_run_spec.rb
|
310
|
+
- spec/setup_handlers/reload_game_on_game_file_changes_spec.rb
|
311
|
+
- spec/spec_helper.rb
|
312
|
+
homepage: https://github.com/burtlo/metro
|
313
|
+
licenses:
|
314
|
+
- MIT
|
315
|
+
post_install_message: ! " ______ ___ _____\n ___ |/ /_____ __ /_______________\n
|
316
|
+
\ __ /|_/ / _ _ \\_ __/__ ___/_ __ \\\n _ / / / / __// /_ _ / /
|
317
|
+
/_/ /\n /_/ /_/ \\___/ \\__/ /_/ \\____/\n\n Thank you for installing
|
318
|
+
metro 0.3.3 / 2012-11-28.\n ---------------------------------------------------------------------\n
|
319
|
+
\ Changes:\n \n * Edit Mode - actors within a scene can have their position
|
320
|
+
edited\n and saved. Actors within the scene that have a valid bounds\n specified
|
321
|
+
will appear within the scene with name and bounding box.\n * Dimensions can now
|
322
|
+
be defined as strings\n * Game bounds and Game dimensions return objects of that
|
323
|
+
type\n * `metr::ui::fps` added and has some shortcut placements settings\n \n\n
|
324
|
+
\ ---------------------------------------------------------------------\n"
|
325
|
+
rdoc_options: []
|
326
|
+
require_paths:
|
327
|
+
- lib
|
328
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
334
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
+
none: false
|
336
|
+
requirements:
|
337
|
+
- - ! '>='
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '0'
|
340
|
+
requirements: []
|
341
|
+
rubyforge_project:
|
342
|
+
rubygems_version: 1.8.24
|
343
|
+
signing_key:
|
344
|
+
specification_version: 3
|
345
|
+
summary: Metro is a 2D Gaming framework built around gosu (game development library).
|
346
|
+
Metro makes it easy to create games by enforcing common conceptual structures and
|
347
|
+
conventions.
|
348
|
+
test_files:
|
349
|
+
- spec/core_ext/numeric_spec.rb
|
350
|
+
- spec/core_ext/string_spec.rb
|
351
|
+
- spec/gosu_ext/color_spec.rb
|
352
|
+
- spec/metro/events/event_state_manager_spec.rb
|
353
|
+
- spec/metro/models/key_value_coding_spec.rb
|
354
|
+
- spec/metro/models/properties/array_property_spec.rb
|
355
|
+
- spec/metro/models/properties/color_property_spec.rb
|
356
|
+
- spec/metro/models/properties/dimensions_spec.rb
|
357
|
+
- spec/metro/models/properties/font_property_spec.rb
|
358
|
+
- spec/metro/models/properties/numeric_property_spec.rb
|
359
|
+
- spec/metro/models/properties/options_property/no_option_spec.rb
|
360
|
+
- spec/metro/models/properties/options_property/options_property_spec.rb
|
361
|
+
- spec/metro/models/properties/options_property/options_spec.rb
|
362
|
+
- spec/metro/models/properties/position_property_spec.rb
|
363
|
+
- spec/metro/models/ui/label_spec.rb
|
364
|
+
- spec/metro/parameters/command_line_args_parser_spec.rb
|
365
|
+
- spec/metro/scene_spec.rb
|
366
|
+
- spec/metro/scene_views/json_view_spec.rb
|
367
|
+
- spec/metro/scene_views/yaml_view_spec.rb
|
368
|
+
- spec/metro/scenes_spec.rb
|
369
|
+
- spec/metro/units/point_spec.rb
|
370
|
+
- spec/metro/views/view_spec.rb
|
371
|
+
- spec/setup_handlers/exit_if_dry_run_spec.rb
|
372
|
+
- spec/setup_handlers/reload_game_on_game_file_changes_spec.rb
|
373
|
+
- spec/spec_helper.rb
|
374
|
+
has_rdoc:
|