tank_island 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d532027c65a76a3a675c7bddbd7ed6699bf74880
4
- data.tar.gz: 90459a44a1e0e4f91796ac0188e54f75ac64277a
3
+ metadata.gz: f7f4db78bb4791974cf2b3e63114a046b3660dea
4
+ data.tar.gz: 591eba092af8da0f264338e26aa2d5f9c92e7989
5
5
  SHA512:
6
- metadata.gz: bd1d1bd1afed378b9655e77d6b7ee5972d7c37aa0e904cecdbee7f2c35b93075c145b4ef37ef5241026f994da48e98149df7f925c9538fed83eb336c4df1d657
7
- data.tar.gz: b85eed9ea5b0fd7e7c9ba709b502a3e1a489c92399bd0f5daea7f2c47202f5be8b09f71a537edc8bf8ee3b6d6f630390836cde81a5ac54df31869f631fe8811b
6
+ metadata.gz: b3608ac5a6785d75ac2701877a136184e32f75221b3ad99c5588cd9e2c36f71d087c4297725da44eb8026742584c1bcd20e6f3e58b9773e2319353993349d406
7
+ data.tar.gz: d4a1cb8f99f60b91fd8fe0e0dfa75802af49f24724201f1818ff3278200a487a7b1509552f07971d749a825b48093613dbb53bf7b38a21ca6bd911be7afe41c2
data/README.md CHANGED
@@ -20,12 +20,18 @@ Complete process of building this game is described step by step in this free to
20
20
 
21
21
  ## Installation
22
22
 
23
+ Before installing, make sure you have:
24
+
25
+ - Ruby installed, preferably through [rbenv](https://github.com/sstephenson/rbenv), not rvm.
26
+ - ImageMagick (`gem install rmagick` should work).
27
+ - Gosu prerequisites for [Mac](https://github.com/jlnr/gosu/wiki/Getting-Started-on-OS-X),
28
+ [Linux](https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux) or
29
+ [Windows](https://github.com/jlnr/gosu/wiki/Getting-Started-on-Windows)
30
+
23
31
  To install it, run
24
32
 
25
33
  $ gem install tank_island
26
34
 
27
- On Mac OSX you will have to `brew install imagemagick` to make it work.
28
-
29
35
  ## Starting the game
30
36
 
31
37
  There are several ways to start the game.
@@ -9,19 +9,19 @@ root_dir = File.expand_path(File.join(
9
9
  require_pattern = File.join(root_dir, '**/*.rb')
10
10
  @failed = []
11
11
 
12
- # Dynamically require everything
13
- Dir.glob(require_pattern).each do |f|
14
- begin
15
- require f
16
- rescue
17
- # May fail if parent class not required yet
18
- @failed << f
19
- end
12
+ %w(
13
+ game_states/game_state.rb
14
+ game_states/play_state.rb
15
+ entities/components/component.rb
16
+ entities/components/ai/tank_motion_state.rb
17
+ entities/game_object.rb
18
+ entities/powerups/powerup.rb
19
+ ).each do |f|
20
+ require File.join(root_dir, f)
20
21
  end
21
22
 
22
- # Retry unresolved requires
23
- @failed.each do |f|
24
- require f.gsub("#{root_dir}/", '')
23
+ Dir.glob(require_pattern).each do |f|
24
+ require f
25
25
  end
26
26
 
27
27
  $debug = false
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "tank_island"
7
- spec.version = '1.0.0'
7
+ spec.version = '1.0.1'
8
8
  spec.authors = ["Tomas Varaneckas"]
9
9
  spec.email = ["tomas.varaneckas@gmail.com"]
10
10
  spec.summary = %q{Top down 2D shooter game that involves blowing up tanks}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tank_island
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Varaneckas