Hello! I need some help with a code.
My idea is that rock after contact with a snake is reflected with the same angle. Think about an arcanoid but instead of a paddle we have a procedural snake that you move with arrows. But I just can’t figure out how to make it. I have the snake, it has a collision box on each “ball” of the body. But I just can’t make it reflect with the right angle and on each side of the snake.
for b in all(snake) do if col(rock,b,true,true)==true then rock.col=9 local rflct=v_sub(v(rock),v_scale(v_norm(b),2*v_dot(rock,v_norm(b)))) local thisang=calcang(rock,rflct) if thisang>0.5 and thisang<0 then rock.sx=-rock.sx else rock.sy=-rock.sy end --[[if b.ang<0.5 and b.ang>0 then rock.sx=-rock.sx else rock.sy=-rock.sy end]]-- rock.skip=10 end end |
I had an idea that, after collision with any “ball”, it takes its direction as a normal and reflects. Also it set up a timer for a few frames so it’s not caught in different “ball's” collisions. But I just can’t put this logic into code, vectors making my head hurt lol. If anyone can help me or offer a different/easier solution it would be incredibly helpful!
ACID RACE
v1.2: no more lag in a tight pack, even in the rain. Changelog at the bottom.
Controls
- arrows — steer · up gas · down brake / reverse
- X — handbrake: throw it into a slide
- Z — nitro
- Snow Peaks: stuck? stop and hold Z — the marshals put you back
- Drag Strip: hold up to keep the revs in the green, X on the green light to launch, X again to shift, Z nitro
- menu: X select, Z back · the controls are also shown on every stage's setup screen
1. SNOW PEAKS — beat the clock, keep it whole
A solo night stage up the pass: crests, jumps, snowbanks that stay ploughed. Full damage — bent wheels, torn-off panels, a dying engine. Clear, snow or blizzard.
2026-11-28 Release Candidate Update: Minor difficulty adjustment, square crop label, splash card, avatar scoresub leaderboard.
2026-11-24 Update: Implemented difficulty and gameplay feedback. All the juice and polish, logomark, music
The last of the 3 games I promised myself I'd finish before the holidays. Let me know what you think, be mean! (but constructive, please :D )
I want to get the gameplay right before a polish pass. I saw this mechanic somewhere in an old PC shareware game, don't remember where, so if you know where I stole the mechanic from, let me know so I can credit the inspiration.

