Jump to content
IGNORED

problem with sprite double/quad size X position


Recommended Posts

Hi, if I try to position a sprite with NUSIZ = 5 (double) or NUSIZ = 7 (Quad) the X position is shifted right of a pixel.

With NUSIZ = 0 position is correct.  (the background white is PF2 playfield used to test)

GRP0 and GRP1 = $FF

Is it correct? 

Thanks Alberto

 

NUSIZ = 0 

image.png.83a9700c47d12ba116a77c8421b7241c.png

 

NUSIZ =5 

image.png.ef760b8ac64d3dd9627c822f47457b11.png

 

NUSIZ = 7

image.png.bc5555c3793d3e1754e5a1c61c168da5.png

Link to comment
Share on other sites

Yes, that is expected behavior. Normal size player objects take 5 TIA color clock cycles to display after their RESPx strobing, but double and quad size player objects take an extra color clock cycle to display (so 6 TIA color clocks), effectively displaying them one pixel to the right when compared to normal size player objects.

And note that ball and missile objects always take 4 color clocks after the RESBL/RESMPx strobing, independent of their size. So that means that they are displayed 1 pixel to the left, when compared to normal size player objects.

 

See also:

 

Edited by Dionoid
  • Like 1
Link to comment
Share on other sites

12 hours ago, Dionoid said:

Yes, that is expected behavior. Normal size player objects take 5 TIA color clock cycles to display after their RESPx strobing, but double and quad size player objects take an extra color clock cycle to display (so 6 TIA color clocks), effectively displaying them one pixel to the right when compared to normal size player objects.

And note that ball and missile objects always take 4 color clocks after the RESBL/RESMPx strobing, independent of their size. So that means that they are displayed 1 pixel to the left, when compared to normal size player objects.

 

See also:

 

Thank you. 

Regards Alberto

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