Log In  

Cart #picopicotron-2 | 2022-04-12 | Code ▽ | Embed ▽ | No License
124

Picopicotron

Picopicotron is a toy desktop environment with a bunch of silly programs included. I wrote it in anticipation of Zep's actual Picotron but I doubt there are any similarities. :D

Features

  • Play tiny games!
  • Live coding with a very limited version of LUA and pico8 commands!
  • Copy & Paste code!
  • Change the graphics of most things in real time!
  • Take notes and have eyes follow your cursor!
  • Mouse required!
  • Start up sound by Gruber Music!

Hope you'll like it and have fun!

P#109575 2022-04-02 15:15 ( Edited 2022-04-12 10:59)

Tried to load notes after rebooting and saving notes, crashed, @johanp.

P#109577 2022-04-02 15:20 ( Edited 2022-04-02 15:35)

Ooops! Fixed and re-uploaded. Thanks for finding that one.

Saves don't carry over between runs. Not even between windows I think. :D

P#109578 2022-04-02 15:31

Very well done Johan. Only tried on mobile so far but can't wait to rock it on desktop for the full experience!

P#109580 2022-04-02 15:46
11

This is so good :D I love the live programming & sprite editing.

> but I doubt there are any similarities

...

{ sound of frantically scribbling notes }

P#109582 2022-04-02 16:24

Amazing.
Just... amazing! 🤩👌

P#109584 2022-04-02 16:34

This is beyond mind-blowing. Great work at beating zep to market 😂

P#109587 2022-04-02 18:00

This is so cool :D I hope zep sees and acknowledges this :) Feels pretty great to use too!

P#109588 2022-04-02 18:15

Hahaha this is really cool. I just won the card game :)

P#109590 2022-04-02 19:22

Wow. I tried making something sort of like this a while ago, but this is way better! :)
(Could you give some examples for the live code editor? I can't figure out how to do if statements. I tried digging into the code of the project, which helped a little, but its too advanced for me.)

P#109592 2022-04-02 19:40 ( Edited 2022-04-03 18:46)

Seems to be running better, @johanp. Really good ! Gold star work.

Suggest you have a configuration option to change background pattern of OS, perhaps change shape and image of mouse pointer. All the comforts of a good new OS. :)

Also is the information saved so if rebooting later it can be retrieved ? Prefs, cards, paint, code, notes ?

P#109597 2022-04-02 19:58 ( Edited 2022-04-02 20:00)

Thanks for the kind words everyone!

@Munchkin - At the core, the live coding does a couple of things.

  • detect the command and arguments by finding the ()'s and splitting
  • then just run the corresponding command (if there is a match) and pass the arguments using unpack(split(arg_str))
P#109631 2022-04-03 16:52

Thanks for the response! Its still a little over my head, but I think I sort of understand it now.

P#109636 2022-04-03 18:53

@Munchkin - I made a standalone example: https://pastebin.com/jkhCTcn8

P#109664 2022-04-04 06:48

So it is taking the variables you give and executing them by splitting strings into code, which is then fed into a function. Thanks for the example!

P#109695 2022-04-04 18:21 ( Edited 2022-04-04 18:30)

Very cool @johanp! Love it!

P#109735 2022-04-05 13:04
1

awesome , so , i was bored and , i made this

P#109941 2022-04-08 23:39

That's so cool - love it!

P#110111 2022-04-12 10:55

Updated with some new features!

  • startup sound by Gruber Music!
  • ability to copy/paste text in and out of editors
P#110113 2022-04-12 10:58

WOW! This was such a surreal experience haha. I especially loved watching the sprites change in real time! Really great work. Thanks for sharing.

P#113539 2022-06-23 16:30
1

I will be replacing my os with this masterpiece.

but all jokes aside, great game/os

P#113724 2022-06-27 11:51 ( Edited 2022-06-27 11:52)

i love how you can edit sprites like the mouse in the paint program and it will actually change the thing you painted, thats so cool!

P#124242 2023-01-13 19:25
1
P#128587 2023-04-15 16:26

It's pretty cool but I think you should have done this in tab 7 and got rid of the SFX you put in the p8 document:

if not jingle then
    jingle=true
    sfx(0)
end
P#129860 2023-05-17 22:56 ( Edited 2023-05-18 22:57)

Can you make a more beginner-friendly version?
I was trying to code a pico 8 operating system, but i got confused in the code.
Maybe the new version could look something like this:

P#131405 2023-06-27 21:25

1 word: rage

P#134916 2023-09-26 15:38

Wow this actually works on the phone! It was fun playing cards like I was on a windows xp in 2005 😭 only thing is you can’t close windows you open and code editor doesn’t show keyboard to type in

P#141927 2024-02-25 11:30

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 13:09:15 | 0.039s | Q:63