Log In  
Follow
AntArrow

I’m a random teen with a passion for retro games, programming, and math.


Cart #bitvis-0 | 2025-05-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4


Here is a small visualizer I made to test out the pico 8 bitwise operations.
Use O to switch operations and X to randomize the bytes.

4
0 comments



Cart #wobble-0 | 2025-04-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


Just a little screen shift technique I was playing around with after seeing the glitch effect in SPHONGOS
It uses screen data in RAM to shift scanlines.

2
3 comments



Cart #p8raymarch-0 | 2025-03-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


Here is a raymarcher I made with surprisingly not a lot of code!

3
0 comments



Cart #wfcdemo-0 | 2025-02-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


Here's some pipes made with wave function collapse procedural generation. Press X to generate. The basic idea is random tiles are placed and used to rule out what the tiles around them can be. I found the link below helpful to understand the concept.
https://oskarstalberg.com/game/wave/wave.html
If you want to use it in your own project (although I didn't really optimize) here is the devtool I made to generate the numbers at the beginning.
Cart #wfcdevtool-0 | 2025-02-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

[ Continue Reading.. ]

3
0 comments



Cart #marching_squares-0 | 2024-04-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Basically, I’m working on a digging game and am revisiting something I have worked with in the past: marching squares. I recommend looking it up, but basically the way it works in this project is for each “tile” a table of tables is examined and depending on whether each of the tiles coordinates are on or off the algorithm figure out which sides does the line on the square intersect. Sometime marching squares also uses linear interpolation, but since my screen is stored in binary instead of floating point values I am storing intersection points in separate nested tables. The main thing is that each square is checked, and depending on stored values a specific line might be drawn through it.

[ Continue Reading.. ]

2
0 comments