Log In  
Follow
Foxelbox
[ :: Read More :: ]

Cart #24724 | 2016-07-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

This is a shader thingy with a few variables and palettes to play around with.
It's all ready to go, but I might introduce dithering into the palettes in the future.

Left / Right changes the active value, and modify values when a value is chosen.
Button 1 activates and deactivates modifying values.
Button 2 changes the palette.

It has a few quirks:

  • The timer makes the image jerk a bit after 32000 seconds when it loops around.
  • Due to the way the pattern is drawn onto the spritesheet, a lot of the patterns will look weird and cut off. This drawing method made it run way faster though.
  • Floating point inaccuracies mess the printed values up a bit sometimes.

Have fun! :>

P#24725 2016-07-06 13:26 ( Edited 2016-07-12 14:14)

[ :: Read More :: ]

Cart #10050 | 2015-04-20 | Code ▽ | Embed ▽ | No License
1


Spent my evening making a simple thing that pokes colors from a few preset palettes to the display memory. Added a modulus feature that makes the scrambling form into a few cool patterns.

Up/Down controls the modulus, Left/Right controls the magnitude (700 max w/ modulus, 1500 without) and Button_A changes the palette.

P#10051 2015-04-20 14:46 ( Edited 2015-04-20 18:51)