Jump to content
IGNORED

Is it possible to reduce flicker in my program


jbs30000

Recommended Posts

Just for the heck of it I thought I'd try to make my own version of Q*Bert. Since I want it to be somewhat nicer looking than the original Atari 2600 version I made the flying disks be sprites instead of just using missiles like (I think) the 2600 version does.

 

Usually 3 or 4 sprites doesn't cause me that much flicker, but because I'm using the SuperChip option and a 32 high playfield I think that it's making the flicker worse.

 

Now I know it's impossible to eliminate it, and using the multi-sprite kernel isn't an option because mirroring half the screen won't work for a game like Q*Bert.

 

So, are there tricks I could use, like turning something off that would free up more time for scanning the screen? Or am I just going have to accept the fact that I'm stuck with 2 sprites and use missile1 and the ball for the disks?

QBert.bas

QBert.bas.bin

Link to comment
Share on other sites

Well yeah, I am planning on making a playable version, but the flickering really bothers me. It makes the sprites appear too transparent.

 

Using missile1 and the ball for the disks (I'm using no_blank_lines so I can't use missile0) works, but then I'm only limited to using 2 sprites, so if I want, say Q*Bert, Coily, and a red ball on the screen all at the same time, I can't.

 

If I used the standard playfield I wouldn't have as much as a problem, but I need it to be 32 pixels high.

 

Anyway, I'll figure something out I guess. It isn't that big of a deal.

Link to comment
Share on other sites

No, when I tried using player0 twice AND player1 twice the flicker was really horrible. If I just use player0 twice the flicker is tolerable. And I only need 1 copy of the ball and missile1, so I'm good there.

 

So now that I've decided on that, and have a playfield that I like, all that's left is the game play. For me, it's going to be a little tricky because it's not simply a matter of changing x and y coordinates, I also have to change QBert's sprite while he's jumping, and then again when he lands, and then for Coily (the snake) whenever he lands, I need to change to the sprite where he's all bunched up, and then switch back to normal.

Link to comment
Share on other sites

No, when I tried using player0 twice AND player1 twice the flicker was really horrible. If I just use player0 twice the flicker is tolerable. And I only need 1 copy of the ball and missile1, so I'm good there.

 

So now that I've decided on that, and have a playfield that I like, all that's left is the game play. For me, it's going to be a little tricky because it's not simply a matter of changing x and y coordinates, I also have to change QBert's sprite while he's jumping, and then again when he lands, and then for Coily (the snake) whenever he lands, I need to change to the sprite where he's all bunched up, and then switch back to normal.

 

When you tried using player0 twice AND player1 twice were you setting COLUP0 and COLUP1 before each drawscreen? If not, that is the reason flicker is bad. Also, Stella will appear to flicker a little unless you use Alt-P for phorphor effect. The phoshor effect simulates what it would be like on a real 2600 and real T.V.

Link to comment
Share on other sites

When you tried using player0 twice AND player1 twice were you setting COLUP0 and COLUP1 before each drawscreen? If not, that is the reason flicker is bad.

Yes, I changed colors before both drawscreens.

Also, Stella will appear to flicker a little unless you use Alt-P for phorphor effect. The phoshor effect simulates what it would be like on a real 2600 and real T.V.

Wow, that makes a big difference, no flicker at all. I might just try that with four sprites. I'm surprised it's not the default option. Thank you.

Link to comment
Share on other sites

Wow, that makes a big difference, no flicker at all. I might just try that with four sprites. I'm surprised it's not the default option. Thank you.

 

Real systems do flicker somewhat noticeably when objects are shown every other screen. The alt-P option makes games look nicer than they would on a real system; in some ways that's good, but in other ways that's bad. It might be best if there were an option to make each displayed frame be e.g. a blend of 50% the current frame, 25% the frame before that, 12% the frame before that, etc. That would cause games that flicker at 30Hz to flicker slightly (objects would alternate between 67% and 33% brightness) and those that flicker at 20Hz to flicker somewhat more (objects would flicker between 57%, 29%, and 14% brightness).

Link to comment
Share on other sites

The alt-P option makes games look nicer than they would on a real system

 

But by "a real system", what do you mean?

 

A 2600 plugged into an old tube T.V. via the old cable connector might act differently than the same 2600 via a new-fangled A/V converter into an LCD HDTV I'd think. Or is that wrong and it is still all about hertz and very little about phosphor?

 

I think every other frame flicker in bB games I've played are for the most part acceptable in Stella without phosphor effect, but obviously look better without flicker; however, unless you are using multisprite kernel in bB it is pretty hard to do a whole lot without a little EOFF ("every other frame" flicker). (Sorry, just felt like inventing a new acronym.)

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