chingu 0.9rc7 → 0.9rc8
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/example15_trait_timer2.rb +1 -1
- data/examples/example7_gfx_helpers.rb +23 -11
- data/examples/game1.rb +299 -15
- data/examples/high_score_list.yml +22 -22
- data/examples/media/city3.png +0 -0
- data/examples/media/enemy_plane.png +0 -0
- data/lib/chingu.rb +1 -1
- data/lib/chingu/animation.rb +58 -38
- data/lib/chingu/game_state_manager.rb +11 -41
- data/lib/chingu/game_states/edit.rb +5 -2
- data/lib/chingu/game_states/enter_name.rb +3 -3
- data/lib/chingu/game_states/network_client.rb +88 -67
- data/lib/chingu/game_states/network_server.rb +66 -103
- data/lib/chingu/game_states/network_state.rb +71 -0
- data/lib/chingu/gosu_ext/sample.rb +79 -0
- data/lib/chingu/gosu_ext/song.rb +96 -0
- data/lib/chingu/helpers/game_object.rb +5 -1
- data/lib/chingu/helpers/game_state.rb +2 -0
- data/lib/chingu/simple_menu.rb +2 -2
- data/lib/chingu/text.rb +25 -10
- data/lib/chingu/traits/sprite.rb +3 -3
- data/lib/chingu/viewport.rb +18 -14
- data/lib/chingu/window.rb +54 -0
- data/spec/chingu/animation_spec.rb +41 -3
- data/spec/chingu/game_state_manager_spec.rb +50 -3
- data/spec/chingu/network_spec.rb +144 -11
- metadata +20 -15
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chingu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9rc8
|
5
5
|
prerelease: 3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gosu
|
16
|
-
requirement: &
|
16
|
+
requirement: &25541928 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.7.
|
21
|
+
version: 0.7.43
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25541928
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: gosu
|
27
|
-
requirement: &
|
27
|
+
requirement: &25541628 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.7.
|
32
|
+
version: 0.7.43
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *25541628
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &25541340 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.1.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *25541340
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: watchr
|
49
|
-
requirement: &
|
49
|
+
requirement: &25541052 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *25541052
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rcov
|
60
|
-
requirement: &
|
60
|
+
requirement: &25540716 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *25540716
|
69
69
|
description: OpenGL accelerated 2D game framework for Ruby. Builds on Gosu (Ruby/C++)
|
70
70
|
which provides all the core functionality. Chingu adds simple yet powerful game
|
71
71
|
states, prettier input handling, deployment safe asset-handling, a basic re-usable
|
@@ -104,10 +104,13 @@ files:
|
|
104
104
|
- lib/chingu/game_states/fade_to.rb
|
105
105
|
- lib/chingu/game_states/network_client.rb
|
106
106
|
- lib/chingu/game_states/network_server.rb
|
107
|
+
- lib/chingu/game_states/network_state.rb
|
107
108
|
- lib/chingu/game_states/pause.rb
|
108
109
|
- lib/chingu/game_states/popup.rb
|
109
110
|
- lib/chingu/game_state_manager.rb
|
110
111
|
- lib/chingu/gosu_ext/image.rb
|
112
|
+
- lib/chingu/gosu_ext/sample.rb
|
113
|
+
- lib/chingu/gosu_ext/song.rb
|
111
114
|
- lib/chingu/helpers/class_inheritable_accessor.rb
|
112
115
|
- lib/chingu/helpers/fps_counter.rb
|
113
116
|
- lib/chingu/helpers/game_object.rb
|
@@ -188,11 +191,13 @@ files:
|
|
188
191
|
- examples/media/circle.png
|
189
192
|
- examples/media/city1.png
|
190
193
|
- examples/media/city2.png
|
194
|
+
- examples/media/city3.png
|
191
195
|
- examples/media/cog_wheel.png
|
192
196
|
- examples/media/droid.bmp
|
193
197
|
- examples/media/droid_11x15.bmp
|
194
198
|
- examples/media/droid_11x15.gal
|
195
199
|
- examples/media/enemy_bullet.png
|
200
|
+
- examples/media/enemy_plane.png
|
196
201
|
- examples/media/explosion.wav
|
197
202
|
- examples/media/fireball.png
|
198
203
|
- examples/media/fire_bullet.png
|
@@ -284,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
289
|
version: 1.3.6
|
285
290
|
requirements: []
|
286
291
|
rubyforge_project: chingu
|
287
|
-
rubygems_version: 1.8.
|
292
|
+
rubygems_version: 1.8.16
|
288
293
|
signing_key:
|
289
294
|
specification_version: 3
|
290
295
|
summary: OpenGL accelerated 2D game framework for Ruby.
|