Hello.
I use RND() quite a bit, don't you ?
I have noticed in other game programming languages that you can have a 2nd argument for the rnd() command. Currently Pico-8 does not do this. It's quite useful though. Here's an example:
a=rnd(1,10) |
Will for instance choose an integer random number between and including 1 through 10. This:
a=rnd(10,1) |
Will give the same results. This however:
a=rnd(-4,4) |
Will give you a random integer number between and including -4 to 4.
The function of which:
function rndrange(a,b) if (a>b) a,b=b,a return a+rnd(b-a+1)\1 end |
How about it guys and @zep, do you think this is a good addition for Pico-8, to add a 2nd argument to already existing rnd() function ? Or a new function altogether, rrnd()
for Range Random.




A game created during a 6-days sprint by 3 software developers in training !
Check out our feminist and inclusive coding school in Paris : Ada Tech School https://adatechschool.fr/
Your goal : find the key to escape this haunted house.
Beware of the zombies... and hurry : you only have 40 seconds to get out !






By Jeremy Zynger, Joanne Longeville and Nolwen Major Francès.
Check out our feminist and inclusive coding school in Paris : Ada Tech School https://adatechschool.fr/







It has been many years since the end of the War. As you step off the small boat that carried you to this place you feel like a stranger. Is this home any more?
Uncover the secrets of the past in this short #horror adventure game for Pico8.
Enjoy! :)
Dev notes



A maze game created during a 6-days sprint by 3 female software engineers in training!
Check out our feminist and inclusive coding school in Paris : Ada Tech School https://adatechschool.fr/
Have fun!
Edit 1 : second version online, we fixed the map problem that allowed the player to wander into the graphic menus right of the 3rd level :)
Edit 2 : the game menus are now in English (rather than in French)!
Edit 3 : new version with fixed maps! You can now navigate the maps knowing if you'll end up in a wall or not :)








As the title say, latest version for PICO-I8 do crash under the latest (non beta) version of Mac OS (13.0)
I suspect it is a bug in SDL2:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 AMDRadeonX6000MTLDriver 0x7ffa1dbe1c11 gfx10MtlSimpleCompute_Dispatch(GFX10SimpleComputeDispatcherRec*, GFXAAMD_MtlComputePipelineState const*, unsigned int const*, unsigned int const*, unsigned int, unsigned int*) + 1305 1 AMDRadeonX6000MTLDriver 0x7ffa1dbe1ea1 amdMtlDispatchInternalComputeShader(GFXAAMD_MtlCmdBuffer*, GFXAAMD_MtlComputePipelineState const*, unsigned int const*, unsigned int const*, MTLIOAccelResource**, unsigned long long*, unsigned int, MTLIOAccelResource**, unsigned int, GFXAAMD_MtlTexture**, unsigned int, bool, unsigned int, unsigned int*) + 453 2 AMDRadeonX6000MTLDriver 0x7ffa1dbe424f -[GFX10_MtlCmdBuffer commit] + 393 3 SDL2 0x10969bcf1 0x10968a000 + 72945 4 pico8 0x1090b525d codo_blit_to_video_plat + 1645 [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=119990#p) |




This mod removes any and all pause or freeze from Celeste Classic, so that player control is never lost.
- game start is instantaneous
- spawning is instantaneous
- death is instantaneous
- dash no longer freezes the game
- big chest and orb don't freeze
- and more!
This mod is based on smalleste.

StarJump
This is Version 1.1 of StarJump, the lightsaber-themed JumpNRun.
What is it about?

You are a lightsaber wielding somebody trying to get from point A to point B as quickly as possible. Use your lightsaber skills, jumps and runs to beat all 3 levels and, if you can, collect all 10 stars per Level.
How to play

Use X to attack and O to Jump. Press X+O together for a higher dash. Note that you can doublejump! Also note that you deflect laser shots whilst you're attacking.
Good to know
You can restart the current level via the pause menu, you'll also find an option to toggle the timer and music.



.jpg)

