tank_island 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/bin/tank_island +11 -11
- data/tank_island.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7f4db78bb4791974cf2b3e63114a046b3660dea
|
4
|
+
data.tar.gz: 591eba092af8da0f264338e26aa2d5f9c92e7989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
data/bin/tank_island
CHANGED
@@ -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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
-
|
23
|
-
|
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
|
data/tank_island.gemspec
CHANGED
@@ -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.
|
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}
|