Hi everyone!
I made this simple 2D heat simulation to experiment a bit with PICO-8. It solves the steady-state heat transfer equation iteratively using the Gauss-Seidel method and it shows the evolution of the solution at each step. During the simulation the fps gets a bit low since the grid is fairly big (128x128), but anyway I think it gave an interesting result so I decided to post here! I hope you like it.
You can edit the configuration of the simulation using the mouse functionality to add or remove high and low temperature boundaries. If a boundary does not have a fixed temperature block it is considered an open boundary (dT/dx=0 or dT/dy=0).
Thanks and all feedbacks are very welcome!

How to play:
arrow keys to move cursor
X to open cell
O to place a flag
You need to open all cells which don't contain bombs.
Number of bombs around a cell equals numeric label of that cell (e.g. cell with number 1 has one bomb hidden in adjacent cells).
Place a flag to mark a cell which you think contains a bomb.
I really wish you could use the alternate colors (the ones shown in this video: https://youtu.be/AsVzk6kCAJY) in the sprite editor, because one of the colors is perfect for a sprite I need, and none of the other base colors do it for me. It would be nice if you could hold down a key combo and the colors would change to the alternate ones.
Edit: And yes, I understand that you can only have 16 colors on screen at a time. But it would be nice if you could toggle certain colors, so you only have to replace some of them.



A recreation of the Videlectrix video game, Secret Collect. from homestarrunner.com, as featured in Strong Bad Email, Video Games (http://www.youtube.com/watch?v=R22zSrpeSA4).
Play something that probably only looks kinda like Strong Bad. Run all around a futuristic maze collecting things that look nothing like Strong Bad.
This was my first go at creating something for Pico-8, so I figured recreating this simple game would be a good start. I am interested in recreating other Homestar Runner games in the future, as the death of flash has left modern web browsers unable to play them.




BoozeSnek
Official port of PePuSnek for SCRIPT-8, improved.
WARNING: Contains flashing lights!
Changelog
- 14-11-2020
- Changed scoring rules; points are now accumulated, instead of calculated when the game ends
- Added persistent HiScores
- Music on/off setting is now persistent





Yahtzee Roller
Controls:
D-pad to move, hold and unhold
X to Roll
O to Reset
Have you ever wanted to play Yahtzee, but don't have any dice? Fear no more!
Yahtzee Roller is a Pico 8 dice roller so you can play Yahtzee on the go.
You have 3 rolls to match all the dice and get that Yahtzee.
Note: This is only for rolling purposes. If you want to play a full Yahtzee game, you'll need your own Scorecard.
Info:
I'm still pretty new to coding. This was a fun weekend challenge for me. The code is not super efficient, but hey it works and I'm happy with the result. I hope you enjoy playing and would love any feedback you have!





I've got an interesting bug. It only happens in PICO-8 itself. The bug can be reproduced with the following small program and reproduction steps:
function _init() menuitem( 1, "switch weapon", function() --if (getthunder()==1) hwep=(hwep+1)%2 end) end function _update() end function _draw() end |
Steps to reproduce:
- Run the program.
- Quit to console with ESC.
- Type:
x=10
Any variable will cause the bug.
- Type:
resume
-
Press enter to bring up in game menu. Choose "switch weapon"
- Observe crash. See image.


Hi,
I'm pulling together a simple animation that shows some electrochemical concepts.
I've managed to get an "ion" moving around a simple electrochemical cell (anticlockwise flow) using some random movements with some bias to help "push" the ion in the right direction to simulate flow. Its not perfect and there are no doubt much simpler ways to do this, but my coding skills aren't up to it so I've hacked this together - please excuse the mess!
Anyway, I am trying to get the white "ion" to turn green when it hits the electrode (aka grey box) and stay green. I'm doing this by checking if the "ion" is within the bounds of the electrode, and also that the electrode is powered up (variable pwr=1). As far as I can see, it should work, but after literally hours trying to figure out why its not working, I'm close to giving up, and thought I'd see if I was missing a really obvious thing - as I say, I'm not a good coder, just muddle by!
Any help would be very much appreciated.


This is a simple agar.io like game that I made
How to play:
Arrow keys to move
X to reset
Eat circles that are smaller than you by moving to them. The more you eat, the larger you get and the more circles you can eat. Be careful though, as you might get eaten by larger circles! You might get eaten as soon as you eat another circle because I made it so that a circle spawns (that might be smaller or larger than you) as soon as you eat a circle.
