Tiny Code Christmas - Day 9⌗
Today we’re look at a classic shadebob effect. Combine some nice motion patterns with an additive drawing effect and master today’s challenge. For TIC-80 users we’ll also be taking a look at the poke function and how can use it to set our pixels and our palettes.
Liquidream has helpfully provided a PICO-8 palette that is suitable for gradient usage, compressed using 2DArray’s “Palette Maker” to 25 chars:
The Challenge: Shade the Bob⌗
The first challenge is to get an animated shadebob effect on the screen! Use sin and cos to create an animated shadebob, you’ll have to do the additive bit yourself!
You can check out our Day 9 video above for an overview on this type of effect.
The second challenge is to keep your effect at a maximum of 256 characters. For TIC-80 experiment with some of the palettes from the Bytebattle page on sizecoding.org!
The Expert Challenge⌗
These expert challenges will push your sizecoding knowledge to the limit! Don’t forget to check out our previous Expert Challenges!
- Shadebob(s) with a minimal size of 32 pixels
- moving in varying circular/sine pattern
- 128 character limit, the smaller the better!