Log In  
Follow
Maeve
Train Journey
by Maeve

I installed Picotron v0.1.1e this morning and was not entirely surprised to find that a project of mine doesn't fully work with the current version. Seemed like buttons weren't working, but the project runs fine. After some testing around, I think the issue is that GUI mouse events aren't triggered when that GUI Element is inside of code that is loaded at runtime, using the load() function. (I'm also not getting any error popups for broken syntax, the cart just refuses to run, but this is unrelated.)

Here's a cart that demonstrates the issue I'm having, and I have confirmed that it works like I'd expect on 0.1.1d:

Cart #meivuu_gui_bug-0 | 2025-02-19 | Embed ▽ | No License


In the cart above, each button has code to draw a rectangle, but one is defined in the source code of the cart, and the other is defined in a string that is loaded in _init() using the load() function and passing it a table with the same contents as the _ENV table

1 comment



After seeing the post about the public canvas over at https://www.lexaloffle.com/bbs/?tid=146418 I got curious about whether it would be possible to make a canvas viewer on Picotron.

After a bit of poking around, I found that you can get a png of the current state of a portion of the canvas with a web link like so: https://everyonedraw.com/api/og-image.png?x=655330&y=655330&zoom=1
This seems to me like an ideal (and possibly the only) way to read it.

I tried using pancelor's png import library for some quick tests but something seems to be wrong with the png when fetched with that link and I couldn't actually convert it to userdata. Another issue is that the png automatically scales to around 1100x1100 as far as I can tell.

I'd be curious to hear ideas for making this work. Not sure if I'll keep working on it but I wanted to post what I found in case anyone more experienced wanted to give it a shot.

This cart has code that reproduces the issue I had:

Cart #canvas_thingy_meivuu-0 | 2025-01-04 | Embed ▽ | No License

[ Continue Reading.. ]

0 comments



Hey there!
So I've been working with some people on translating a game of mine into a couple of different languages. I can't seem to figure out how to change the default PICO-8 pause menu text into the desired translated text though. As far as I understand, you can clear the menu and add your own items, but I don't really want the translations to have reduced menu features from the original. Is there a way that I missed to actually replace default menu item text? Or some fairly low-token alternate solution? I realize that I'll probably have to settle with some amount of English in the menus so any ideas are welcome.
Thanks! ^^

1
2 comments



Cart #screensnower-1 | 2024-03-29 | Embed ▽ | No License
1

Here's a fun little screensaver I was workin on for a little while! Watch the snow fall :)

1
1 comment



Cart #cityview-9 | 2025-02-19 | Embed ▽ | License: CC4-BY-NC-SA
30

Here's a moving wallpaper I made, hope u enjoy :)

30
6 comments



Cart #piconet_explorer-15 | 2024-12-18 | Embed ▽ | License: CC4-BY-NC-SA
55

IMPORTANT!!

In this version of the browser, websites are currently not sandboxed! This means that a malicious user could make a website that causes you to lose all your Picotron data among other things (it can't affect the host computer though), so I'd highly recommend only using this program on the browser embed here on the Lexaloffle forums.

I'm working on a new version of the browser that fixes this and more, so sit tight until I share it :) I'll post a handful of preview videos of the update here in the comments in the near future if you're curious about what's coming though.

Original description:

HI! I thought it would be neat to have a little isolated version of the internet for the Picotron! This is a very rough start of what I think that might look like (I very limited knowledge of how web protocols or any of that stuff works).

Many of the known bugs are fixed but. There may still be a few here and there tho so lmk if you run into one

Anyway, to add a page to the browsing catalogue, you need to type a comment in this format, replacing the plus symbols with caret symbols:

+PICOSITE+ link + title + about +

Notice where the spaces are placed! this is actually important lol
an example:

^PICOSITE^ https://raw.githubusercontent.com/May0san/piconetdemo/refs/heads/main/home.lua ^ PicoNet Homepage ^ The homepage of the PicoNet! ^

Try to not make your "about" too long.

I apologize in advance for the messy disorganized code lmao. Upon downloading files the browser will create a downloads folder in the root folder if one doesn't already exist. If anyone wants to propose a better standard for this, feel free :)

As for writing the actual page, you can view my examples on this github repo:
https://github.com/May0san/piconetdemo/tree/main

Btw in previous versions of Picotron, the webplayer couldn't run PicoNet Explorer, so keep that in mind.

Most recently, I fixed the draw order issues and changed the browse page so that it should be able to read from multiple pages of sites. I'm also working on a major overhaul of how this "PicoNet" works! Hopefully you can look forward to a major update soon!

Features:
✅ visit and display hosted file with gui data (a "picosite")
✅ catalogue all the sites posted on this forum page into a browser list
✅ allows use of a "gif" which is really just an image with multiple sprites in one and is indexed with sspr to advance the animation. (subject to modification when sitebuilder is complete, will mostly still work the same though.)
☑️ create a "sitebuilder" site (and also corresponding cart) to graphically design and export websites as code

55
59 comments



Cart #amateur_3d-0 | 2024-03-19 | Embed ▽ | License: CC4-BY-NC-SA
8

Hi! I've been working on trying to get something 3D for a while now, and in my first attempt, I wrote my own matrix functions, and I didn't even realize that userdata had built in support for matrix operations!! Well fortunately picotron crashed and I had to rewrite the whole thing!! :sob:

So anyway the cartridge above is my attempt at 3D rendering. This is my second ever attempt so there are probably some inefficiencies in there; so let me know if you have ways to make it run faster!! I've got 3 models included in comments in the code (no fancy gui yet, sorry, just paste the link from the comment to the "parse_obj()" function) so you can see how it performs with different size models.

[ Continue Reading.. ]

8
4 comments



Hi! I have been trying to run code from multiple lua files for organization's sake. Since the "require" keyword from lua still seems to not work, I've been trying to figure out other ways. I've been scouring what I could find about picotron and the only way I could figure to import code from another lua file was this, based on what I could understand of the proggy code:

this lists out the dependencies and runs the text in those files as functions as far as I understand it:

here's the matrix lua file:

and here's the folders in the loaded cart:

if anyone else has figured out how to do this in a better way, please let me know because I'm probably doin this in a very silly way. but otherwise, I hope this is helpful!!!

(sorry if this is in the wrong category, picotron isn't showing up for me in the category option for posting, unless i click the post button directly from the cartridges page. edit: I figured out how to post in the right category, I will do that properly next time!)

1
7 comments



Cart #planet_song_kaiba-0 | 2023-01-17 | Code ▽ | Embed ▽ | No License
7

A cover I made of a lovely song from a fantastic animated series called Kaiba. The animation is also based on that show.

I hope you enjoy!
. /) /)
.( • ༝•) ~

