Jump to content
IGNORED

Pixel Width of Players


Erik Zimmermann

Recommended Posts

14 minutes ago, Erik Zimmermann said:

I need a player more than 8 pixels wide. Is this possible in Batari?

Short answer: No.

 

Long version:

The players are 8px width (in bB and ASM), but you can use the TIA NUSIZx register to:

  • make the player pixel double or quad size
  • use both players (and maybe even their copies)
  • add one or both missiles to your player as a 1px line (also in double or quad mode)

for more information about the NUSIZ register and player/missile sizes and copies see:

http://www.taswegian.com/WoodgrainWizard/tiki-index.php?page=NUSIZ0

 

 

  • Like 2
Link to comment
Share on other sites

Players are always 8px wide per scanline.

 

With assembly you can modify NUSIZx and/or shift the players left/right on every scanline to make the overall image wider than 8px, though each scanline is still limited to 8px. This technique was used back in the day with a number of games, such as Boxing and Dolphin.

 

1584625030_Boxing(1980)(Activision).thumb.png.9523d931386484531089f18790f9363b.png

 

58503714_Dolphin(1983)(Activision).thumb.png.7bccb145468084cab32663331b90b734.png

 

Those screenshots were taken using Stella's Debug Color Mode feature. It's very useful to figure out how a game's display was created.

 

1776167302_ScreenShot2022-01-19at10_37_17AM.png.c2040874e3a66736a6510648921256ab.png

 

Red = player0, orange = missile0, yellow = player1, etc.

 

I used this technique (just line shifting, no changes to NUSIZx) to draw the Dragon in Medieval Mayhem, large asteroids in Space Rocks, and the space stations in Draconian.

 

1232090491_MedievalMayhem(NTSC).thumb.png.3900580451eaf684960098f9d3496072.png

 

spacerocks20121129_NTSC_encore.thumb.png.b124d03f44c0fd2658a1c298716e804e.png

 

Draconian_1.thumb.png.520131a215f8d6ad6b64d567b6d23f40.png

 

  • Like 3
Link to comment
Share on other sites

  • 3 months later...

wow this looks like an epic discovery.. I wonder why it was not used that much in later times when ram was a bit higher because of lower prices.
By the way, so you can then keep shifting the player in away that it can extend over the 48 color clock limit, or maybe what I mean is the sprite can be as wide as the 160 color clocks then as long as you can shift it that far though :D - btw, that must be the best looking dragon on the Atari 2600 ever!!!

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