Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General | Off-site
SHOW MORE

Cart #pic0pop-3 | 2024-02-27 | Code ▽ | Embed ▽ | No License

Here's my bubbleshooter clone. Use L/R to aim and Z/O to launch. Ultimately you have to eliminate all bubbles to progress to next level, but there's the added challenge of trying to pop all the star bubbles in the level. You have to actually land adjacent to these to make them pop. Making them fall doesn't count.

I made a little level editor tool for myself to help in creating these levels and tweaking them later. I'll be honest. I didn't find designing these levels to be super interesting, but I tried to at least make them possible. I probably need to study a bit to find out designs that make these levels fun to play, but as far as mechanics I'm reasonably happy with this and willing to call it my "first" complete pico-8 game.

If people think it's fun or want to see more, then maybe I'll revisit this and continue to add levels and QOL to this project.

P#142086 2024-02-27 22:37
SHOW MORE

Cart #pescar-0 | 2024-02-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#142079 2024-02-27 21:51
SHOW MORE

the original sparkler

Cart #sparkler-0 | 2024-02-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

thanks to @Ummmm_ok ,we have another version which have a smoother line
Cart #sparkler_alt-1 | 2024-02-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Description

A tiny sparkler simulator, a game or a tool, or whatever you think.
Hope you enjoy:)

Controls

C or mouse left to fire
X or mouse right to take a new one
F9 whenever you want to save a gif of last 8 seconds(only for downloaded version)

P#142028 2024-02-27 05:07 ( Edited 2024-02-28 02:19)
SHOW MORE

Cart #ignorethis-0 | 2024-02-26 | Code ▽ | Embed ▽ | No License
2

yeah

P#142000 2024-02-26 15:55
SHOW MORE

Cart #grave_defence-0 | 2024-02-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Grave Defence is tower defence game, in which you control a ghost tasked with defending the souls resting in a mausoleum from the incoming hordes of skeletons!

Controls

  • Arrow keys to move the character
  • X key to place and pickup torches

Rules

Torches must be powered by near by Power Flames. Once powered they will shoot enemies within range.
Shooting torches will consume the energy of the flames they are linked to.

Power Flames can die out if over tapped so keep an eye out for their size.
However, Flames will recharge over time unless fully extinguished.

Torches can be relocated; the mausoleum must be protected and you will need to move around the map to do so!

Different Power Flames

Power flames come in three types represented by their colors:

  • Yellow flame: basic flame, the most balanced option.
  • Blue flame: weak flame, can power more torches than yellow flames.
  • Red flame: strongest flame, will cause the most damage, but is drained faster than other flames.

About

I have recently been getting into game development and learning to work with pico-8.
After the mandatory Lazy Devs tutorial I decided to challenge myself to develop a complete game in two weeks, that would include functioning mechanics, art and some basic music. Grave Defence is the end result!

Nerdy notes

The actual code is a bit of a mess; there are still chunks of code for mechanics that have been scrapped because they ended up being unintuitive and a hindrance to the fun.
These include an interaction system that would display a cursor based on the last movement direction of the player as well as collision system that initially would involve most sprites in the map, but in the final version only worked with the fire ashes (thanks to SpaceCat and this video for the collision logic).
I might get around to cleaning it up in the future, if a feel there is something interesting I would like to add to the game.

Credits and thanks

  • Developed by Elfamir, that's me.
  • QA Tested by my lovely partner ♥

Thanks to the Pico-8 community as a hole for all the great material and inspiration.

If you read all the way to here, congrats!
I would greatly appreciate any feedback on the gaming experience as I am looking to improve my game dev skills :)

P#141999 2024-02-26 15:50 ( Edited 2024-02-26 19:58)
SHOW MORE

Gruniożerca

Cart #gruniozerca_v1-0 | 2024-02-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Controls

Use the arrows to run the guinea pigs, which catch vegetables in a rush. Press X to change the guinea pig to the right one.

Rules

Grunio (dark) and Dida (light) love to munch vegetables. But Grunio prefers carrots and Dida prefers parsley. Crunch the vegetables falling from the sky keeping in mind the guinea pigs' preferences and making sure the vegetables don't fall to the ground.

Behind the scenes

Gruniożerca is a series of games started in 2016 by Luke "dizzy9" Kura. At the time, he created a small arcade game for the NES/Pegasus console and donated its cartridges to the arhn.eu website's Gramytatywnie charity campaign. Starring: Grunio, the guinea pig™, the site's mascot. Grunio has become a small internet phenomenon and has lived to see two (internationally award-winning, seriously!) sequels in recent years. In 2017, Dizzy agreed to release the source code for the first part of the game online. That one is available here. With its simple gameplay and adorable mascot, Gruniozer has become a well-liked "entry-level project" for novice developers, and the task of porting it to all possible platforms a small challenge for homebrew developers.

Many thanks to the aren.eu team for their work <3

Links

TODO

  • Powerups
  • Leaderboards
  • Music
P#141989 2024-02-26 08:09
SHOW MORE

Cart #dosadegofo-0 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Aidez les moutons à traverser la rivière !
les moutons sont un peu retord, il faut parfois aboyer...

P#141961 2024-02-25 20:03 ( Edited 2024-02-25 20:04)
SHOW MORE

Read all steps before proceeding with the installation. Feedback is appreciated!

  • If you want to avoid the headache of Step 4, I recommend using a Pi or other Linux computer to write the installation image to the SD card! It can be the same Pi you use for the Lite installation, you just need to switch SD cards to change OSs.

Hello everyone,

I haven't seen any tutorials for doing exactly this so I thought it would be helpful if there was a guide for anyone who specifically just wants a little portable machine that launches PICO-8 after booting, and without using Retropie or a desktop environment. This installation won't have a super fast boot like PICOPi (https://github.com/keints/picopi) but it will have online functionality and will be a great starting point for a physical fantasy console project. I'll try to have a companion video out after this guide is finished.

The whole process takes about 45 minutes to complete

Things you will need:

  • The latest PICO-8 for Raspberry Pi zip: https://www.lexaloffle.com/games.php?page=updates
  • Raspberry Pi (any model) setup with a display and keyboard
  • SD card or microSD card (depending on the model of Pi) at least 16GB
  • SD card reader
  • Windows/macOS/Linux computer with internet access (this can also be a Pi, in fact it can even be the same Pi if you have two SD cards!)

    • Optional: USB thumb drive to transfer files from your PC to the Pi
    • Optional: Second SD card to install a desktop version of Raspberry Pi OS to transfer files to your "Lite" installation

Step 1: Download & install the latest Raspberry Pi OS Lite image


You can get the latest Raspberry Pi OS installation images here: https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit

  • We'll use the "Lite" image, but this tutorial also works with the desktop versions if you change the boot option to the command line

Follow these instructions to write the "Lite" image to your SD card: https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system

  • If you flashed the image with a Linux PC or a Raspberry Pi, the SD card should be automatically mounted. You can copy your PICO-8 zip to the rootfs partition's /home/pi/ directory now and skip Step 4 later!

Step 2: Setup Raspberry Pi OS


If you are using HDMI for your display, make sure your Pi is connected to your monitor before powering the Pi on!

When your new Raspberry Pi OS installation boots for the first time, it will generate SSH keys and then reboot shortly after. You will then be asked to select your keyboard layout. If you don't see yours, use the up and down arrow keys to select Other and press Enter. A complete list will be displayed. Select an option and press Enter.

  • If your keyboard has an English (US) layout, be sure NOT to pick the default English (UK) option or your keys will not be mapped correctly! This can be changed again later with the raspi-config tool.

Next you will be asked to create a username and password. After creating these credentials, the system will prompt you to log in. Once you've logged in, you should see the command prompt below

[username]@raspberrypi:~$

Type sudo raspi-config and press Enter. The screen will turn blue and a menu will be displayed.

(If you are using a wired internet connection, you can skip the following paragraph)

  • The option 1 System Options should be selected. Press Enter to confirm the selection. Now the option S1 Wireless LAN should be selected. Press Enter and use the up and down arrow keys to select your country. A dialog box will confirm your selection, and you will next need to enter your Wi-Fi SSID and password.

Once you are connected to your network, select 8 Update on the menu and press Enter.

After the raspi-config tool has been updated, you should be automatically returned to the first menu. Select 1 System Options again and then S5 Boot / Auto Login. Select B2 Console Autologin and press Enter.

  • This is also a good time to setup your locale and timezone should you choose to, but it isn't necessary for the purpose of this tutorial.

Press the right arrow key two times and Finish should now be highlighted orange at the bottom of the menu. Press Enter. If you are asked if you want to reboot the Pi, select No.

Step 3: Update Raspberry Pi OS and install PICO-8 dependencies


You should be back at a command prompt again that says

[username]@raspberrypi:~$

Type sudo apt update and press Enter. This command checks if there are any newer versions of your installed software packages. If any packages can be upgraded, you can use the command sudo apt upgrade to download and install them. Upgrading packages may take several minutes.

Once you've done that, type sudo apt install libsdl2-dev pulseaudio and press Enter. A big list of additional packages that must also be installed will be displayed. Press Enter again. This process will take several more minutes to complete.

When the command finishes, the prompt will return. Type reboot and press Enter.

  • If you are taking your SD card out of your Pi to transfer your zip to it in the next step, type shutdown now instead of reboot and wait for the flashing green light on your Pi to shut off completely before removing the card

Step 4: Copy and extract your PICO-8 zip to your Pi user's home directory


The zip goes in the directory /home/[username]/ on the rootfs partition of your SD card.

There are several ways you can go about completing this step. Here are three:

  • 1) SSH This is probably the most optimal way to copy your zip over if you don’t have a Linux computer or an additional Raspberry Pi OS Desktop installation, though it is a little more involved. You can find instructions for copying files to the Pi via SSH here: https://www.raspberrypi.com/documentation/computers/remote-access.html#ssh

    • The Pi is internet-connected at this point so ensure that your password can't be easily brute-forced! I recommend disabling SSH again after copying over the zip
  • 2) USB drive You can learn how to access a USB thumb drive via the command line here: https://www.raspberrypi-spy.co.uk/2014/05/how-to-mount-a-usb-flash-disk-on-the-raspberry-pi/

  • 3) Another Linux installation If you have a Linux OS with a desktop (or a second SD card for your Pi with Raspberry Pi OS Desktop), you can just insert your Raspberry Pi OS Lite SD card into a card reader and just click and drag the zip onto it using a file explorer.

You can use the unzip command on the Pi to extract the zip once you've transferred it.

Step 5: Create a startup script


Now that we have our PICO-8 zip extracted to our home directory, we can create a script that executes the appropriate binary after logging in, which should happen automatically after boot

At the familiar command prompt, type nano startpico8.sh and press Enter. This will launch a text editor called nano with a new file open called startpico8.sh. Add the following two lines:

echo "Starting PICO-8..."

./pico-8/pico8_dyn

  • Optionally, you can boot straight to SPLORE with this line instead:
    ./pico-8/pico8_dyn -splore

NOTE: On older Pi models, you may need to add a line that just says sleep 15 above the echo "Starting PICO-8..." line to allot time for startup processes to finish. This unfortunately adds 15 extra seconds to the startup, so only add the line if you can't get PICO-8 to launch correctly after login!

Press Ctrl+S and then Ctrl+X. You should be back at the command prompt.

Next type chmod +x startpico8.sh and press Enter. Then type ./startpico8.sh and press Enter again. If everything worked up to this point, PICO-8 should startup!

Press Ctrl+Q to shutdown PICO-8, then type nano .bashrc and press Enter. Press and hold the down arrow key until the cursor reaches the last line of the file. Press Enter to create a new line, then type ./startpico8.sh and press Enter. Now press Ctrl+S and then Ctrl+X.

Back at the command prompt, type reboot and press Enter. After the Pi boots, it should immediately login and launch PICO-8! :D

Troubleshooting

  • No sound
    If there is no sound, go back to the raspi-config tool and select System Options and then Audio and make sure audio is being routed to the correct output device.

  • The command line doesn't show the usual prompt or display PICO-8 after logging in
    Usually this is because PICO-8 starts and bash runs in the foreground. Try pressing Ctrl+C and wait to see if the command prompt appears after a few moments. I've found that adding the sleep 15 command to the first line of the startup script avoids this issue. If anyone knows what causes it any info would be appreciated!

  • A number of SDL-related errors are displayed, but no PICO-8
    Happens because PICO-8 starts too early after login. Press Ctrl+C to terminate the process and try adding the sleep 15 command before your echo "Starting PICO-8..." command in the startup script.

A few notes

  • While the goal is to effectively create a physical fantasy console, remember that the Raspberry Pi is still a real computer with an OS that is connected to the internet. It's good to upgrade packages every so often to fix issues and keep your system secure. If you've completed this tutorial, you should now know how to check for updated software packages and how to install them. If this sounds like a hassle, I would recommend considering keeping your installation offline. Or you can learn how to automate the process of keeping your system up to date. The world is your oyster!

Hope this was helpful! If this is your first experience with a Pi or Linux, I can promise you it isn't normally this much work to get an OS setup. You can always install the desktop version of Raspberry Pi OS (or any other OS) and use it just like you would use a Windows or macOS computer. I hope you'll continue to explore and learn how Linux works, maybe you can write a better guide than this one! See if you can figure out how to get the Pi to shutdown by itself after shutting down PICO-8 ;)

P#141946 2024-02-25 19:21 ( Edited 2024-02-27 23:19)
SHOW MORE

Cart #snake_psqnt-0 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Snake

Another snake game but this time another snake spawns every 4 seconds and follows in your exact path. Gets very challenging!

Controls

arrow keys move the snake

Credits

Me

P#141956 2024-02-25 18:44
SHOW MORE

Cart #push4-0 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Push4

A game for one or two players. Push tiles onto the board and try to get four in a row.

Controls

  • Cursor keys to move the placement
  • X to push a tile

Credits

Code: Greg Gaughan

Music: Eric Billingsley (original compositions by Erik Satie) for the PICO-8 Free Music Jam licensed under CC4-BY-NC-SA.

Game idea from Think! for the ZX Spectrum.

P#141953 2024-02-25 17:43
SHOW MORE

Cart #goatdemo-0 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

NOTE: This is an early version of the game created for playtesting purposes. There's no sound effects or music yet, but planning to add them later. The name of the game is temporary.

Poor Goat was very unlucky to fall and land on the top of a haunted tower. A tower that will try to kill her with all its means.

Help Goat to survive by charging rocks and trees and dodging dangerous spiky trees and fire balls. Watch out for Goat's stamina level (pink top bar) as she runs out of energy quickly. Recharge her batteries by picking up stamina balls. Use super power when you're in trouble or run out of energy. Can you get to the end?

Controls

  • Arrow keys: move & charge objects
  • X: use super power / confirm
P#141944 2024-02-25 16:25 ( Edited 2024-02-26 08:55)
SHOW MORE

Cart #pipefish1-0 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

How to play

Select tower with X
Place tower with mouse, can only place on clear grass

You are defending a castle from the snakes, they have recruted ghosts to help them. Place towers to defeat the snake army, the towers you place are expensive and last only 10 seconds.

