Fandom

Petit Computer Wiki

Sprites and Vsync

  • I've started using sprites into my game and I have a problem when setting the sprites. I have this flash effect that happens when I change a sprite, you'll be able to see the sprite being changed and see a flash of the sprite from the top right corner or its home position. I tried to stop this flashing effect by having the sprite be cahnge after vsync has been called but that ends up with the sprite not being changed at certain times. How can I remove the flash effect when chainging a sprite?

      Loading editor
    • If you are repeatedly calling SPSET, that will cause a flicker. If you only call SPSET once and then SPOFS as many times as necessary, you can move a sprite with no flicker. Same rule applies for SPCHR, which can change a sprite's appearance without moving the sprite.

        Loading editor
    • A Fandom user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.