Jump to content
IGNORED

More than Two Sprites?


jdrose

Recommended Posts

The 2600 only supports two missiles, two sprites (players), playfield and a ball.

 

However, many games seem to suggest that a good number of (non-blinking) sprites can be displayed at the same time. Having trouble doing that myself without inducing serious blink.

 

I am trying to get 15 examples of the same round object to display on the screen at once:

 

Org $FF00

 

SpriteData

.binary %00111100

.binary %01111110

.binary %11111111

.binary %11111111

.binary %11111111

.binary %11111111

.binary %01111110

.binary %00111100

 

I can do it but the blinking is terrible.

 

What are some of the programming concepts that allow more than two sprites to be cleanly displayed at once?

 

Thanks.

Link to comment
Share on other sites

You need to reposition and reuse the sprites as the screen is being drawn. Using Stella's fixed debug colors* you can see how I do this in Frantic:

 

post-3056-0-73718900-1326311830_thumb.png

 

post-3056-0-93019200-1326311838_thumb.png

 

The maroon sprites are drawn using player 0, the other is player 1. At the bottom the 2 faint maroon ones are drawn using flicker as there's 3 sprites in the same area.

 

 

 

* toggle it via COMMAND-Comma on Mac or ALT-Comma on Linux/Windows

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