Enjoy all the fun of home made stick and poke tattoos with none of the commitment with Slow Poke, a new simulator from Noah Poole.
Choose "free tattoo" for a blank flesh canvas, or select "prompted tattoo" mode if you're feeling uninspired and need a little creative push.
Tattoo your masterpiece, and grab the wipe in the corner if the blood gets too thick to see. When you're done, swipe to the "end" corner to hide to UI and so you can admire your hard work.
Press ❎ to poke with the needle. Hold 🅾️ to move the hand quickly and to confirm menu entries.
Made during the 31st Secret Jam of Games. Proudly made with no AI.
I was looking for a convenient workflow for exporting models from Blender and having them available for use in my 3D engine. I think I came up with a pretty clean solution so thought I'd do a little write-up in case someone is looking for some inspiration. I can show some of the scripts mentioned here if anyone is interested, just let me know. (I won't put unless asked just to save the size of this post). Here's a quick video demonstration for those not interested in the details.
I'd gotten started by just manually doing a text find and replace on the .obj files and creating some Lua code I could copy and paste into the Picotron text editor. It worked but was very clunky especially when trying different things rapidly in Blender.
I wanted a setup where I could build the model and colour the faces in Blender, then in a small number of steps have that ready and working in my engine. The idea was to have a material in Blender for each colour in the Picotron default palette, named by its index in the palette. Then when the .obj is exported you get something a bit like this:
v ... v ... usemtl 3 f ... f ... usemtl 20 f ... f ... |
Once the vertex pool has been defined for a given object, the faces are specified. If materials are exported, then there will be a "usemtl" directive preceding a set of face directives. As the material name is the palette index we just have to line up our data so that faces are given the correct colour. For my engine I've chosen to define all triangles one after the other in one big vertex buffer, rather than defining them separately. It's a bit wasteful but I think it makes my code a bit simpler. Colours are specified in a companion buffer. The format, when loaded looks something like this.
{
verts=userdata("f64",3,<triangle_count>*3, "..."), # 3 vertices per triangle
colours=userdata("f64",1,<triangle_count>, "...") # 1 colour per triangle
} |
The vertices are transformed in one matmul3d operation which is obscenely fast. The rest of the code is deciding which triangles to draw, clipping then they go into a bag of primitives (triangles, line segments or sprites). It's at this point the colours buffer is referenced. The final step, once everything has been "submitted" is sorting and finally drawing those primitives. I've not managed to come up with good userdata batching solutions to those steps yet but I think performance is adequate for the time being.
For importing into my engine I wrote a lua utility script which lives in the folder containing my cart. Alongside this is a file which defines the models that should be imported into the cart, where they can be found and what other baking steps to apply. This which looks like this:
local db={}
db.input_dir = "./external-assets" -- where to find raw files outside of the cart
db.output_dir = "models" -- where to store final files inside the cart
db.models = {}
db.models.demo = {
path="demo.obj",
kind="obj",
}
return db |
The utility script just steps through every member of the models table, parses the .obj and produces .pod files for each model (there can be multiple, if for example spatial partitioning is specified you get a quadtree that can be loaded directly at runtime), and with small database .pod which just specifies the locations of the various baked files for loading by the engine. This script is a bit destructive though, as it stores the output files directly in the currently loaded cart.
The last thing I needed to really make this a convenient workflow was a way to add all the colours to any model in Blender. Using the pretty bad examples that are knocking about online I slapped together a Blender add-on which lets me apply all the materials to the selected models in one go.
Assuming a model is already specified for importing, iterating on that model is now just a case of exporting to .obj and running the utility script. Loading and drawing a model in my engine is equally simple:
local modeldb = fetch("models.pod")
local some_mesh = fetch(modeldb.demo.mesh)
Gfx.start()
Gfx.put_mesh(some_mes)
Gfx.finish()
|
Andy's Arcade Presents SPACE INVADERS CO OP
10 levels of old fashion game play.
First game I've made with Pico 8, very fun.
Controls:
PLR1: Controller or keyboard Arrow keys to move and "M" to fire.
PLR2: Controller or keyboard "S" and "F" to move and "Q" to fire.
Press "Enter" to pause the game.
For 3 players you need to use 3 controllers.
Game starts like you would expected, good old retro Space Invaders. But after level2....
Yes I've add: lasers from the mother ship , drop ships that attack your defense walls, dive bombers and a force field. If you can bet all 10 levels these a Boss stage to finish.

Legendii 2 is the sequel to Legendii, the first game I posted on here. It's a Legend of Zelda style overhead adventure, but because of everything I learned while making the first game, it is bigger and more ambitious, and I'm very happy with the results.
I hope you enjoy!
[Minor update November 21, 2026 - fixed a small bug where I incorrectly nested the loop to let X reset the game at the end of the credits]

the music in UFO 50 is so good I apparently can't stop myself from continuing to cover it (like i did previously for the main menu music)
anywhere here's an adaptation of "Mooncat - Forest A" by Eirik Suhrke transcribed by ear
Idea to add to the base game: https://docs.google.com/forms/d/e/1FAIpQLSd5AREdXr31N4RBgdHarl3TKslpiPBNliskiHr8L6Cc-2V2cw/viewform?usp=publish-editor

I got obsessed with corruption of PICO-8 games. I would dare to snatch games from the BBS and inject that snippet of corruption from Jelpi. (I am really sorry to those who have had their carts victimized by me :)
I even challenged myself with beating some games while the corruptor invaded it. Sometimes, the corruptor brought up some secret wonders like rainbows (per-line colors) and bitplane masks, and they baffled me at first but I studied more and more features of PICO-8 gradually and eventually learned them.
There is one game lying around devoted to corruption called Corruption race. I would like to thank the creator of it, @twotwos for happening to satisfy me. Unfortunately, there was only one. I determine that there should be more. Many is better than one.
I am currently making mine too, but it is a big project and will take a while to see the light of day. Here is a sneak peek:





0 comments




