minigl 2.5.2 → 2.5.3

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 +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d76d1851d74339e98ce7cf452a95f001ff0dc5d757641dc22920769905aa0f7
4
- data.tar.gz: a3ac0315dc9fb04cdafaac737e90678f58d7aea3b694d8662e2cd447f2eb4622
3
+ metadata.gz: 68211fceca8d7ae8aa416937945fad5b0bb38472921934a91043be0c9b1b9bae
4
+ data.tar.gz: d1bcd43819bac3ea5cd6350cb60dee47ea0061ca3e6c8630c8d6e38875c54b50
5
5
  SHA512:
6
- metadata.gz: b2d9f56c53f76cf02461c8d76aca13836e9010e8265394e8fcc59a372e22ad145f5d8572beb33d4cf498632e425d9b0a0c905fe0f3ddd566aa31b841a96dc84e
7
- data.tar.gz: ad58132b5c6ea3bd4b377648e3ed02421f32783ba8dadbb80cdb6edcbe12b09bea720a15fd64d41dfaa8e78aa1956490e376e62c4e5e3c3219d9e35cd9d6fc69
6
+ metadata.gz: 7649c55704a2313667656b52be2c07b51b40db3315bc56b8ece91917e866dec0c193becb3c4b9f6223d73f2ba9b4b33a43cfb77def99ccad06c8b78ab8602328
7
+ data.tar.gz: fa0e240e39c69abf95b450d2aa474f5520c8898df93c7539743e9f6da7a06964c827951f204d61d50f2a15ad7b9de133796458173ca7a80c326a9e94b39b29f9
data/README.md CHANGED
@@ -43,9 +43,9 @@ After installing the Gosu dependencies, you can just `gem install minigl`.
43
43
  * The [wiki](https://github.com/victords/minigl/wiki) is a work in progress with tutorials and examples.
44
44
  * Test package and examples aren't complete!
45
45
 
46
- ## Version 2.5.2
46
+ ## Version 2.5.3
47
47
 
48
- * Added `source_offset_x` and `source_offset_y` initialization options and `move_to` method to `Particles`.
48
+ * Fixed small collision bug in `Movement#move`.
49
49
 
50
50
  ## Contributing
51
51
 
@@ -526,7 +526,7 @@ module MiniGL
526
526
  end
527
527
  end
528
528
 
529
- private
529
+ private
530
530
 
531
531
  def check_contact(obst, ramps)
532
532
  prev_bottom = @bottom
@@ -578,7 +578,7 @@ module MiniGL
578
578
  def find_down_limit(coll_list)
579
579
  limit = @y + @h + @speed.y
580
580
  coll_list.each do |c|
581
- limit = c.y if c.y < limit && c.y >= @y + @h
581
+ limit = c.y if c.y < limit && (!c.passable || c.y >= @y + @h)
582
582
  end
583
583
  limit
584
584
  end
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.5.2
4
+ version: 2.5.3
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: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu