"Open in Terminal" in FileNav!
Here, you can see it big and clear, a "Open in Terminal" option in FileNav!
How did I do this?
By modifying "/system/apps/terminal.lua" and "/system/apps/filenav.p64", you can do this yourself!
Before modifying anything in "/system", if you want it to stay after reboot, check out my Localize System Tool!
NOTE: Localizing your system folder can be very dangerous. It can brick your Picotron installation, and even allow malicious carts to install themselves and harm your actual OS drive. This demonstration wont do as such, but be careful when installing untrusted carts. This will also keep your system at the same version that it was localized at, and you will need to unlocalize your system to update, and you will lose all of your changes
An alternative to localizing your system is sedish.
Localize System - A small tool for managing and saving your /system folder!
Normally in Picotron, when you make changes to /system, they go away on reboot. This is fine, and actually ideal, because any errors could easily brick your Picotron installation, or even allow malicious programs to gain kernel permissions (THIS IS VERY BAD. THEY COULD ACCESS YOUR ACTUAL OS).
NOTE: Localizing your system folder can be very dangerous. It can brick your Picotron installation, and even allow malicious carts to install themselves and harm your actual OS drive. This program wont do as such, but be careful when installing untrusted carts. This will also keep your system at the same version that it was localized at, and you will need to unlocalize your system to update, and you will lose all of your changes
This is my first PICO-8 game! It's an endless runner. I hope you enjoy it.
Controls:
- Up and down arrow keys to hop
- Buttons to speed up
Rescue eggs, and don't crash into anything.
Developer notes
My original idea was to create a one-button game, but it ultimately evolved into three buttons. I also originally intended to make a cowboy-themed game, but it was too difficult to animate horses so I went in a different direction.
Originally the game had a more elaborate design with "bosses" that needed to be chased or outrun, and some more complex rules around generating obstacles. In the end it felt clunky -- it made the code a lot messier but didn't make it more fun. In the end I stripped that stuff out and stuck with the simple plan of going fast and avoiding obstacles.
Reflections on using pico-8
- Overall it has been a ton of fun! I am excited to make another pico-8 game (after some other projects)
- This community is a great motivator. Seeing all of the cool games people make helped me get this to the finish line.
- I really like that pico-8 provides self-contained tools for code, graphics, music, etc. It takes me back to developing games in Macromedia Director and Flash in the early 00s.
- The platform limitations are mostly fine and definitely help to keep things in scope. The most frustrating limitation was the color palette - the game features a lot of earth tones which was sometimes hard to work out given the limited palette. Conversely, I like that the limited color palette means that it is easy to spot a p8 game.
- Using an external code editor helped me a lot - largely because of better typography, as well as making it easier to divide the code into modules.
- I never ran into the token limit, but it was a psychological barrier. I did some premature optimization early on to avoid it, which wasn't necessary.
- I did very little on the sfx and music side. It seemed difficult to make subtle sounds like bird footsteps on sand. I would like to go back and explore these features more, though I'm not musically inclined.
I'm working on a game that notes how high players climb. Right now I'm trying to put together a "ruler" that stays on the left side of the screen and scrolls with the player, letting them know at a glance how far they've traveled. Every 50 pixels, the ruler has a slightly longer line, and a printed numerical value indicating the corresponding height. Here's what I have so far.
Right now, the ruler is powered by a for
loop in the function draw_elevation()
, which means that it has a definite start and end. Could anyone recommend a method for making the ruler extend in both directions indefinitely (without crashing PICO-8)? My efforts to try while
and repeat
loops have failed. (Bonus points for making the 0
line start at the bottom or center of the screen!)
Ludo is a single player PICO-8 version of the classic board game. You may also know it by a number of other names and variations, like Sorry! or Parcheesi, and it may have led to a family fight or two way back when. Ah, memories!
The goal of the game is to get all 4 of your tokens around the board and safely into your home row before someone else beats you to it. There's danger around every corner though! If another player lands on one of your tokens, it gets sent back to the start circle. But you can also send your opponents back to their start circles by landing on their tokens. How rude! The player who gets all of their tokens into the last 4 slots of their home row is the winner.
Rules
I cannot successfully paste sprites in the Education Edition in either Chrome or Firefox.
Reproduction steps
- Go to https://www.pico-8-edu.com/
- Hit escape
- Click the sprite editor tab
- Draw a red cross in sprite 1
- Press ctrl+c. See "copied 1x1 sprites"
- Select sprite 2
- Press ctrl+v. See "pasted 1x1 sprites"
Although the text "pasted 1x1 sprites" appears, sprite 2 remains blank
Reproduction 2
- Go to https://www.pico-8-edu.com/
- Hit escape
- Click the sprite editor tab
- Fill sprite 1 red
- Fill sprite 2 blue
- Select sprite 1
- Press ctrl+c.
- Click the code editor tab
- Press ctrl+v. Observe pasted text is mostly 8s (for red).
- Click the sprite editor tab
- Select sprite 2
- Press ctrl+v(!). Observe sprite is unchanged. (EDITED - I had this wrong originally.)
- Click the code editor tab
- Press ctrl+v. Observe pasted text is mostly Cs (for blue)!
Tablut
A two-player, turn-based board game, where a king in his castle is ambushed from all sides and must escape.
How To Play
Player One plays as the attacking team (red pawns), and Player Two plays as the defending team (blue pawns).
The king starts at the center position, and is marked with a golden crown.
When selecting a pawn, valid moves are marked on each tile on the board. You can move horizontally or vertically by selecting a pawn and then selecting any valid position that is marked on the board.
To kill an enemy, you must surround them from two sides, either horizontally or vertically.
For example (o
represents an attacker, x
represents a victim):
@zep o/
0.2.6b / linux:
- launch pico8 executable
- run
poke(0x5f54,0x80)
(in the console) - run
reboot
- run
poke(0x5f54,0x80)
(copied from the 0.2.6 release notes) - the executable crashes
Step 2 is optional -- it still crashes in step 5 if you skip step 2
In Step 4, running poke(0x5f54,0x60)
instead does not crash.
I'm not sure how to get a stacktrace on my machine, or if it's even possible. this is the best I know how to do:
> coredumpctl debug PID: 12604 (pico8) UID: 1000 (pancelor) GID: 1000 (pancelor) Signal: 11 (SEGV) Timestamp: Tue 2024-06-18 18:51:34 PDT (3min 17s ago) Command Line: /home/pancelor/.config/itch/apps/pico-8/pico-8/pico8 -root_path /run/media/pancelor/data/Users/pancelor/Documents/pancelor/src/pico8/ Executable: /home/pancelor/.config/itch/apps/pico-8/pico-8/pico8 Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-pico8-b4acdb07c9cf4629b15a6b78f024fa7f.scope [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=150091#p) |