
- Forum
- General Help
- Games
- [F9 CS3] Jaggies flickering when scrolling: Is this a Flash issue or just perception?
-
[F9 CS3] Jaggies flickering when scrolling: Is this a Flash issue or just perception?
I'm scrolling a bitmap that has intentional jaggies in it. They're diagonal waves drawn with blocks that are 4x4 pixels each. They look like the hills from <a href="http://vgmaps.com/Atlas/NES/SuperMarioBros2-World1-Area1.png">here</a>, except four times as large. When I scroll them by at 8 pixels per frame, the areas that are heavy with jaggies look like they're flickering.
I was considering doing some form of double buffering with this, but when I think about it I doubt it'd help.
Any ideas on how to get them to not flicker?
I've tried increasing the frame rate, but that doesn't seem to matter.
Slowing the rate of scrolling drastically stops the flickering, but that's not an option.
-
Heli Attack!
I think what you're seeing is tearing. And it can't be fixed, there is no way to vsync Flash atm.
-
Senior Member
That's an inherent optical effect from unsyncronized displays. Even with syncronization (Vsync iopred mentioned) you can still get the effect appearing based on the amount of scroll. For example on the TV console game systems, if you scrolled a level by multiples of 2 (ie, shift the screen by 1, 2, 4, 8 etc pixels) each screen refresh, the effect would look perfectly smooth. But if you used a value like 3, 5, 6, 7 etc it looked blurry/jerky.
Weird but true.
-
Thanks, guys. I suspected as much. At least I know I can give up on having the jaggies in the bitmap now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|