I cannot figure out what's happening with btn()
. It seems totally random. I made this cart so you can see. I thought it was supposed to imitate PICO-8's btn()
function, but that's clearly not happening.
Also, if anyone knows how to get data from different controllers, please share. Usually I would do something like btn(btn_num, controller_num)
but with btn()
acting the way it is... 🤷😂
🎮 Join the Picotron Game Jam! 🚀
Are you ready for a week of intense coding and fun? The Picotron Game Jam is here! Code your game in a week (any theme!), vote the next, and see if you can become the community favorite.
👾 Starts: April 10th, 2024
🏁 Ends: April 17th, 2024
🗳️ Voting: April 18th - 25th, 2024
No prize, just glory! Only game submitters can vote, so your game is your ticket in.
🔗 Join now: https://itch.io/jam/picotron-jam
May the best game win!
A simple SameGame clone with limited and endless modes.
Rules
In SameGame, you need to remove groups of like-coloured tiles from a randomly-generated board. Clearing larger groups of tiles will award you more points. You cannot remove individual tiles.
Tiles will fall downwards if the tiles below them have been removed. If a column is cleared completely, all of the tiles to the right of it will be shifted left to close the gap.
Modes
Both modes start with the grid full of random tiles.
- Normal Mode
In Normal Mode, the goal is to remove as many tiles from the board as possible. The score and move counters don't really mean much in this mode. - Endless Mode
Jaw
> The year is 1974. You just got out of the theater and saw that scary shark flick. As you walk home thinking about the movie, you pass an arcade and there it is: A brand-new game based on the movie you just saw. You check your pockets for quarters. Let's do this.
This is my entry for the 2024 FishFest Game Jam. Help Kalea the shark get her dinner. But beware! Barrels of gunpowder, harpoons, and a guy named Quint are out to hurt you. Try to string fish bites together for more points.
How to play
Hold Z or X and release to jump out of the water and eat fish.
Avoid barrels, harpoons and oxygen tanks!
Here's a proof-of-concept for a zoomable camera:
Features
- Multiple cameras
- Set target coordinates, drawn at the camera center
- Set zoom factor, for drawing scaled map and sprites
Functionality
- camera.get_center()
- camera.set_target(x, y)
- camera.get_target()
- camera.start_draw()
- camera.draw_map(tx, ty, tw, th, x, y)
- camera.draw_spr(s, x, y)
- camera.draw_sspr(sx, sy, sw, sh, x, y)
- camera.end_draw()
Relies on this smap function. Code is below or via GitHub.
Is there a way for a keyboard entry when I need an integer from the user?
Especially for this:
https://www.lexaloffle.com/bbs/?tid=141477
On the line of
local playerHand = drawCards(5,cardDeck) |
to which 5 can be modified…
btw can the F keys be overridden to a specific integer? (ie. pressing F12 for an integer of 12)
This is a silent tutorial video; skip to 2:10 for the juicy bit:
This is an animated wallpaper that shows your custom PNG files -- just place them in a particular folder! It also works as a screensaver. It's cpu-friendly, only drawing during transitions.
Installing
load #photo_carousel
mkdir /appdata/system/wallpapers
save /appdata/system/wallpapers/photo_carousel.p64
- run the cart once, to generate the appdata folder
cd /appdata/photo_carousel
folder
- using your host OS, copy any PNG files into this folder (don't put them in subfolders)
- set your wallpaper to
photo_carousel
in System Settings
Settings
Run podtree /appdata/photo_carousel/settings.pod
to edit the settings. Be sure to not press enter while editing (this crashes Picotron 0.1.0e) and you must save with the mouse, not ctrl-s (another Picotron bug(?) -- ctrl-s saves the current cart, instead of the settings file)
Set the transition time to 0 to disable transitions
Hi all, here's a tutorial for creating circular movement, including 'wavy' and circular text (click the image below):
The code can be found below, or on GitHub
How to play:
Arrows to move, X to start. You can step twice, before most monsters stepping once. There are exceptions to this rule.
Find Swords and Shields to help you overcome the enemy horde!
Search the key, uncover where the trapdoor is, and progress further to grab the McGuffin.
Devlogs:
If you are interested in game development articles, code breakdowns and alikes, I try to document all my projects over at my Ko-fi Page, free to read!
https://github.com/Achie72/kofi-articles
The cart is fully commented out, feel free to download and check things if you are interested in the inner workings.
Currently a demo, still a lot of things to add.
-- controls
➡️⬅️⬆️⬇️ to move
-- pitch of the game
Rebootr is a game about porn addiction, each level represents a situation you're faced with, each little red guy represents urges trying to get to you, each little green guy represents a task you have to accomplish.
Get as far as you can into the dungeon, run away from the red guys, run after the green ones.
Made by Charlie B. (https://www.fiverr.com/charlie_boud), ordered by J.K.Emezi.
Picotron will convert all path/url strings to lowercase, invalidating some URLs.
I've uploaded a few small files (lowercase_file.txt
, UPPERCASE_file.txt
and incorrect_case.txt
) to showcase this
function _init() --will try to fetch "lowercase_file.txt" lower = fetch("https://www.lexaloffle.com/bbs/files/51368/lowercase_file.txt") --will try to fetch "uppercase_file.txt" upper = fetch("https://www.lexaloffle.com/bbs/files/51368/UPPERCASE_file.txt") --will try to fetch "incorrect_case.txt" wrong = fetch("https://www.lexaloffle.com/bbs/files/51368/INCORRECT_case.txt") end function _draw() cls() ?lower.."\n\n" --should succeed, succeeds ?upper.."\n\n" --should succeed, fails (notice how error specifies a request to "uppercase_file.txt") ?wrong.."\n\n" --should fail, succeeds end |
this issue has been addressed in the future 0.1.0f update
Picoroom is a multiplayer experience where you can interact with other users by moving your character around a room.
Getting Started
- Enter your selected room.
- Link your friends to https://www.lexaloffle.com/bbs/?pid=145948
- Ask your friends to enter the same room.
Menu Controls
- Move down to "Enter room" to enter the room.
- Left / right arrow keys to change selection.
- Down arrow key to move to the next menu item.
- Up arrow key to move to the previous menu item.
Room Controls
- Arrow keys to move up / down / left / right.
Source Code
Agent Seeker
A PICO-8 Spy Hunter demake/remake/homage
Overview
Agent Seeker is a fast-paced, reflex-taxing game built in the style of the original Spy Hunter, one of the greatest video games ever created. [no citation needed]
Drive your heavily-customized luxury sports car down an endless roadway, protecting innocent motorists from a rogue's gallery of menacing enemy agents. Use machine guns, oil slicks, smoke screens, flamethrowers, and armor-piercing cannons to stop as many enemy agents as you can!
Controls
Arrow keys/D-Pad: Drive (l/r to steer, up for gas, down for brake)
Z key / O button: fire machine guns (front-facing, infinite ammunition)
I'm hoping you can figure out the gameplay controls, but beyond that - L = load the sample level (you may recognize it), E = enter/exit edit mode, G = eliminate excess grind rails, S = save to printh output, left click = place object, right click = change object, mouse wheel = elevation change, Q = rotate object, D = delete at cursor.
So you want to print a star ★ on screen without drawing it? Just do:
print("\146", x, y, col)
\146 is the Picotron character value of the star symbol
Here's the list of all codes we found working in Picotron:
Buttons
\code - symbol - name
- \131 - ⬇️ - Down Key
- \139 - ⬅️ - Left Key
- \145 - ➡️ - Right Key
- \148 - ⬆️ - Up Key
- \142 - 🅾️ - O Key
- \151 - ❎ - X Key
Symbols
\code - symbol - name
- \16 - ▮ - Vertical rectangle
- \17 - ▬ - Horizontal rectangle
- \18 - Horizontal half filled rectangle?
- \22 - ◀ - Back
- \23 - ▶ - Forward
- \24 -「 - Japanese starting quote
- \25 - 」- Japanese ending quote
- \28 - 、- Japanese comma
- \29 - ▪ - Small square (bigger than a pixel)
- \31 - ⁘ - Four dots
- \128 - ■ - Square
- \129 - ▒ - Checkerboard
- \132 - ░ - Dot pattern
- \134 - ● - Ball
- \143 - ◆ - Diamond
- \144 - .... - Ellipsis
Reading my latest tech news seems to suggest that Apple will allow emulator apps on the iPhone. I know PICO8 isn't an emulator like the console ones, but it sounds like it might fall under this line I read from the Ars report:
"Apps may offer certain software that is not embedded in the binary, specifically HTML5 mini apps and mini games, streaming games, chatbots, and plug-ins."
I don't know jack about making apps, getting the approved, or any of the rules they have to abide by...just saw it and my first reaction was hoping it meant something like Splore could become an app and load our games on the phone...??