space_invaders 0.0.5 → 0.0.6

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: 9b8ca332904f94954813e59344882dc04e2c1cb6
4
- data.tar.gz: 45973502e3598bf6fe36e933f95442414729aeb4
3
+ metadata.gz: 8098450ab6a1c9ccb187e2cf7051f805d3cbf7f8
4
+ data.tar.gz: e1a2e7f020abe1756065ced2f4cd133d550f81ba
5
5
  SHA512:
6
- metadata.gz: addd775748fbc129c6ba8817b048417c2419f4f87b2a50c00fc062cc9d032a28b9799f3a03ab365362807363b661f3c7723ae73c6163b64189728244c029f733
7
- data.tar.gz: 86855896da8c483ad353f23d2643b92377169bd227ef406a5c4730dc2d1a887ff4548ee7a82e1228a6531d5bc190960ac14c84b186a83e1d810ad8e823fe0001
6
+ metadata.gz: a03f1f9ee9473b075ebc9a7926dc1d212d77abb3dbd73d26a704fa00df5e3a974d7e703f463c6c899c45b7371127f5a6d91fbe86a3dbde410de971eb36ee1b6a
7
+ data.tar.gz: 36c00b022de02ba60b8210adc390a2852859f5c18ecb31584f16ca7d1127464e079b146a1bc2671115e193b0b9942423a724ec79491c396feb06c7bd34b97ad0
@@ -30,7 +30,8 @@ require 'space_invaders/utils'
30
30
  module SpaceInvaders
31
31
  class App < Gosu::Window
32
32
 
33
- DEFAULT_FONT = "assets/fonts/unifont.ttf"
33
+ RELATIVE_DEFAULT_FONT = File.join('..', '..', '..', 'assets', 'fonts', 'unifont.ttf')
34
+ DEFAULT_FONT = File.expand_path(RELATIVE_DEFAULT_FONT,__FILE__)
34
35
 
35
36
  STATICS = :game_status, :button_controller, :images, :sounds,
36
37
  :welcome_screen, :game_over_screen, :next_level_screen
@@ -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 = "space_invaders"
7
- spec.version = "0.0.5"
7
+ spec.version = "0.0.6"
8
8
  spec.authors = ["Damir Svrtan"]
9
9
  spec.email = ["damir.svrtan@gmail.com"]
10
10
  spec.summary = "space_invaders.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: space_invaders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damir Svrtan