Yet Another Bombsweeper
The objective of the game is to clear the board of bombs, much like the classic minesweeper.
You may use either the d-pad or mouse to control the pointer.
Click on a tile or (X) to reveal it. If the revealed tile was hiding a bomb, you'll explode. If the revealed tile has a number it indicates how many bombs are in adjacent tiles.
Right click or (O) to flag/unflag a tile.
Click on a numbered tile to attempt a chord. A chord opens or flags tiles around the selected one depending on how many bombs are in adjacent tiles versus revealed tiles.
Game options (RETURN or pause button) includes:
- Chord toggles for auto reveal and auto flagging.




Controls
-Arrow keys to move to the next room or navigate the shop.
-Z to block or purchase items.
-X to attack or exit the shop.
-Z+X to use special items.
Rules
You must delve into the endless dungeon whilst defeating monsters and collecting gold. Gold can be used to buy health, weapon upgrades, and special items. The shop will appear every 10 rooms.
When in combat you must choose to block or attack. After your turn, the enemy will attack and there will be a random chance you will be hit. The enemies' health and hit chance will increase after every shop.
You can also use a special item. You will start out with the 'run' item but other items can be purchased at the shop. Special items will have a cooldown after each usage. Here is a list of all the special items:
-'Run' allows you to escape an encounter.
-'Defence' gives you armour (indicated in the top right) and will protect you from the next hit.
-'Bomb' will give you a damage buff.
-'Full heal' will give you full health.
When you die your run will be over and you must start again from room 1.
Description
This is an endless first-person dungeon-crawler made in Pico8. This is my first time making a game like this so feedback is much appreciated.
Story
You find yourself in a seemingly endless dungeon. You are lost and have an urge to just keep going deeper. As you go deeper you start to encounter ghosts, skeletons, and other monsters. Maybe they're defending something? Maybe if you go deep enough there will be an exit?
Updates
Version 1.1
Improvements
After gathering some feedback I have made the following changes:
-There is now a small chance that you can encounter a friendly NPC that will either heal you or give you gold. This
will be influenced by the direction you have travelled in.
-To make the shield seem more useful I have changed the special item system to require you to block with your shield
before you use it.
-I have also changed the special item system so that you only use X instead of Z+X to use special items. This
addresses the issue of some people finding it difficult to press Z+X at the same time without accidentally
attacking or blocking.
-In the shop, you now have to navigate to the exit using the arrow keys instead of pressing X to leave.
-I have also fixed a bug where you could over-heal by purchasing more lives than you had max hp.
Known Issues
Special items such as 'Run' and 'Bomb' seem to cause the 'you have blocked' text to stay up until the next encounter as the player needs to wait until the next encounter for their turn to properly end.
Future Improvements
In the future, I would like to make the combat less luck based. Originally I had planned to give each enemy an attack pattern and so I might try to implement that in the future.
New music would also be nice to add as the current song isn't great and it gets repetitive fast.
Images

.jpg)






Yo @zep,
It'd be nice if draw_tabs
were one of the options in the config
command.
Indeed, it would probably be a good idea to do a once-over on the whole config.txt and see what else would be good to add to the command.
I say this because someone noted on Discord that there's no way to make tab characters visible on the edu version. Probably among other things that people on the edu version would benefit from.
Personally, I love visible tab characters, so I want everyone to have the option to try them.
Edit: as requested below, for anyone unsure what I'm talking about, here's a sample image with draw_tabs
set to 1 (and also tab_width
set to 2). Note the wine-colored vertical line at the left edge of the tab characters, which also neatly masquerade as scope guides.

(Also edit: Woo, BBS thread #50000.)





Hone your cart hacking abilities with this HackTheBox like cart!
Your objective is to get to the hidden link using the terminal.
I suggest you don't look at the code before solving it as that will ruin the fun.
Also, you don't have to brute force the link. There is a genuine solution.
What you know:
All the links are stored in a table called links, but the links are local. What now? Hmm...
Have fun solving this challenge!