One of the simple examples in the LUA documentation for metamethods is to implement set logic on tables.
s1+s2 returns a new set that is the union of the two by defining __add, s1*s2 returns the intersection thanks to __mul, so far so good.
There is also the very useful __index and __newindex to handle reads and writes to unassigned indexes of the table, but the very important assignation metamethod at table level seem to silently not exist, as if it were of no use.
when I do
set1=set2
followed by
set2=set2+{new_elem}
I most certainly didn't mean for set1 to be changed.
There's of course plenty ow ways to force the behavior I wanted :
set1=set2+{}
would work.
We could define a set_copy function
set1=set_copy(s2)
But there seem to be no way to override the assignation behavior, like we would redefine the = operator of a class in C++ for example.
Could someone please shed some light on the subject ? What is the reason behind this omission ?

I created a clone of Worms, the dueling battle game! The game includes three battle maps, set in different terrains. The players can select different spells that consume different amounts of mana.
AI isn't implemented for the second player yet, so when selecting:
- '1 player', both characters will be controlled by controller 1
- '2 players', characters are controlled by different controllers
Controls:
- left / right - move
- up / down - select spell
- x - jump
- o - fire
Version 1.0
- no AI for 2nd player
- missing music

ABOUT
Your mission is to hit your opponent with the exploding banana by varying the angle and power of your throw, taking into account wind speed*, gravity, and the city skyline.
GORILLAS.1K was an attempt to demake the classic QBASIC game GORILLA.BAS, using only 1,024 compressed bytes of code, for #Pico1k Jam 2024.
*(Alas, I ran out of code space to implement wind - instead u got fancy animations!)

I've put together a way to use the MISAKI font (https://littlelimit.net/misaki.htm) to display Japanese on picotoron.
Currently, only simple functions have been implemented, so there is still a lot to do before it can be used in practical use.
I can't keep up with the work by myself, so I decided to release it here so that it can be used partially. Basically, I think it's fine if you use it freely. (I would appreciate feedback as well.)
*You will need to know the kuten code to display it, but there is a lot of useful information on the Internet about this.
update 250121 - I've cleaned up the code a bit, and made the example code a bit friendlier.
How to play ?
Use your mouse and left click to drag the "space things" around ! Your goal is to destroy all of them by dropping them in the black hole.
What is this game ?
This game was created for the Lame Game Jam (September 20th 2024 to September 23rd 2024). The theme was “Chaos”. I wanted to do something with cats, creatures of pure chaos, so I thought maybe a space cat could be interesting. My boyfriend gave my the gameplay idea. It only took a couple of hours. I used Pico8, my default engine, but I used for the first time the mouse. That's why it's not perfect, but it's fine.
Where to find me ?
Hello, an Android App named "P8GO" has appeared. It's been making the rounds in retro handheld communities because it allows to play Pico-8 games (with a splore-like function) in Android systems, something that we have been lacking.
However, I have doubts about this app. It looks like all it does is be a web container for lexaloffle. But there doesn't seem to be any affiliation between the author and lexaloffle. It doesn't seem to have ads of any sort, but it does have a required login after you play a few games.
Basically, what I am asking is: Is this cool to use? Are we cool?
Outside of those concerns, it's a very good experience as an app. Of course, Pico 8 games are a great thing to play and it has a swipe feature to quickly switch between games.

Picomm
An IRC-like internet messenger
I've made a messenger app for the picotron.
You can change your nick, a channel and chat with people there.
There are +- unlimited amount of channels (gui only allows for 16 characters, but API works with larger numbers)
Libraries used:
It doesn't work in the browser :(
This project is still in a pretty early stage of a development but it works and you
can chat with people and have some confidence that your messages will arrive to others.

Please read all of this. It'll only take a minute and it'll teach you how to use this cart.
The ultimate cake factory!
Build your own production line! You can use conveyor belts, springs, antigravity zones, and more!
How to get started:
open the cart file in your pico-8 editor. (Sadly, an in-game editor has not yet been implemented in this version). Go to the map editor! To summon cakes, place a green dispenser. To move the cakes, use various tools to build a path, such as conveyor belts, springs, and antigravity zones. Once a cake finishes its journey, the only way to delete it is to drop it out of the world.
THINGS TO NOTE:
-To turn off the 3D map, change MAP_3D in the _INIT() function to FALSE.

Hey @zep ! I just wanted to call a specific bug with the new UI's to attention. First off, the new ui's look great, but they have been causing issues with Code blocks in previews, on a user's page. Take a look.
As you can see, since the code block isnt technically being closed, since the preview is cutting it off, its eating up the continue reading button! This isnt the most site-breaking issue, but it is still annoying. You can see this by visiting my blog page and scrolling down to "CCGA".
Thank you for reading!






3 comments



