Jump to content
IGNORED

Sprite Flickering Code


Engeliron
 Share

Recommended Posts

Hello, I've never attempted flickering before but will need to know how for future games I would like to create. I've searched around the forum for simple examples/snippets of code to create the flicker effect. Also someone mentioned that flickering individual lines of each sprite compared to the whole sprite at once might be the way to go. If anyone knows of super simple code to get a whole character to flicker, or an individual line of each character that would be fantastic. Thanks

  • Like 1
Link to comment
Share on other sites

The "flicker effect" is really a way of saying, "use the available players to draw one set of objects on one frame, on the next frame use the same players to draw another set of objects." and so on. Your kernel basically would at its very simplest keep a frame counter, and a way to specify which objects to draw on a given frame (or maybe a jump indirect that gets rewritten to go to another kernel), etc...

 

-Thom

  • Like 1
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...