Skip to content

Tile collisions #1891

Closed
wants to merge 10 commits into from

6 participants

@kyleconroy
Journey to the Center of Hawkthorne member

Fix #1884. This is an inprogress shot of replacing the collision detection with precise detection. The following levels have been adjusted

  • Town (ignore the weird blocks and ramps)
  • Valley Sandpits 2
  • Valley 2

What I need from everyone else is testing. Pull down the branch and test. You'll need to jump straight to those levels I listed above (otherwise it will crash).

@edisonout I'm really looking for you to test, since you've had trouble with our slopes before.

Also note, enemies and nodes and a bunch of other stuff is broken as well.

@didory123
Journey to the Center of Hawkthorne member

Enemies are falling off, but I assume that's eventually going to be fixed later? Also, in the sandpits, for the moving platforms that go back and forth horizontally, you can stand in midair on the part that's sticking out even when the player isn't directly on top of the platform. Killing floor and climbable nodes don't seem to work for some reason either. But otherwise, slopes look much much better.

@CalebJohn
Journey to the Center of Hawkthorne member

It seems like when you walk off the edge of the block you drop extra fast, or is that just me? either way I'm loving this it feels more natural.

@kyleconroy
Journey to the Center of Hawkthorne member

@didory123 yep, all those issues are known and will be fixed. I'm just looking for feedback on the physics of things. @CalebJohn I agree, I'm not sure what's up with that. I think it has to do with me not setting player.velocity back to 0

@edisonout
Journey to the Center of Hawkthorne member

👍 👍 👍

All working well for me. I can slightly walk into wall in sandpits-2 but that looks like it's just how the blue boxes have been placed in the tmx.

@danhp
Journey to the Center of Hawkthorne member
danhp commented Nov 13, 2013

It seems that tip calculation isn't perfect.
2013-11-13_10-38-47

@edisonout
Journey to the Center of Hawkthorne member

Do you want any help with this? Not sure how much use I'd be coding, but could definitely help out with Tiled.

@niamu niamu closed this Jul 17, 2014
@niamu niamu reopened this Jul 17, 2014
@CalebJohn CalebJohn referenced this pull request Jul 31, 2014
Merged

Tile collisions #2139

@edisonout edisonout closed this Sep 8, 2014
@niamu niamu deleted the tile_collisions branch May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.