Jump to content
IGNORED

Resetting Sprites and Balls


three2em

Recommended Posts

Hello again,

 

So I've been wracking my brain over a bug (?) I'm having. I noticed that the position of the ball (which I'm using as the player's missile) is always 1 pixel behind where it should be, even though the timing of it's positioning algorithm is exactly the same as the positioning algorithm for my sprites. So I dug closer and began taking note of where the ball was positioned after a RESBL call (scan cycle - pixel position) and noticed that when I did a RESBL at the exact same scan cycle as RESP0/1, the position of the ball was always 1 pixel before the sprite. Could this really be? Is there an explanation for this? Thanks.

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