minigl 2.3.3 → 2.3.4

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/movement.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8864115892b3cc8a853b6bea09aaa768f0750f40e1f39f247177db200c52dcc
4
- data.tar.gz: 29bb72b4cf14e1e0b53850b46b5eeabc9de348854af4947ee803310e9fd7ff42
3
+ metadata.gz: cadd81a84bfdc1c4075f72b52b3ef6237bfeb2905646c6a539e754ba91ab9feb
4
+ data.tar.gz: 69c54b89125351d5248b9605d6e32b9ae281cb84d50c93ce26c87836f0fb80f5
5
5
  SHA512:
6
- metadata.gz: '09d5fdd7c6d7bfed2ef5a026b8b1754ca24c9cd1116e8dc4c3e2ef113e8253f15831cb9a8d29d5ccd6a71e8a002b46ee27ccffe42f9ccca15c2cdfe00646862b'
7
- data.tar.gz: 5ea1ff3572568e194a6ee4dae01b9ed9df11bedfa31738457ca449401708b0490a7f73e1a3f3a9f82eced6030f4ec35418e2ef48f3fd30b542466879d3db5d0d
6
+ metadata.gz: 01f2fdc4c5ee559a571e84a27a408787f5e10ae92e881a41f8304ed54ecb62a58f804b999f50761e2656d5457253c0832747c3697a97364e40da7dfa566b1d96
7
+ data.tar.gz: 3c5080247dc013cb1d5c44e4d37343938feb348b76bc8af0183471deb7e449798434345eabaf6cd0885b7c2a6cb39a0a043c7af38b6bcef00491e400a87abe38
data/README.md CHANGED
@@ -29,9 +29,9 @@ 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.3.3
32
+ ## Version 2.3.4
33
33
 
34
- * Fix bug in `Movement#cycle`.
34
+ * Attempt to fix bug: objects going through ramps sometimes.
35
35
 
36
36
  ## Contributing
37
37
 
@@ -111,7 +111,7 @@ module MiniGL
111
111
  # [obj] The object to check intersection with. It must have the +x+, +y+,
112
112
  # +w+ and +h+ accessible attributes determining its bounding box.
113
113
  def intersect?(obj)
114
- obj.x + obj.w > @x && obj.x < @x + @w && obj.y > get_y(obj) && obj.y <= @y + @h - obj.h
114
+ obj.x + obj.w > @x && obj.x < @x + @w && obj.y > get_y(obj) && obj.y < @y + @h
115
115
  end
116
116
 
117
117
  # :nodoc:
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.3.3
4
+ version: 2.3.4
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: 2020-08-31 00:00:00.000000000 Z
11
+ date: 2021-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu