metro 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,17 +6,45 @@
6
6
  /_/ /_/ \___/ \__/ /_/ \____/
7
7
 
8
8
  ```
9
- # metro
10
9
 
11
10
  Metro is a framework built around [gosu](https://github.com/jlnr/gosu) (the 2D game development library in Ruby). The goal of Metro is to enforce common conceptual structures and conventions making it easier to quickly generate a game.
12
11
 
13
- > NOTE: This project is very early in development and at this point mostly a prototype to explore more of theses concepts to gain an understanding of core tools necessary to make games.
14
-
15
12
  [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/burtlo/metro)
16
13
 
14
+ ## Why Use Metro?
15
+
16
+ You want to develop games in Ruby.
17
+
18
+ ### Why not just use Gosu?
19
+
20
+ Gosu does not a lot for you. When you finish the [initial tutorial](https://github.com/jlnr/gosu/wiki/Ruby-Tutorial) you are left with a brittle game that is very resistant to changes or new features.
21
+
22
+ * Metro provides the concept of a [Scene](https://github.com/burtlo/metro/wiki/Scenes) which is the first abstraction you would likely build after completing the tutorial.
23
+
24
+ * Sane management of images, animations, fonts, songs, and samples.
25
+
26
+ * [Implicit animations](https://github.com/burtlo/metro/wiki/Animations)
27
+
28
+ * [Event Handling](https://github.com/burtlo/metro/wiki/Events)
29
+
30
+ Metro is built on top of Gosu providing a moderate structure which should
31
+ development joyful.
32
+
33
+ ### Why not use Chingu or Gamebox?
34
+
35
+ Both [Gamebox](https://github.com/shawn42/gamebox) and
36
+ [Chingu](https://github.com/ippa/chingu) are much more mature libraries with a
37
+ larger set of features.
38
+
39
+ With Metro the focus is on a smaller set of features with an emphasis on an
40
+ implementation that leads to joyful development. The features have been
41
+ developed with documentation and examples.
42
+
17
43
  ## Installation
18
44
 
19
- $ gem install metro
45
+ ```bash
46
+ $ gem install metro
47
+ ```
20
48
 
21
49
  ## Usage
22
50
 
@@ -24,8 +52,8 @@ Metro is a framework built around [gosu](https://github.com/jlnr/gosu) (the 2D g
24
52
 
25
53
  By default `metro` will look for a file named 'metro' within the current working directory if no *gamefilename* has been provided.
26
54
 
27
- ```
28
- metro [gamefilename]
55
+ ```bash
56
+ $ metro GAMEFILENAME
29
57
  ```
30
58
 
31
59
  Please take a look at the [example game project](https://github.com/burtlo/starry-knight) that is being built alongside of 'metro'. It currently showcases all the current features available to the game.
@@ -56,15 +84,14 @@ $ metro generate scene first
56
84
 
57
85
  This should generate a scene in the scenes directory. The scene file contains a lot of examples of how to draw, animate and have your scene listen to events.
58
86
 
87
+ ## Resources
59
88
 
60
- ### Resources
61
-
62
- #### Programming
89
+ ### Programming
63
90
 
64
91
  * [YAML for Ruby](http://www.yaml.org/YAML_for_ruby.html) reference which can help you define views in the game.
65
92
  * [JSONLint](http://jsonlint.com/) is a JSON Validator
66
93
 
67
- #### Art
94
+ ### Art
68
95
 
69
96
  * [Lost Garden](http://www.lostgarden.com/2007/05/dancs-miraculously-flexible-game.html)
70
97
  * [TimelieFX](http://www.rigzsoft.co.uk/) particle editor allows you to export animations.
@@ -72,13 +99,12 @@ This should generate a scene in the scenes directory. The scene file contains a
72
99
  * [Icons](http://css-tricks.com/flat-icons-icon-fonts/)
73
100
  * [Subtle Patterns](http://subtlepatterns.com/) various backgrounds and textures.
74
101
 
75
- #### Sound
102
+ ### Sound
76
103
 
77
104
  * [as3sfxr](http://www.superflashbros.net/as3sfxr/) generates unique sounds.
78
105
  * [Ableton](https://www.ableton.com/en/) music generation tool.
79
106
 
80
-
81
- #### Books
107
+ ### Books
82
108
 
83
109
  * [Rules of Play](http://www.amazon.com/dp/0262240459)
84
110
  * [Game Programming Gems 8](http://www.amazon.com/dp/1584507020)
@@ -1,5 +1,9 @@
1
1
  # Metro
2
2
 
3
+ ## 0.3.1 / 2012-11-25
4
+
5
+ * FIX issue with some Gosu example code left in the oven
6
+
3
7
  ## 0.3.0 / 2012-11-25
4
8
 
5
9
  * FIX lots of typos in the documentation
@@ -81,5 +81,3 @@ require_relative 'generate_game'
81
81
  require_relative 'generate_model'
82
82
  require_relative 'generate_scene'
83
83
  require_relative 'generate_view'
84
- require_relative 'build_windows'
85
- require_relative 'build_mac'
@@ -46,13 +46,6 @@ module Metro
46
46
  # end
47
47
  #
48
48
  class ScaleProperty < Property
49
- void drawRot(double x, double y, ZPos z,
50
- double angle, double centerX = 0.5, double centerY = 0.5,
51
- double factorX = 1, double factorY = 1,
52
- Color c = Color::WHITE,
53
- AlphaMode mode = amDefault) const;
54
-
55
-
56
49
  define_property :x_factor
57
50
 
58
51
  define_property :y_factor
@@ -1,5 +1,5 @@
1
1
  module Metro
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  WEBSITE = "https://github.com/burtlo/metro"
4
4
  CONTACT_EMAILS = ["franklin.webber@gmail.com"]
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -250,11 +250,9 @@ licenses: []
250
250
  post_install_message: ! " ______ ___ _____\n ___ |/ /_____ __ /_______________\n
251
251
  \ __ /|_/ / _ _ \\_ __/__ ___/_ __ \\\n _ / / / / __// /_ _ / /
252
252
  /_/ /\n /_/ /_/ \\___/ \\__/ /_/ \\____/\n\n Thank you for installing
253
- metro 0.3.0 / 2012-11-25.\n ---------------------------------------------------------------------\n
254
- \ Changes:\n \n * FIX lots of typos in the documentation\n * Removed `up_action_missing`
255
- and `down_ation_missing` event handling\n * Notification events now have block
256
- support for 0, 1 and 2 parameters\n * FIX Registration of custom defined custom
257
- view parsers\n * FIX Grid Layer layout for Edit Mode\n \n \n\n ---------------------------------------------------------------------\n"
253
+ metro 0.3.1 / 2012-11-25.\n ---------------------------------------------------------------------\n
254
+ \ Changes:\n \n * FIX issue with some Gosu example code left in the oven\n \n\n
255
+ \ ---------------------------------------------------------------------\n"
258
256
  rdoc_options: []
259
257
  require_paths:
260
258
  - lib