• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Tile Collisions (half tiles)

R

Rukiri

Guest
I followed Heartbeasts tutorial on tile_collisions which works however I'm still colliding at 16x16 which is fine if the entire tile were filled, but I have tiles that would be considered half tiles. I'm not looking to do sloped as I'm working on a RPG, but I just want to colide with a tile that has active pixels. Think Zelda, you would have half tiles and can move along them smoothly.

Anyone have an idea of doing this smoothly with tile collision? I have tried setting the mask but even that has not helped..:(

Here's my tile collision set (16x16)
 
Last edited:

Mike

nobody important
GMC Elder
Do a separate collision map that is either 8x8 or 16x8. Don't use the graphic tiles as the collision map.
 
Top