Log In  

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

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)

:: dw817

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

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

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
:: zep
9

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)
:: dw817

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)
:: johanp

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
:: johanp

@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

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

P#109941 2022-04-08 23:39
:: johanp

That's so cool - love it!

P#110111 2022-04-12 10:55
:: johanp

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
:: mac

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

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-06-26 02:00:55 | 0.033s | Q:48