Engeliron Posted September 26, 2016 Share Posted September 26, 2016 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 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted September 27, 2016 Share Posted September 27, 2016 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 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.