minigl 2.3.3 → 2.3.4
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/minigl/movement.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cadd81a84bfdc1c4075f72b52b3ef6237bfeb2905646c6a539e754ba91ab9feb
|
4
|
+
data.tar.gz: 69c54b89125351d5248b9605d6e32b9ae281cb84d50c93ce26c87836f0fb80f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
32
|
+
## Version 2.3.4
|
33
33
|
|
34
|
-
*
|
34
|
+
* Attempt to fix bug: objects going through ramps sometimes.
|
35
35
|
|
36
36
|
## Contributing
|
37
37
|
|
data/lib/minigl/movement.rb
CHANGED
@@ -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
|
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.
|
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:
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gosu
|