7
2 comments



Cart #trainjourney-4 | 2025-01-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
40

Train Journey

You wake up on an empty train. None of its stops are your own. How will you get home...?

Description:

Train Journey is a 16-cartridge PICO-8 game (the maximum size) about a mysterious train to which the player is seemingly bound. Travel between stops, meet unique characters, and learn their stories. Can you free yourself and return home? Or will you ride the train forever...?

Controls:

[X/V]: Use Shooty (an unlockable item)

Enter: Pause

Left & Right Arrow Keys: Movement

Up Arrow Key: Interact & Shooty Up

Down Arrow Key+[X/V]: Use Shovel

[ Continue Reading.. ]

40
44 comments



Cart #tj_demo_main-2 | 2022-09-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

HI THERE!!! ヾ(•ω•`)o

(I might've messed the formatting up, so I may have to edit this a few times)

.

So I've been working on this project for a little over a year and now it's almost time to release it! I'm SUPER excited!!!
o(≧∀≦)o
Above, you can play the demo. It contains the first two levels of the game and cuts off at the third. I hope you enjoy it! And lemme know if something goes wrong while playing it.

.

The concept originally came to me from a piece of artwork in the Famicase gallery (I think it was either the 2018 or 2019 one). The cart was called "TrainTrip". There wasn't a very detailed description of the artwork, so I started thinking up something very different from what one might expect based on that description. It eventually branched off so far and became such a big project for me, so I changed the name slightly, but kept it similar as a reference to the original artwork. Some other big inspirations for me were Kaiba, Night on the Galactic Railroad, and Galaxy Express 999, all of which feature a protagonist who is taken across different lands, but who has no control over the vehicle they ride or where they go (and yes, two of which feature trains). Obviously, I highly recommend those three animations.

[ Continue Reading.. ]

9
4 comments



Cart #eftal-3 | 2021-03-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
20

Optional background: (Contains spoilers for the Nausicaa of the Valley of the Wind books by Hayao Miyazaki!)

After the "Seven Days of Fire," a global war that ended all forms of industrial civilization when it was at its climax, civilization was reformed somewhat into the kingdom of Eftal which retained many of the technological wonders from before the event. Close to 700 years after the Seven Days of Fire, disagreements over the right to the throne and attempts to destroy the spreading toxic jungle that had appeared just after the apocalypse resulted in the kingdom's near-complete destruction.

The insects which reside in the jungle were enraged by the constant attacks on it, and a surge of insects-- including the king insects of the jungle, the Ohmu-- overtook the capital city of Eftal and nearby lands, becoming seedbeds for the fungus of the jungle. Those that survived this tidal wave of forest and insect (called a Daikaisho) either became a tribe of mercenaries or entered the forest which they call their home, surviving off of a symbiotic relationship with the plants and insects that live there.

[ Continue Reading.. ]

20
14 comments



Cart #catwalk-3 | 2021-02-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
22

My first PICO-8 game!

It's also my first non-endless-arcade-type game really.
Let me know what you think!
<3

22
7 comments