Jump to content

Recommended Posts

Good evening everyone,
I'm currently analysing a future idea.
I'm wondering how to manage the collisions between the taxi sprite, in green on the screenshot, and the background, the characters in white, as finely as possible.
For the solid characters, those in purple, it's simple.
But the non-full characters, in blue, are bothering me...

If you have any tips, I'd be interested.

If more than 50% of the character is white, then the full character is considered an obstacle, otherwise it's OK!

I can redesign the decor so that I only have full characters, but the result will be rather crude...

image.thumb.png.50cb32cb3fe45277ab39f655f783239e.png

 

 

Link to comment
https://forums.atariage.com/topic/374197-reflections-on-collisions/
Share on other sites

I usually reserve TileID 192 and up to be solid tiles only, TileID below to be special tiles to be 1 way pass through tiles or a hazard tiles.  You could have half white tiles in this section to make your taxi sink into the tiles further.  All the tiles below that would be no collision tile.

I think you would need to make slope tiles, this is a good tutorial https://www.patreon.com/posts/tutorial-slope-16857707
but instead of lerping between two values just keep all the pixel offsets in different tables for the tiles, it takes a while to figure out how it works and get it right but it can be done

After trying it I take back my suggestion, It probably can be done that way but it would be a nightmare making tables for all the different directions you can fly into it.
Maybe colecovision has some kind of collision/overlap register that can be used instead?
 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...