carpet_diem 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/carpet_diem.gemspec +4 -4
- data/lib/carpet.rb +1 -1
- data/lib/endboss.rb +1 -1
- data/lib/lamp_with_genie.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0960bb7f79885d1d5b68c00616bb909162e2106
|
4
|
+
data.tar.gz: 9d9bd42f871625f42fca88e1681f3d48aa0197fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c178944b661ee20c1cfc45be4c87476c23dfdeaecd0e562b21f015fddabf12c8894fc06cabd2337c1815ce77dc0dc6b783aeb26c8c20aa438b3add1faf756e4
|
7
|
+
data.tar.gz: 8ac3cae07ac6e0d0900b1de6a1703db73f30f945c01f2ffe36ea5218c5c517bd3dfc9fc705b853c6a56a737495467637760b14a85043212591ca01f90b4fe3c9
|
data/carpet_diem.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'carpet_diem'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.2'
|
4
4
|
s.licenses = ['MIT']
|
5
5
|
s.summary = "A Gosu game about a flying carpet"
|
6
|
-
s.description = "Be a flying carpet that hovers
|
6
|
+
s.description = "Be a flying carpet that hovers through the clouds. On your way up you will encounter magic lamps. Rub them to see if a good or an evil genie is hidden inside, the one adding points to your score, the other being your worst enemy!"
|
7
7
|
s.authors = ['Brigitte Markmann', 'Kathi Zwick']
|
8
8
|
s.email = ['bri.ma@gmx.de', 'ka.zwick@gmail.com']
|
9
|
-
s.files
|
10
|
-
s.files
|
9
|
+
s.files = %w(carpet_diem.gemspec)
|
10
|
+
s.files += Dir.glob('lib/**/*') + Dir.glob('bin/**/*.rb')
|
11
11
|
s.homepage = 'https://github.com/RapidRailsGirls/carpet-diem'
|
12
12
|
s.executables = %w[carpet_diem]
|
13
13
|
s.add_runtime_dependency 'gosu', '0.7.50'
|
data/lib/carpet.rb
CHANGED
@@ -9,7 +9,7 @@ class Carpet
|
|
9
9
|
alias :image :carpet_image
|
10
10
|
undef :carpet_image
|
11
11
|
|
12
|
-
def initialize(window, carpet_image_file = '
|
12
|
+
def initialize(window, carpet_image_file = 'carpet.png', carpet_image_flipped_file = 'carpet_flipped.png')
|
13
13
|
@carpet_image = @carpet_image_right = Gosu::Image.new(window, carpet_image_file)
|
14
14
|
@carpet_image_left = Gosu::Image.new(window, carpet_image_flipped_file)
|
15
15
|
@window = window
|
data/lib/endboss.rb
CHANGED
data/lib/lamp_with_genie.rb
CHANGED
@@ -9,11 +9,11 @@ class LampWithGenie
|
|
9
9
|
|
10
10
|
def initialize(window, flipped)
|
11
11
|
if flipped
|
12
|
-
@image = Gosu::Image.new(window, '
|
12
|
+
@image = Gosu::Image.new(window, 'lamp_flipped.png')
|
13
13
|
else
|
14
|
-
@image = Gosu::Image.new(window, '
|
14
|
+
@image = Gosu::Image.new(window, 'lamp.png')
|
15
15
|
end
|
16
|
-
@sound = Gosu::Sample.new(window, '
|
16
|
+
@sound = Gosu::Sample.new(window, 'lamp.m4a')
|
17
17
|
@rubbed = false
|
18
18
|
@y = -@image.height
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carpet_diem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brigitte Markmann
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gosu
|
@@ -81,9 +81,9 @@ dependencies:
|
|
81
81
|
- - '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
|
-
description: Be a flying carpet that hovers
|
84
|
+
description: Be a flying carpet that hovers through the clouds. On your way up you
|
85
85
|
will encounter magic lamps. Rub them to see if a good or an evil genie is hidden
|
86
|
-
inside, the one adding points to your score, the other being your worst
|
86
|
+
inside, the one adding points to your score, the other being your worst enemy!
|
87
87
|
email:
|
88
88
|
- bri.ma@gmx.de
|
89
89
|
- ka.zwick@gmail.com
|