Hi
I'm wondering about arrays, I cant seem to find any way to delete specific IDs/keys. I don't know if the functionality is lacking or I'm missing it.
eg to do;
del(step[count(step)-1]) to remove the last entry to an array
And in extent, how do I access a specific ID/key in an array?
I'm trying to do eg;
h = step[count(step)-1].h;
v = step[count(step)-1].v;
to get key from array looking like;
step = {h=INT,v=INT}
step = {h=INT,v=INT}
step = {h=INT,v=INT}
Say I'd want the last, or second to last entry, how would this be done?


Viper 313
A top-down arcade shooter.
You start with three lives and regain lost lives every 750 points. Your ship has a shield that will absorb damage proportional to the shield strength. There is a boss fight every fifth stage. Some structures drop power-ups when destroyed. There are infinite stages.
Power ups:
Red: Gain Health
Blue: Gain Shield
Green: Invulnerability Shield
Yellow: Rapid Fire
Orange: Homing Missiles
Story
A robotic mining operation on Ganymede has gone awry. The automatons deployed on the moon's surface is under the control of a hostile artificial intelligence. It is using the automatons to construct powerful weapons and ships in preparation for an attack on Earth. You pilot the Viper 313 craft remotely from an orbital station above the moon. Your mission is to destroy the structures and ships built by the evil robotic overlords.

Tic-Tac-Toe
This is just a little experiment trying to reproduce the game of Tic-Tac-Toe in PICO-8.
Instructions
2 players take turns placing their respective signs on the board. The goal is to align 3 of them in a row, column, or diagonal.
PLAYER 1 - O :
Up / Down / Left / Right to move the selection
X to place your sign on the selected spot
PLAYER 2 - X :
E / D / S / F to move the selection
A to place your sign on the selected spot
Changelog
1.0 : main release

inspired by this image
Red Alert! The master hacker known only as The Stick has infiltrated the most secure server in the world. To prove yourself, avoid detection from the security field for as long as possible.

Your hacking skills allow you to dig through nearby firewalls to escape the lasers. Some say there are even secret digging strategies that help you further, like FAST TOGGLING and RISKY PUNCHTHROUGH. How long can you last?
This is a #tweetcart made for Tweet Tweet Jam 6. The entire source code (including gameplay, art, and sound effects!) is 557 letters of text. Click the CODE tab underneath the cartridge to view the horrible nonsense code. :P
Why? Because it's fun!


.png)
Hi everyone,
I was playing around with water in Voxatron but ran into some issue...
I created a floor gfx with cut-outs to resemble a little river that lies on top of a liquid base. When I bring enemies into the room that are supposed to "avoid liquids" they still fall into the water. I experimented a bit more with the water floor preset but the "avoid" function doesn't seem to work.
Is this a known bug or am I doing something wrong?



Fast round: update 3!
Unexpected free time led to a chain of updates... next one will be a release version!
Added some mechanics like stones (stomping platforms to obtain them, and obv throwing), enemy with drops activating hidden platforms, a start menu with level ending... it almost resembles a game now.
Running low (I think, it's my first pico game) on tokens: 5052 without music, only one level and few sfx. There is space for optimizations in update functions and level encoding (using some randomness for tiles variants: the actual level takes about 793 tokens). I'd like to have at least five or six levels, so... crossing fingers!
OLDER VERSIONS
First game on pico!
Royal Pain is a platformer game where you rescue the Princess and then need to escort her out of the castle using her abilities to help you get past enemies. For example, press X to tell the princess to make an ice block when she can see a guard.
Our goal in this game is to make interesting NPC interactions and we will be adding more princesses with more abilities in future updates. Enjoy our WIP release of Royal Pain on Pico-8! Feedback is welcome.
Demo version 01
Introducing our latest princess, Glacia! Utilize her ice abilities to complete the level together.
This version builds from our "Royal Pain: Rapunzel" game. Play it here https://www.lexaloffle.com/bbs/?tid=42071
Check out our Discord channel for more detailed updates at https://discord.com/invite/KMYjWz5ThH
-Rob and Ryan
Kraken Games