P#141939 2024-02-25 14:02
SHOW MORE

Try to beat my Score on Hallowneste!
The game:
https://www.lexaloffle.com/bbs/?pid=113914#p

P#141935 2024-02-25 11:54 ( Edited 2024-02-26 12:51)
SHOW MORE

Cart #packbats_laser_rot-0 | 2024-02-25 | Code ▽ | Embed ▽ | No License
2

This PICO-8 chiptune was composed for the 2024 PICO-8 Free Music Jam. It uses three channels - bass and bass percussion on channel 0, melody and mid percussion on channel 1, and high percussion on channel 2 - and requires 16 SFX and 24 music patterns, no custom SFX instruments. The full loop is approximately 1 minute 16 seconds long. You can probably interrupt the high percussion on channel 2 if you need a second channel for sound effects.

This piece of music is being released under a Creative Commons Attribution-ShareAlike 4.0 license. Visualizers are provided by Bikibird's album cart. The cover art is based on the image "Time destroyed CD" by Bernd Hutschenreuther, used under a Creative Commons Attribution-ShareAlike 3.0 license, and processed with ImageMagick and Depict.

P#141904 2024-02-25 02:22
SHOW MORE

Cart #feathered_escape_bas2-0 | 2024-02-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
29

Feathered Escape

Soar to freedom in Feathered Escape, a platformer where you, as a trapped bird, navigate challenging environments, overcoming obstacles and adversaries to reclaim the open skies.

Controls

  • ⬅️ and ➡️ to move left or right.
  • ⬆️ to execute a wall or ceiling run.
  • ⬇️ to descend without sliding on a platform.
  • [X] or [Z] to jump.

If you manage to finish it, please share your score.

P#141898 2024-02-24 23:56
SHOW MORE

Dear users,

I've watch tutorials about creating a selfcontained PICO-8 desktop by using raspberry pi zero and raspberry pi 3. :-) I've tried to use the same procedure on my raspberry pi zero 2 W, but it won't work. And since I haven't succeeded to find tutorials about that subject by using a raspberry pi zero 2 W, I hope some of U can help.

-Does anyone have any suggesting how to make it work on a raspberry pi zero 2 W?

Kind regards
Johnny

P#141881 2024-02-24 19:09
SHOW MORE

Cart #isc1p8game-1 | 2024-02-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Description

A small accurate platformer in which you have a far wall jump. Many of the codes are based on the source code of Classic Celeste. My friend Staffhook named each level and helped me a lot in making levels.

Controls

Arrow keys and C.

P#141875 2024-02-24 16:26 ( Edited 2024-02-25 01:54)
SHOW MORE

Inspired by the coding train video where he makes a falling sand game in JS. https://youtu.be/L4u7Zy_b868?si=YdIuL0No-k8LfCeD

It was fun to try my hand at it. I didn't include everything he did due to the processing limitation of the pico 8. But you can edit the code to change the size of the sand.

Cart #hogojofof-0 | 2024-02-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#141867 2024-02-24 12:58
SHOW MORE

Cart #proto_1-0 | 2024-02-24 | Code ▽ | Embed ▽ | No License
1

Hi, I bought PICO-8 a month ago and started working on this first project.This is terrible so far, but I'm exhausted and don't have the energy to continue. But I decided to share what I've been working on so far.

For the time being, I would like to study PICO-8 and Lua. And then I would like to continue this project or start something new.
I hope to make a decent shmup someday.

P#141864 2024-02-24 12:30
SHOW MORE

Cart #blackjackbykoval-0 | 2024-02-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

First playable version, consider this to be "Early Access", much work has to be done, I just want to run it honestly

P#141862 2024-02-24 11:35 ( Edited 2024-02-24 20:35)
View Older Posts
Follow Lexaloffle:          
Generated 2024-02-28 02:41:12 | 0.157s | Q:93