CodeWalrus

Development => Consoles => Topic started by: Juju on June 04, 2016, 03:37:33 am

Title: Juju's PICO-8 projects
Post by: Juju on June 04, 2016, 03:37:33 am
If you check PICO-8's built-in splore tool, you might notice I posted a few stuff there:

PICO-83
An attempt to bring the TI-83+ to PICO-8. So far Output() works.
http://www.lexaloffle.com/bbs/?tid=3537

pet the dog!!!!!!!!!!
Based on this thing (http://dogs.are.the.most.moe/), which in turn is based on Undertale.
http://www.lexaloffle.com/bbs/?tid=3542
Title: Re: Juju's PICO-8 projects
Post by: xlibman on June 04, 2016, 04:47:25 am
Nice to see you doing PICO-8 stuff, especially since you know Lua. :) I am curious about what you will come up with with the PICO-83 thing. Also lol at Pet the Dog. Is there a goal in the game or is it like Desert Bus and Level up by Walking around? :P

Good luck with future PICO-8 projects. :)
Title: Re: Juju's PICO-8 projects
Post by: Juju on June 04, 2016, 05:07:16 am
Eh, been a while I played with PICO-8, picked it back up yesterday while bored. PICO-83 is pretty much a proof of concept while, well, there's no goal in Pet the dog other than petting the dog.
Title: Re: Juju's PICO-8 projects
Post by: xlibman on June 04, 2016, 05:16:06 am
Lol I see. I am curious about how feasible it would be to port LOVE 2D games to PICO-8 with smaller sprites if they are simple... Supersonic Ball would definitively be cool

