Jump to content
IGNORED

Point function?


CrazyBoss

Recommended Posts

Hi.

 

Any point function in intybasic. I read in the manual for intybasic:

 

COL7
    Returns the collision status between sprites for the current frame. It is
    best to use these after WAIT.
    Don't forget to set the interaction bit in sprites (bit 8 of X-coordinate)
    bit 0-7 means collision against sprite number.
    bit 8 means collision against background pixel (pixel set)
    bit 9 means collision against borders

 

If the sprite touch a background pixel ?

 

Link to comment
Share on other sites

COL0 - COL7 will tell you if respective sprite has hit something. Bit 0-7 for collision with another sprite, bit 8 for background. Once you have determined a collision happened, read the sprite location (probably already in a variable), convert it to screen position and read which card is at that position/positions depending on the shape of the sprite. Is that what you're looking for, a routine that converts sprite position to screen position and returns the content in the cards involved?

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