Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

Hello !

I'm trying to find a setup where I can edit the files inside of a cart with an external editor like VSCode.

In the filesystem documentation it's suggested that you use the following commands

mkdir /live_cart
mount /ram/cart /live_cart
folder /live_cart

However this doesn't work in the current version because you can't mount a folder that already exists (here /ram/cart)

Running rm /ram/cart then trying to mount it does work, however trying to load a cart seems to override the mount so you can't edit it.

Copying the content of the cart from ram/cart into a folder, then mounting that folder into /ram/cart, then trying to run the cart doesn't work either because the editors will save their content into ram and override the files in your cart.

Has anyone found a reliable solution for this use case ?

Thanks !

1
0 comments


Symptoms:

  • platform: Windows / Mac?
  • printh from a program yields nothing in the program output window

How to reproduce:

  • copy following code in main.lua
printh("bob")

precision: confirmed to work on Linux, text is directed to the console that launched picotron

6 comments


Symptom:

  • a program that loops (intentionnaly or not!) will not produce any print before _update or program exits.

How to reproduce:

  • paste following code in main.lua
for i=1,10 do
 print(string.format("hi world %ith",i))
end

while true do
end
1 comment


Cart #trashbin-2 | 2024-03-22 | Embed ▽ | License: CC4-BY-NC-SA
7


A simple trashbin.
Drag some files and drop them in the trashbin.
The trashbin icon uses the theme colors for icons.

Add the following lines to /appdata/system/startup.lua:

create_process("/desktop/trashbin.p64", {
	argv = {
		config_path="/appdata/trashbin.pod",
		trash_dir="/trash"
	}
})

Modify the values for config_path and the trash_dir at will.
The trash_dir will be generated and a trashbin icon will be set in the metadata.
Double-click on the trashbin will open the configured trash_dir in the filenav app.
You can drag and drop the trashbin and it is saved immediately in
the pod configured in the config_path.

changelog

1.1.1

  • fix issue with missing theme pod
    in web player

1.1.0

  • use current theme colors for icon
  • instead of right-click, a double-click
    now opens the configured trash_dir
  • more dynamic sprite for the
    trashbin (thanks to @washburnello)
  • set icon in metadata of trash_dir

1.0.0

  • drag and drop files into the trashbin
  • right-click on trashbin opens
    configured trash_dir
  • drag trashbin to change
    position (thanks to @cubee)
  • new position will be saved in a
    pod configured with config_path
7
9 comments


Clip is a clipboard manager that adds a simple clipboard to your tooltray

Maybe it's not so handy as other clipboard managers, but I think it's good enough for the first version

Feel free to comment if you find any bugs or have suggestions!

Cart #clip-0 | 2024-03-20 | Embed ▽ | License: CC4-BY-NC-SA
4

4
0 comments


function _draw()
  cls()
  print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n") -- 19 newlines
end

costs 0.1 cpu according to ctrl-p.
however,

function _draw()
  cls()
  print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n") -- 20 newlines
end

costs 0.47 cpu. Each additional newline after that adds around 0.46 cpu usage. This happens with seperate print calls as well. Supplying coordinates to the print call will prevent the cpu from spiking. Note that the 20th newline is when print will scroll the first line off the screen.

1
4 comments


It appears that at the moment, playing any web player in the Superblog only plays the most recent cart run on the page since loading (whether PICO-8 or Picotron, regardless of player)

This will eventually error out for Picotron webplayers attempting to load PICO-8 games.

1
0 comments


Cart #wavepaper-0 | 2024-03-20 | Embed ▽ | License: CC4-BY-NC-SA
23

Please enjoy this very necessary desktop wallpaper.

This is 0.1 and not 1.0 because performance is a major issue: this will run at 60fps if you have no windows open, but will drop to 30fps or possibly lower if anything at all is running on top of it. When that happens, (WARNING) you may get some flickering, especially if some windows overlap desktop icons.

Despite the fact that this is basically just a reskin of the other wave sim I posted - using a different rendering effect to keep it compatible with the default palette - I still think it's kind of neat. Hopefully I'll find ways to get this running more smoothly over time. Or, failing that, maybe just ways to pause it if anything else is open.

[ Continue Reading.. ]

23
3 comments


A two player TRON lightcycle game. Try not to crash before the other player does!

Cart #picotrontron-0 | 2024-03-20 | Embed ▽ | License: CC4-BY-NC-SA
5

From picotron, type "load #picotrontron-0" to load the game

On a PC, Player 1 controls are the arrow keys. Player 2 controls are WASD. The second player doesn't seem to work on the web for some reason, but should work when run within picotron itself.

5
0 comments


Cart #carrotinspectorv7-0 | 2024-03-27 | Embed ▽ | License: CC4-BY-NC-SA
11

How To Play