(https://img.ourl.ca/SSBDATA.bmp)

Of course it would have much fewer colors, though.
Title: Re: Juju's PICO-8 projects
Post by: Juju on August 01, 2016, 05:37:41 pm
Of course it would.

Oh, also, a window manager GUI in PICO-8, because why not.
http://www.lexaloffle.com/bbs/?tid=3980
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 01, 2016, 05:41:31 pm
I actually like how it looks like. By the way I am curious if GIFs produced by PICO-8 capture thing (whatever it is) are big in size or if they're smaller than their calculator counterparts? I notice that they're much smoother overall.

Do you plan to do something with this Window manager, by the way?
Title: Re: Juju's PICO-8 projects
Post by: Juju on August 01, 2016, 05:43:51 pm
I actually like how it looks like. By the way I am curious if GIFs produced by PICO-8 capture thing (whatever it is) are big in size or if they're smaller than their calculator counterparts? I notice that they're much smoother overall.
Dunno, I made a short one and it's about 300K.
Do you plan to do something with this Window manager, by the way?
No. Not yet, anyway.
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 01, 2016, 07:34:18 pm
Hm that's quite big O.O but I guess it's handy when a website lacks video embedding support
Title: Re: Juju's PICO-8 projects
Post by: garvalf on August 01, 2016, 08:54:02 pm
Nice WM juju, I like that. It's very smooth too (thank you new 60 fps mode)

The pico-8 gif export is not optimised at all, but it's easy to load the exported gif into GIMP, then use the "optimise gif" tool which will reduce it by a factor of 8 or 10.
Title: Re: Juju's PICO-8 projects
Post by: Juju on August 02, 2016, 12:09:59 am
Update: Turned it into a module, added title bars and the ability to resize windows.
Title: Re: Juju's PICO-8 projects
Post by: Ivoah on August 02, 2016, 04:16:06 am
Of course it would.

Oh, also, a window manager GUI in PICO-8, because why not.
http://www.lexaloffle.com/bbs/?tid=3980
I saw this on twitter, looks nice! It could make a nice UI for a "hacking" game or something.
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 02, 2016, 04:29:30 am
By the way, does it require any dependencies? I didn't know PICO-8 had mouse support before. Also this could be handy for other people I think. Maybe this should be split into a PICO-8 Window Manager topic for more visibility and addition to download section?

Also you should add options that allows people to hide title bars or icons or even disable drag and drop. That could be handy if for example someone was to use this in a JRPG and didn't want the mouse stuff.
Title: Re: Juju's PICO-8 projects
Post by: Ivoah on August 02, 2016, 04:32:29 am
By the way, does it require any dependencies? I didn't know PICO-8 had mouse support before. Also this could be handy for other people I think. Maybe this should be split into a PICO-8 Window Manager topic for more visibility and addition to download section?

Also you should add options that allows people to hide title bars or icons or even disable drag and drop. That could be handy if for example someone was to use this in a JRPG and didn't want the mouse stuff.
PICO-8 doesn't "officially" have mouse support. Somebody found out that by poking the right values in memory, you could read the mouse position and button state.
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 02, 2016, 04:33:55 am
Oh rofl, so someone hacked PICO-8? Or is it just by using pointers or something like some stuff we could do in Axe?
Title: Re: Juju's PICO-8 projects
Post by: Ivoah on August 02, 2016, 04:34:55 am
Oh rofl, so someone hacked PICO-8? Or is it just by using pointers or something like some stuff we could do in Axe?
Pointers and stuff.
Title: Re: Juju's PICO-8 projects
Post by: Juju on August 02, 2016, 04:35:43 am
Yeah, mouse support is an undocumented feature and not officially supported. It's there, likely for the program editor, except zep did not meant to put it in the docs and/or anyone to use it.

Also you should add options that allows people to hide title bars or icons or even disable drag and drop. That could be handy if for example someone was to use this in a JRPG and didn't want the mouse stuff.
I think you're better drawing rectangles in that case. Unless you need to move windows, that is.
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 02, 2016, 04:39:25 am
Ah ok. I hope it won't get patched by accident in future versions. That's kinda cool that we can do such stuff. Also I was suggesting the JRPG idea since sometimes that requires moving windows and stuff and it would make it easier for programmers to make menus. But also it would make your routine more versatile.
Title: Re: Juju's PICO-8 projects
Post by: Juju on August 05, 2016, 05:54:18 am
Update! It looks like a decent OS with a taskbar now, check it out.

http://www.lexaloffle.com/bbs/?tid=3980
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 05, 2016, 07:12:09 am
It even supports touchscreen for the mouse movements o.o

Also this looks good so far. Now it reminds me a bit of Windows 98 :P
Title: Re: Juju's PICO-8 projects
Post by: Snektron on August 05, 2016, 04:09:09 pm
Looks pretty cool :o
Title: Re: Juju's PICO-8 projects
Post by: c4ooo on August 06, 2016, 11:59:22 am
I wonder if a pico8 emu on CE would be possible? Given the large amount of games on pico8 games, such an emulator will open a lot of gaming possibility. If not then maybe an emulator of some nintendo consoles would be possible on the CE?
Title: Re: Juju's PICO-8 projects
Post by: Ivoah on August 06, 2016, 02:51:08 pm
I wonder if a pico8 emu on CE would be possible? Given the large amount of games on pico8 games, such an emulator will open a lot of gaming possibility. If not then maybe an emulator of some nintendo consoles would be possible on the CE?
I asked zep about the possibility of porting PICO-8 to the Nspire and he said that it wouldn't be possible, so I'm sure a CE port would be out of the question unfortunately.
Title: Re: Juju's PICO-8 projects
Post by: c4ooo on August 06, 2016, 03:06:36 pm
Wouldn't be possible do to legal or hardware reasons?
Title: Re: Juju's PICO-8 projects
Post by: Ivoah on August 06, 2016, 03:07:02 pm
Wouldn't be possible do to legal or hardware reasons?
hardware
Title: Re: Juju's PICO-8 projects
Post by: c4ooo on August 06, 2016, 03:08:43 pm
Ohh. What makes it so impossible? The fact that you need a lua interpreter or a lot of memory or something else?
Title: Re: Juju's PICO-8 projects
Post by: xlibman on August 06, 2016, 05:17:27 pm
Maybe PICO 8 was not optimized enough to run on such lower-end hardware?
Title: Re: Juju's PICO-8 projects
Post by: Juju on March 02, 2017, 07:16:00 am
New program!

https://juju2143.ca/streamp8.html

(Allow your webcam. Yep.)
Title: Re: Juju's PICO-8 projects
Post by: xlibman on March 02, 2017, 05:49:43 pm
Lol that is epic. I didn't know PICO-8 could do video streaming from a webcam (or Manycam)
Title: Re: Juju's PICO-8 projects
Post by: Juju on March 02, 2017, 09:41:07 pm
Yeah, most of the thing is done in Javascript, then it crams it in PICO-8's 128 bytes of GPIO port memory. Kinda why it's this slow.