Jump to content
IGNORED

Removing flickering sprites?


Serguei2

Recommended Posts

lol @ BP

 

The reason that the sprites flicker is because the 2600 only has 5 of them. 2 "player" sprites that are 8 pixels wide, 2 "missile" sprites that are 2 pixels wide, and a single-pixel "ball". The display is 1-dimensional (so it's up to the game's display kernal - the core engine of the game - to determine which sprites appear on any given scanline at one time), and the 6507 processor is only allowed a mere 76 machine cycles to update on any scanline. While some limited additional capabilities exist (like sprite doubling or tripling and 3 pixel sizes), the display kernal of some games like Pac-Man limit the sprites to only 1 of each on any given television frame. In order to change it, the game would almost certianly need to be totally rewritten.

 

Gotta remember, this thing was designed with Pong-type games in mind ;)

Link to comment
Share on other sites

I know that 2600 is limited by following Andrew's lessons but since I played Lock 'n Chase (Pac-Man like) without any flickers I was sure it could be fixed some flicker games.

Lock 'n Chase is a good example about programming tricks.

 

Two cops are drawn by using one player object, the other two by using a missile object (different widths and shifted!).

 

To avoid any flicker those two cops, drawn by the same object never overlap, they even sometimes reverse direction. Watch them closely and you will notice this.

 

Very clever programming there.

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