Click on white carrots! (don't ask me to elaborate)

Behind The Scenes

I'm really enjoying PICOTRON, and here's a little interactable demo I made in abt an hour, seeing what I can do in PICOTRON! Enjoy!

Version History

V0.7 (3/26/2024)-
-Added a new scoring system
-Added hungry bunny (top-left)
-Added icon + info

11
3 comments


Cart #picotron_wiki-11 | 2024-04-17 | Embed ▽ | No License
81

The Picotron Wiki

This is a viewer for the online Picotron wiki
(https://github.com/Picotron-Software-Developers/Picotron-Wiki)

If you'd like to contribute to the Wiki please make a pull request on the GitHub. The interface and capabilities will be updating soon!
(Just wanted to get this cart out today)

Here's a guide on how to contribute: https://www.youtube.com/watch?v=_8zS45cHeRA

Warning: This cartridge may not work in the web player

You can run load #picotron_wiki to use it inside Picotron

81
18 comments


Cart #overlyeasyrunnr-1 | 2024-03-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

  • is this game a runner? YES
  • is it easy? YES
  • is it a good game? NO
  • IS OVERLY EVEN A WORD!?!?!? NO!

idk this is literally my first game and I didn't really use any instructions.
enjoy (kinda)

2
7 comments


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

Just checking web player timings. Please ignore.

(Just to note, this uses really crappy math for getting the seconds, so if it overlaps the current minute's seconds, the numbers will be overlap incorrectly. Just start it again near the beginning of a minute.)

But @zep, check these timings. The web player is running super fast.

2 comments


Cart #hexpop-1 | 2024-03-25 | Embed ▽ | No License
36

This is a fun, simple wallpaper. I was trying to keep it from being too annoying, but also still look cool. At some point I may have it follow the current theme colors. But for now it just uses the spritesheet. It runs idle at around 0.3% CPU and maxes out around 4% or 5% CPU.

You can add this to your Picotron wallpapers by typing this in Terminal (which assumes you've already created a /appdata/system/wallpapers folder):

load #hexpop
save /appdata/system/wallpapers/hexpop.p64.png

If you want them, I also made three other variations: Fire, Rainbow, and one that follows your theme.

Cart #hexpop_fire-0 | 2024-03-25 | Embed ▽ | No License
36

[ Continue Reading.. ]

36
4 comments


by zep
Cart #bells-0 | 2024-03-19 | Embed ▽ | License: CC4-BY-NC-SA
18

Testing the 0.1.0c web player

18
17 comments


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

load #ripple_wallpaper then save appdata/system/wallpaper/ripple_wallpaper

comes in any colour, uses ~0.5 cpu

14
0 comments


Cart #marumba-10 | 2024-10-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4


Shunting Master!

Congratulation, you got a new job and it is your first day at the shunting yard. Your first task is to collect 100 rail skids.
After collecting 5 skids you have to hang them at the skidrack(press x).
But don't be lazy, time is tickin' and you will get tired soon...

The game is almost done now, I guess at the end it is quiet difficult and you need some luck to avoid long distances.
Diagonal movement is adjusted and jittery movement is eliminated for almost 98%.

last update
-bunnies added
-locomotive added

previous update:
-npc coworker

next:
-fix screenshake

4
2 comments


Cart #shallowend-5 | 2024-03-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
20

Controls

◀ ▲ ▼ ▶: move player/make choices
z/o: interact with world
x/x: show/hide minimap

Story

It has been 3 years since darkness has left the land. Your brother has been missing since the darkness was lifted. Many rumored he defeated the four evils and brought peace back to the land. Now darkness is returning. You have the hero's blood, so you are the next hope.

Explore the 64x64 resolution world with a cozy 63 screens map.

Discover the secrets to your brother's disappearance. Learn more about yourself and gain insights.

[ Continue Reading.. ]

20
7 comments


Initial Inspiration

My inspirations for this game are games like Zelda and Undertale. I wanted to include dating sim style gameplay as well because I think it is fun. I was interested in the idea of this being the second time the boss monsters have interacted with heroes. I thought this gave a cool dynamic to the bosses and gave them the opportunity to give their perspective of heroes running in and breaking stuff.

A portion of my notebook is dedicated to 1-2 page game drafts. These can be as short as a name and a couple of sentences of ideas or filling the entire space. I really enjoy making rapid fire game concepts. The 2 pager for this game had the viewscreen being 64x64. After I saw the game SokoBird, I knew I wanted to try something low-rez. After deciding on a game idea I want to pursue, I'll move to the section in my notebook where I can write multiple pages and have room to blog my progress. I enjoy looking back at the draft page to see what ended up being altered or abandoned.

Development

[ Continue Reading.. ]

3
2 comments


Cart #munchrush-0 | 2024-03-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
6 comments




Top    Load More Posts ->