Jump to content
  • entries
    39
  • comments
    0
  • views
    820

Sprite Positioning


Piledriver

30 views

Sprite positioning on the 2600 is a lot weirder than you'd expect.  For some reason my missiles were always off by a pixel.

Incorrect.png.f48c18e1dd961fe7ca3aaec096403015.png

 

I hacked in some missile offset code to compensate and make things look good.

Correct.png.a11076a9ee3c67bdc7d0fcf8a2e0bfe1.png

 

The sprite positioning code in my book and other online sources all pretty much had the same issue.  Then I found this:

https://bumbershootsoft.wordpress.com/2018/08/30/an-arbitrary-sprite-positioning-routine-for-the-atari-2600/

 

When I put in this sprite positioning code I had to undo my hack to make things look right.

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

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