To load this program in Pico-8, type:
load #sa |
Shuffling a deck of cards on a computer has come a long way, hasn't it ?
The classic method is to go through each card one at a time and shuffle them by taking the index card and swapping it with a random card anywhere in the deck.
The problem with this method is that after a shuffle if the first card is say 2 of Spades, then you already know the next card will be Ace of Spades. So, yeah, it's not perfect.
Another way is to create a table picking a random number from 0-51 adding it to an array until the deck is filled. This will work but it can be slow once it gets near the end picking that random number from 0-51 to get that very last card that is not in the deck.



Was just experimenting with arrays, starting to understand NEW and DEL a little better, when I came across this:
set={} for i=1,6 do set[i]=i end newset=set newset[3]=0 ?set[3] |
What gives ? The correct answers should be "3."
Normal BASIC with "newset=set" would just copy the array to a new array and let you work with it as a new array. You can't do this in Pico-8 as apparently it's just a shortcut to the original array ?
Is there a way to copy one array to another easily ? Like newset=set{} or something ?



This tutorial is part 2 of a series. View part 1 here
At the end of part one we had a basic road with corners.

Next we'll add some background objects along the sides of the road. Pseudo-3D racers commonly have objects like trees, houses and signs spaced along the side of the road to make things more interesting.
Adding trees
I've added a few sprites to play with. We'll start by adding this tree along each side, every 3 segments.
![]() |
[128x32] |



To load this cart in Pico-8, type:
load #dx |
VVhat's new ?
- Added visible footprints so you can see where you've been.
- Now does not show maze-drawing process.
- Fixed up sprites a bit.
- Am researching recursion as a possible maze-maker.
There are 2-ways you can navigate this maze.
- Just using your footprints as a guide.
- Press (X) to turn on the auto-mapper and use that as a guide.
This is not so much a game (although you can play it) as a proof of concept.
Something I've wanted to do is have code that automatically builds a fairly large dungeon, in this case 125x125 tiles is a fine testing area and build a maze that cuts the edge of the walls intelligently leaving space for the player to move around, so the corridors are not 1x1 tile in size but actually 3x3 floor space and 2x2 walls.
Controls
Menu: Z to start game.
Game: UP/DOWN/LEFT/RIGHT to move character,
Z to quit
Mechanics
Just a silly dodging game. More ghosts will appear over time.
Commentary
Travelling for work during about a third of this month and it really knocked me out. But I'm home at last and very ready to start another month of messing!
itch.io page: here.
#onegameamonth October 2019



I'm having trouble finding an elegant way of feeding {} bracketed data into sspr! The data isn't of any particular fixed length and if I send it directly it assumes the whole table is the first argument, rather than a series of arguments. is there a quick way to process the numbers so sspr will accept it sanely? thank you


Try to get as high as possible and don't fall off of the floating islands! Totally not a clone of Icy Tower!
This is a game made for the 236th One Hour Game Jam, the theme of which was "Floating Islands".



I was just watching a video about Loot Boxes and how Online games charge players real money in order to gain these items, which apparently are random items that can benefit the player to progress further in them.
Outlawed in several countries apparently.
https://www.pcgamer.com/the-legal-status-of-loot-boxes-around-the-world-and-whats-next/
And this is new stuff for me, the first I've heard of it. I know, now you can think on that a bit if you like. Sometimes I get so wrapped up in coding I'm unaware of the world around me.
However, I was thinking this might be something good and nice to have for Pico-8.
Not real loot boxes, not the ones that cost money anyways. But no, perhaps missions a player could go on in some of these advanced Pico-8 carts. The reward ? A loot box, completely free, earned by the dedication (and perhaps perspiration) of the player to go beyond the call of duty on side-quests and other items that the average player may skip over in their haste to see the ending to the game.



