Jump to content
G-type

Adventures of Tron (hit detection)

Recommended Posts

Can anyone pinpoint where exactly the hitbox is to register a collision between your man and the bit? As near as I can tell its his legs (only while jumping; disabled when dropping down a level or riding an elevator)

Share this post


Link to post
Share on other sites

...pixel touch to each other.

<nitpickmode>Actually they have to overlap.</nitpickmode>

Share this post


Link to post
Share on other sites

... but which pixels are used? because many times, they appear to pass through each other unimpacted. (its one of the frustrating points of the game)

Edited by G-type

Share this post


Link to post
Share on other sites

Each object you see is created either by a player or a missile. The game uses the hardware to check for collisions between players and missiles, and the hardware doesn't care which pixels overlap.

This sounds perfect, but only as long as there is not flicker combined with too fast moving objects. Then the collision may not trigger if the overlapping is only virtual. E.g. if a missile goes through a target, and the moment they would overlap, either the missile or the target is not drawn due to flicker. Then hardware cannot detect the collision.

 

Maybe that's the case here.

Share this post


Link to post
Share on other sites

so perhaps the reason it seems that it only registers a collision when the legs touch is that is maximizes the amount of time the two items are overlapping?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...