minigl 2.0.12 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/minigl/game_object.rb +1 -0
  4. metadata +23 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de08bb65a8a409c7836bead4ac0f74d802f668f8
4
- data.tar.gz: 485c0a2f73628d127de80667a8ef6965f5b6df02
3
+ metadata.gz: abab859c710be5d1a75c3ae287c41e134faebd2f
4
+ data.tar.gz: ec838ad93a3136cbb3fb9d9fdcb572cbe3ebf637
5
5
  SHA512:
6
- metadata.gz: c268339a0ef7ea74834eba71d7f232795b73311a79651b97abea18d92b1c4ba0edeb8da01db720117d9ab36e126341819b9acbab14fefca37d14634812a51b08
7
- data.tar.gz: e784bc4be532a6be37b1637779ab2f7fcf7209455502b0ae6b58b74c77bdda74e5fb07601aaf056c4617c02db716718b61e25d307ed6ebbffc38338356946241
6
+ metadata.gz: 49e9aef48eb2c67ce4e2a1abb0491a3d628414e5fbf76c40a31ef196a32ebd3c0c689dff12008d315a6a42e7ec8ad03532aa1a4b30f3a04bb021d81bf8a0bcd0
7
+ data.tar.gz: 4d5bdf1d4cad2187c594c326ecfbc3423858f40719eb97f907711e619f62664fd7e4c19dcaf36569c94f1e2c7f995ebd8c4812570e7d2f4b14966f749a4e55ac
data/README.md CHANGED
@@ -29,6 +29,6 @@ After installing the Gosu dependencies, you can just `gem install minigl`.
29
29
  * The [wiki](https://github.com/victords/minigl/wiki) is a work in progress with tutorials and examples.
30
30
  * Test package and examples aren't complete!
31
31
 
32
- ## Version 2.0.12
32
+ ## Version 2.0.13
33
33
 
34
- * Fixed `Movement#move` so that an object doesn't collide with itself.
34
+ * Bug fix in `Sprite#animate_once`.
@@ -101,6 +101,7 @@ module MiniGL
101
101
 
102
102
  @index_index += 1
103
103
  @img_index = indices[@index_index]
104
+ @anim_counter = 0
104
105
  @animate_once_control = 2 if @index_index == indices.length - 1
105
106
  end
106
107
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minigl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor David Santos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-31 00:00:00.000000000 Z
11
+ date: 2018-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu
@@ -94,42 +94,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.5.1
97
+ rubygems_version: 2.6.14.1
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: MiniGL
101
101
  test_files:
102
- - test/iso_game.rb
103
102
  - test/game.rb
104
- - test/mov_game.rb
105
103
  - test/game_object_tests.rb
106
- - test/res_tests.rb
104
+ - test/iso_game.rb
105
+ - test/map_tests.rb
107
106
  - test/movement_tests.rb
107
+ - test/mov_game.rb
108
+ - test/res_tests.rb
108
109
  - test/vector_tests.rb
109
- - test/map_tests.rb
110
110
  - test/test.png
111
111
  - test/data/font/font1.ttf
112
- - test/data/sound/1.wav
113
- - test/data/tileset/tileset1.png
112
+ - test/data/img/barbg.png
113
+ - test/data/img/barbg.svg
114
+ - test/data/img/barfg.png
115
+ - test/data/img/barfg.svg
116
+ - test/data/img/btn.png
114
117
  - test/data/img/check.png
115
118
  - test/data/img/image.png
116
- - test/data/img/square3.png
119
+ - test/data/img/img1.png
120
+ - test/data/img/square.png
117
121
  - test/data/img/square.svg
118
- - test/data/img/tile2b.png
122
+ - test/data/img/square2.png
123
+ - test/data/img/square2.svg
124
+ - test/data/img/square3.png
119
125
  - test/data/img/square3.svg
120
126
  - test/data/img/text.png
121
- - test/data/img/img1.png
122
- - test/data/img/barfg.svg
123
- - test/data/img/barbg.svg
127
+ - test/data/img/tile1.png
128
+ - test/data/img/tile1.svg
129
+ - test/data/img/tile1b.png
124
130
  - test/data/img/tile2.png
125
- - test/data/img/square2.svg
126
- - test/data/img/square2.png
127
131
  - test/data/img/tile2.svg
128
- - test/data/img/square.png
129
- - test/data/img/barbg.png
130
- - test/data/img/tile1b.png
131
- - test/data/img/btn.png
132
- - test/data/img/barfg.png
133
- - test/data/img/tile1.svg
134
- - test/data/img/tile1.png
132
+ - test/data/img/tile2b.png
133
+ - test/data/sound/1.wav
134
+ - test/data/tileset/tileset1.png
135
135
  - test/data/img/sub/image.png