gosu 0.7.4-mswin32 → 0.7.5-mswin32
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.
- data/LICENSE +6 -0
- data/README +1 -1
- data/examples/CptnRuby.rb +9 -3
- data/examples/Tutorial.rb +7 -0
- data/lib/fmod.dll +0 -0
- data/lib/gosu.so +0 -0
- metadata +3 -2
data/LICENSE
CHANGED
@@ -21,3 +21,9 @@ DEALINGS IN THE SOFTWARE.
|
|
21
21
|
Julian Raschke julian@raschke.de
|
22
22
|
Jan Lücker jan.luecker@gmx.de
|
23
23
|
http://code.google.com/p/gosu/
|
24
|
+
|
25
|
+
***
|
26
|
+
|
27
|
+
Does NOT apply to fmod.dll shipped with the Windows version of Gosu,
|
28
|
+
or the bytecode of FMOD contained in Gosu.framework on OS X.
|
29
|
+
FMOD is a property of Firelight Technologies Pty, Ltd., see www.fmod.org.
|
data/README
CHANGED
@@ -3,7 +3,7 @@ Moin moin, dear Gosu user!
|
|
3
3
|
* The latest documentation on how to install/set up Gosu can be found on:
|
4
4
|
http://code.google.com/p/gosu/wiki/DocsOverview
|
5
5
|
|
6
|
-
* Try
|
6
|
+
* Try doing to the tutorial there if you don't know how to start out!
|
7
7
|
|
8
8
|
* If you have any questions or feedback,
|
9
9
|
leave a comment on one of Gosu's wiki page,
|
data/examples/CptnRuby.rb
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
begin
|
2
|
+
# In case you use Gosu via rubygems.
|
3
|
+
require 'rubygems'
|
4
|
+
rescue LoadError
|
5
|
+
# In case you don't.
|
6
|
+
end
|
7
|
+
|
1
8
|
# Basically, the tutorial game taken to a jump'n'run perspective.
|
2
9
|
|
3
10
|
# Shows how to
|
@@ -32,8 +39,7 @@ module Tiles
|
|
32
39
|
Earth = 1
|
33
40
|
end
|
34
41
|
|
35
|
-
|
36
|
-
class Gem
|
42
|
+
class CollectibleGem
|
37
43
|
attr_reader :x, :y
|
38
44
|
|
39
45
|
def initialize(image, x, y)
|
@@ -154,7 +160,7 @@ class Map
|
|
154
160
|
when '#'
|
155
161
|
Tiles::Earth
|
156
162
|
when 'x'
|
157
|
-
@gems.push(
|
163
|
+
@gems.push(CollectibleGem.new(gem_img, x * 50 + 25, y * 50 + 25))
|
158
164
|
nil
|
159
165
|
else
|
160
166
|
nil
|
data/examples/Tutorial.rb
CHANGED
data/lib/fmod.dll
ADDED
Binary file
|
data/lib/gosu.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: gosu
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.7.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.7.5
|
7
|
+
date: 2007-09-17 00:00:00 +02:00
|
8
8
|
summary: 2D game development library.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- examples/Tutorial.rb
|
45
45
|
- examples/CptnRuby.rb
|
46
46
|
- lib/gosu.so
|
47
|
+
- lib/fmod.dll
|
47
48
|
- README
|
48
49
|
- LICENSE
|
49
50
|
test_files: []
|