hello world.
I think I'm missing something in the custom function realm when it comes to using variables as arguments. I'm trying to pass in a variable that defines one of 6 beams to a function so I can use it for all of the beams but it does not seem to be working and I think I'm trying to do something that might not be allowed in Pico-8. For example I have a custom function to light up this beam and it works great:
![](/media/80228/beam5 5_1.gif)
..but I need to reuse this to do something similar for 5 more of these beams. I'd like to create a reusable function around the following as I am repeating code:
function beam_2()
if mg(35) and p.x<500
then
pal(5,7)
spr(35,384,328) sfx(0)
b2_charge=true
![](/media/80228/3_rupees icon.png)
![](/media/54967/2_wave_0.gif)
hi...
i FINALLY got pico 8 and i put it on my raspberry pi running retropie and i used the tutorial https://nerdyteachers.com/PICO-8/Hardware/?tutorial=69
everything worked, except, the mouse didn't show, there is like no mouse, and i can really use pico 8 without a mouse
pls somebody help
![](/media/90325/lilpc.png)
Imagine this folder structure
├── libs │ ├── b.p8 │ └── c.p8 └── main.p8 |
If main.p8
calls ./libs/b.p8
which in turns wants to call c.p8
, it has to use use the relative path from the main cart, i.e. ./libs/c.p8
even if b.p8
and c.p8
is in the same folder.
Usually programming languages have relative paths starting from the file that is doing the import. Could we get the same behaviour for pico-8 please?
Right now most multi-cart games have everything in single dir which makes things looking pretty messy, and if I want to have a multi cart game on my rgb30 where I hide the extra files in .hidden
I have to edit all files making load
calls to make things work which is not optimal.
![](/media/12874/56_av_violet_pikuseru_flat.gif)
SHMUPI2024
A shoot 'em up game by Yehiel Certner
About
This small game was made while going over the Lazy Dev Academy tutorial for building SHMUPS in the fantasy console Pico-8!
i highly recommend any aspiring developers and game maker hobbyist to go to their you tube channel and try their tutorials!
![](/media/82211/7_realshadowcaster.png)
![](/media/87514/4_standalone-studio-logo-black.png)
One Last Swing
This project is my entry for the Samurai Game Jam 2024 with subtheme: Luck! 🍀
Story:
Patrolling the border you get a message about enemy groups flooding your territory. Now it is up to you to make it back home and ensure the safety of your family!
Controls:
![](/media/31390/ols_controls.png)
Use X to unsheathe your sword before the clash. If you do not have it out, you will automatically lose. Use ⬇️⬆️ to move your sword between the 3 stances of: High, Mid and Low.
![](/media/58200/3_k4.png)
![](/bimg/pi/pi7.png)
![](/media/85619/Screenshot 2023-05-30 9.24.48 AM.png)
![](/media/31390/13_self_portrait-export.png)
This is a simple rock paper scissors simulation inspired by this video and others. When units encounter each other, the winning type "spreads" to the losing unit. Use the X or O buttons to restart.
![](/media/85395/picocolordance_24.gif)
About the Game
"Berserk" is a strategic fantasy collectible card game where two players assume the roles of commanders, leading squads of fantastical creatures into battle. During the game, you will maneuver across the battlefield and play tactical combinations to defeat your opponent. The player who destroys all of the opponent's creatures wins.
![](/media/78171/14_Piconut-Icon.png)
This cart, which uses one of @bikibird's visualizers provided courtesy of the PICO-8 Free Music Jam (in a beta version, as a co-organizer we helped with testing), contains an arrangement of the music of someone we'd never heard of: James Timothy Brymn's "Cuban Cake Walk".
![](/media/49583/2_HeadShot.jpg)
Langton's Ant is a tremendously simple system played on a grid of pixels that can either be on (white) or off (black). Each during timestep, the ant moves forward in the direction it is currently facing (I have it facing right at the start). Then, if the ant was on a black square before it moved, it makes the square white and turns right; if the ant was on a white square, it sets the square to black and turns left. And... that's it. But despite these incredibly simple rules, Langton's ant emerges from the apparent randomness after about 11000 steps and starts forming a recurring "highway". In fact, Langton's ant not only tends toward this self-organizing behavior, but also is capable of computation with the right setup (i.e. it is a universal Turing machine) -- see this paper for a proof of that.
![](/media/82211/7_realshadowcaster.png)
![](/media/47512/screenshot1594325233.jpg)
i made my first game for release! it's a bite-size fangame for the atelier franchise, about being a young alchemist in a town down on its luck. can you bring back the fireworks festival that used to light up the skies?
it's extremely short for an rpg (15 minutes total). i made a dialog-heavy crafting RPG in pico-8 because i fear neither god nor man. a major goal i had was to make something that felt like a Real Finished Game, rather than an isolated tech demo or something. so it's got a beginning, middle, and end, and talk sprites, and ui animations, and so on. i'm ridiculously proud of this - i've never made a game as finished as this before. please play and enjoy! and tell me what you think!
![](/media/85395/picocolordance_24.gif)
![](/bimg/pi/pi14.png)
Hi, I found some strange behaviors with sfx and music that looks like bugs
( I marked with "X" when it's behaving strangely)
bug 1: releasing loop of an sfx:
- play a looping sfx
- release it's loop: sfx(-2)
- the sfx will complete it's loop and then stop emitting sound
X but if you check with "stat" you can see that the sfx is still "playing" with no sound
This is the first game by father and son game development team bandd! We followed Dylan Bennett's Top-Down Adventure Game Tutorial on youtube. We did a little bit of our own remixing, including transforming a movement bug into a feature, allowing very difficult diagonal movement between obstructing objects!
This game is very challenging. B, the 8 year old member of bandd Games only enjoys playing the most sadistic levels of Geometry Dash and making levels in Super Mario Maker with no floors, which his dad won't even try to win. He created the music, sprites and--unfortunately for you--the map for this game, and it's short but EXTREMELY TOUGH! He was able to eventually beat it, or we wouldn't have posted it. So good luck!
![](/media/82211/7_realshadowcaster.png)
![](/bimg/pi/pi4.png)
Balls that color the screen and bounce off different colors.
PRESS X or C to change the start setup
Inspired by https://mastodon.gamedev.place/@[email protected]/111828811846394449
![](/media/48557/dizzyMunchkinFloatingHead.png)
![](/bimg/pi/pi10.png)
![](/media/82211/7_realshadowcaster.png)
An in-progress/demo of a puzzle dungeon crawler I've been working on.
4/2/24: Got major elements in now, just need to get LOS and enemy movement sorted out before doing SFX for various bits.
7/2/24: Added in event triggers, splash screen, tweaked screen wipe, item handling/classes, and redesigned tutorial levels and demo levels.
8/2/24: Tweaked event triggers, collapsing floors only collapse after you walk on them and monsters move, added teleporters and appearing/disappearing walls, creatures on impassible tiles at the end of the round die instantly
![](/media/68936/5_BigVerb.png)
![](/bimg/pi/pi17.png)
![](/media/85395/picocolordance_24.gif)
-- PICO-8 Cartridge
lua
-- Initialization function
function _init()
player_x = 64
player_y = 64
end
-- Update function
function _update()
if btn(0) then
player_x = player_x - 5
elseif btn(1) then
player_x = player_x + 2
end
end
-- Draw function
function _draw()
cls() -- Clear the screen
-- Draw the player as a filled rectangle
rect(player_x, player_y, player_x + 8, player_y + 8, 7)
end
Controls
- ◀▲▼▶: Move
- Hold (X): Fire main weapon (spreadshot)
- Hold (O)/Z/C: Charge secondary weapon (bomb) / focus mode.
- Enter: Pause/menu
![](/media/68442/B2S28O.gif)
About
Praxis Fighter X is a fast-paced single stage retro shoot-em-up. Dodge bullets and fight off the militarized police force defending a corporate toxic sludge pipeline.
![](/media/48919/2_pavilion-profile.png)
![](/bimg/pi/pi5.png)
![](/bimg/pi/pi7.png)
![](/media/38590/94_Facehugger-Wide.png)
![](/media/85395/picocolordance_24.gif)
![](/bimg/pi/pi17.png)
![](/bimg/pi/pi10.png)
![](/bimg/pi/pi14.png)
![](/media/68442/18_intoruins_avatar.png)
![](/media/60537/3_lastofavari-avatar-v1.jpg)