scawful / Oracle-of-Secrets

Custom Code for the Legend of Zelda: Oracle of Secrets ROM hack
11 stars 0 forks source link

Improve Minecart Sprite tile collision detection #38

Closed scawful closed 3 months ago

scawful commented 7 months ago

Currently the tile collision for the Minecart is done using the Sprite_GetTileAttr function here

https://github.com/scawful/Oracle-of-Secrets/blob/master/Sprites/minecart.asm#L331

And it is currently not adjusted based on the direction the cart is going which leads to inconsistencies with the placement of collision tiles for corner movement and stopping. This should be changed so the coordinates of the tile detection are directly under the cart in a very clear area and don't change states too soon.

scawful commented 3 months ago

All that's left to do for the carts is the gravity logic for cart tossing and optimizations based on beta tester feedback