Jump to content
IGNORED

Sprite Clipping


IronWorks

Recommended Posts

After seeing the excellent Playsoft conversion of "Biscuits in Hell" on the 8 bit. I thought I would see what it could look like on the lynx.

I don`t remember if this has been said before but the lynx handles clipping differently on the left or right of the screen.

With HOFF VOFF at zero if you move the player character left to the edge as soon as a part of the sprite goes off a pixel it disappears.

But this does`nt happen on the right side it gets clipped.

Also horizantally flipping the sprite causes it to be clipped on the left side too.

(slightly strange but useful ☺️)

biscuits.o

Link to comment
Share on other sites

5 hours ago, IronWorks said:

if you move the player character left to the edge as soon as a part of the sprite goes off a pixel it disappears.

But this does`nt happen on the right side it gets clipped.

Set the sprite xpos and vpos values using signed int variables and this will not happen

Link to comment
Share on other sites

Thanks for the info guys, as I only want manipulate one byte in hpos and not add hoff offsets.

My kludge was to move the action point to the center of the sprite this clips up to half the sprite whichever way it`s facing.

Edited by IronWorks
Typo
Link to comment
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.
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...