Campfire (trying to simulate fire)
![Crazy Bicycle](https://games.phoneky.com/pics/crazy-bicycle1x.jpg)
![Funny Camping Day](https://games.phoneky.com/pics/funny-camping-day1x.jpg)
![Inferno. Meltdown](https://games.phoneky.com/pics/inferno-meltdown1x.jpg)
![The Remains of El Dorado](https://games.phoneky.com/pics/theremainsofeldorado1x.png)
![Defender for Pico8 1.6](https://games.phoneky.com/pics/defenderforpico8161x.png)
![The Wizard Pig](https://games.phoneky.com/pics/thewizardpig1x.png)
![The Flaming Forest](https://games.phoneky.com/pics/the-flaming-forest1x.jpg)
![Puyo Trainer!](https://games.phoneky.com/pics/puyotrainer1x.png)
![Spring Physics 0.1](https://games.phoneky.com/pics/springphysics011x.png)
![Thunder Blade (well level 1 at least...)](https://games.phoneky.com/pics/thunderbladewelllevel1atleast1x.png)
![TinyRogue for Thumby v1.0](https://games.phoneky.com/pics/tinyrogueforthumbyv101x.png)
![Italian Front 1944](https://games.phoneky.com/pics/italian-front-19441x.jpg)
![Aquapark Surfer Race](https://games.phoneky.com/pics/aquapark-surfer-race1x.jpg)
![Sky Fighters](https://games.phoneky.com/pics/skyfighters1x.png)
![A Very Warm Fire](https://games.phoneky.com/pics/averywarmfire1x.png)
![Tweet Invaders DX Space Invaders in 560 characters](https://games.phoneky.com/pics/tweetinvadersdxspaceinvadersin560characters1x.png)
![Robotron](https://games.phoneky.com/pics/robotron24361x.png)
![Fire Temple and Ice Mountain](https://games.phoneky.com/pics/firetempleandicemountain1x.png)
![SUPER KILL EACH OTHER](https://games.phoneky.com/pics/superkilleachother1x.png)
![Real-time fire effect](https://games.phoneky.com/pics/realtimefireeffect1x.png)
![Playing with Fire 2](https://games.phoneky.com/pics/playing-with-fire-21x.jpg)
![Baby Taylor Fireman Dream](https://games.phoneky.com/pics/baby-taylor-fireman-dream1x.jpg)
![Run little dragon!](https://games.phoneky.com/pics/run-little-dragon1x.jpg)
![Splitty Adventures](https://games.phoneky.com/pics/splitty-adventures1x.jpg)
![Ice And Fire Twins](https://games.phoneky.com/pics/ice-and-fire-twins1x.jpg)
![Fireman Rescue Maze](https://games.phoneky.com/pics/fireman-rescue-maze1x.jpg)
![Run Run Rudolph](https://games.phoneky.com/pics/runrunrudolph1x.png)
![Rabbictuary](https://games.phoneky.com/pics/rabbictuary1x.png)
![Bubble Shooter Challenge](https://games.phoneky.com/pics/bubble-shooter-challenge1x.jpg)
![10 Blocks](https://games.phoneky.com/pics/10-blocks1x.jpg)
![Soldiers Fury](https://games.phoneky.com/pics/soldiers-fury1x.jpg)
![AXE Master](https://games.phoneky.com/pics/axe-master-game1x.jpg)
![Thopter Escape](https://games.phoneky.com/pics/thopterescape1x.png)
![Canyon Crisis](https://games.phoneky.com/pics/canyoncrisis1x.png)
![Pumpkin Carving](https://games.phoneky.com/pics/pumpkin-carving1x.jpg)
![City Siege 3. Jungle Siege](https://games.phoneky.com/pics/city-siege-3-jungle-siege1x.jpg)
![Vortex Invader](https://games.phoneky.com/pics/vortexinvader1x.png)
![Tales of the Arabian Nights](https://games.phoneky.com/pics/talesofthearabiannights1x.png)
![Picodroid](https://games.phoneky.com/pics/picodroid1x.png)
![Swarmed](https://games.phoneky.com/pics/swarmed1x.png)
![Missile Command](https://games.phoneky.com/pics/missilecommand34721x.png)
![The Kingdom of Eftal](https://games.phoneky.com/pics/thekingdomofeftal1x.png)
![Niji-Famicart](https://games.phoneky.com/pics/nijifamicart1x.png)
![Super PICO Runner Brothers](https://games.phoneky.com/pics/superpicorunnerbrothers1x.png)
![Advanced Binman Simulator](https://games.phoneky.com/pics/advancedbinmansimulator1x.png)
![Fire with wind](https://games.phoneky.com/pics/firewithwind1x.png)
![Asteroids 2](https://games.phoneky.com/pics/asteroids21x.png)
![Skyline](https://games.phoneky.com/pics/skyline1x.png)
Campfire (trying to simulate fire)
Campfire
This is just me trying to simulate fire in Pico8 without shaders or fancy particle systems.
My approach is :
At load time :
Generate bursts of animated particles
Each particle increments the brightness value for the pixels it sits on
The burst animations are baked into the spritesheet
At run time :
Animate the baked sprites (moving them up)
Again, add the brightness values together
The brightness value (which is just a color from 0 to 7) is mapped to a fire shade with pal().
There are other particle systems for bursts of sparkles and fireflies.
Any thought? What would be your approach?
v2 update
use colors 0 to 7 for fire shades : no table needed to store brightness values
bake animations into spritesheet for performance
got rid of smoke
add flickering
nicer fireflies and flying ember
add clouds
v3 update
press a button to toggle scene onoff (monitor CPU usage of fire only)