Log In  

BBS > Community Superblog
All Users | Following | GIFs | Postcarts | Off-site

Cart #gameofelife_picotron-0 | 2024-03-16 | Embed ▽ | License: CC4-BY-NC-SA
1

Hellos.
Just a simple Game of Life program. btn(4) to randomise, btn(5) to pause.

1
1 comment


Cart #daw-9 | 2024-03-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Overview

PICO DAW is a digital audio workstation for creating PICO-8 tunes. If you've ever been frustrated by the piano style layout keyboard layout of the music editor or just wished you could draw your music, PICO DAW is for you. It's a mouse-based alternative for tune creation.

THIS CART IS A WORK IN PROGRESS AND MINIMALLY TESTED. Consider it alpha. Save early and often! Please report any bugs you find.

Quick Start

  1. Open the PICO-8 console and enter load #daw.
  2. Save the cart under a new name.
  3. Optional: Add any desired custom instruments in SFX slots 0 through 7.
  4. Edit music patterns for length, looping, channels, and SFX assignments.
  5. Edit SFX for length, speed, and filters.

[ Continue Reading.. ]

13
1 comment


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 #task_monitor-4 | 2024-03-19 | Embed ▽ | License: CC4-BY-NC-SA
19

A small program for displaying running processes, capable of killing them from the application menu or with a shortcut.

I mainly made this simple project to figure out the picotron gui library for use in other programs I'm working on.

UPDATE 0.3:

  • The window now remembers its size and position when closed

UPDATE 0.4:

  • The app now only refreshes data every second instead of every frame, making rapidly changing numbers readable

UPDATE 0.5:

  • Window settings are now stored in a different file, among other internal changes
19
4 comments


Cart #wordle-1 | 2024-03-17 | Embed ▽ | License: CC4-BY-NC-SA
6

Wordle for Picotron

This is a basic wordle clone. A green letter is in the correct position, a yellow letter is in the wrong position, and a gray letter is wrong.

This uses an invisible text editor to let you type the letters. Press enter to submit your guess.

If you enter a guess that is less than 5 letters, it will clear your text input. There is also no check to see if your guess is a real word, so you can enter random letters if you want. The word list I used is the official wordle list, which I got from here.

Hope you enjoy it!

Changelog

[2024-03-17]

  • Gray boxes on the line you're typing always display

[ Continue Reading.. ]

6
3 comments


Cart #mode7_demo-0 | 2024-03-16 | Embed ▽ | License: CC4-BY-NC-SA
15

A simple mode7-like effect, as seen in multiple SNES titles like Super Mario Kart and F-Zero.

This is archieved with the tline3d function, called once per line on the screen. Change the debug variable in the source code to true to see what the tline3d function indexes on the real tilemap.

The effect uses around 40% of the CPU

15
10 comments


Fadio-8 is a tool for generating Pico-8 code for changing the screen palette over time to do things like fade in/out, fade-to-color, fade to sepia-tone, etc.

Step 1)

Optionally capture a screen from your game. To do this, click the "Copy Capture-Preview Code" button. Then paste the code in you're Pico-8 game. Follow the comments.

Step 2)

Once you have your preview in the clipboard by following step 1, click the "Paste Preview Image" button. You should now see your image fading to black.

Step 3)

Play with all the fade settings like "Steps", "Frames between". Click the numbered color buttons on either side to change the palettes we will blend between. Click the "Set All" buttons to fade to a single color. Click the "Flip" button to change between fade in/out.

Step 4)

Once your preview fade is looking good, click the "Copy Fade Code" button and paste the code into your Pico-8 game. Follow the instructions in the comments you pasted.

7
3 comments


Updated: much higher res at 60fps, thanks to indexed userdata copies!

Cart #picotron_smoke-2 | 2024-10-18 | Embed ▽ | License: CC4-BY-NC-SA
21

Yup, it's a smoke simulation toy for Picotron! Use your mouse to play. Should run at a nice steady 60fps after the first ~1s.

Uses userdata to make pressure projection steps almost free. That's great, since those steps were super-expensive in the PICO-8 version! Unfortunately, advection still has to be done with loops in userspace Lua code, and so that part didn't really see any speed increases, and is the new bottleneck.

There might still be some rendering tricks to speed this up, and I need to see whether some tricks I gave up on in the PICO-8 sim, like a MAC grid or vorticity confinement, might be viable here. Unfortunately higher-order interpolation, which I know would help a lot, is probably not happening without major new userdata features.

21
7 comments


Cart #paint-12 | 2024-03-31 | Embed ▽ | License: CC4-BY-NC-SA
49

An image editor made to imitate the look of Microsoft Paint.

It isn't meant to be a replacement for picotron's built-in graphic editor, but instead is just meant to be a nostalgic little paint toy.

❌Selection tool isn't implemented yet.

supports undo & redo history.

current tools are pencil, bucket, eraser, eye dropper, and magnifying glass.

eraser tool also supports recoloring by using right click.

Supports saving as either pod or gfx format. If you save as gfx it can be opened by picotron's graphics editor.
You can also save just the palette by saving as hex format

update v1.1 - improved the pencil and eraser tools. now they'll draw a line when moving the mouse quickly and won't push to history until you finish your stroke.

[ Continue Reading.. ]

49
7 comments


Cart #boxxed-0 | 2024-03-16 | Embed ▽ | License: CC4-BY-NC-SA
1

Boxxed

This is a simpleish game made to be run on the desktop. load it and run it, to play.

Arrow keys to move the player, Z to shoot. Shoot or run into the edges of the window to move it! it also grows a bit every time! Try to destroy as many enemies as possible without getting caught yourself!

New features planned, such as items or upgrades.

1
1 comment


Cart #tripper_ost-0 | 2024-03-16 | Code ▽ | Embed ▽ | No License
1

This is the in-game OST for Wire Tripper.

https://kbones.itch.io/tripper

It's the second collaboration with Bones studios that I've done all of the audio design on. SFX, and music were all composed by me - DJ Tent Mode. It's the first time that I've used custom instruments in any meaningful way. I'm looking forward to trying out the Wavetable functionality in the next collaboration.

I hope that the cart's code itself can be helpful for aspiring PICO-8 musicians to repurpose. Having the structure of a "sound test mode" cart has been very helpful for my composition process and I hope someone else can get use out of it.

My favorite track is the tutorial tune, "Put it on my charge card" which uses the custom instruments to provide quite a bit more texture than what I felt was possible when I started writing PICO-8 music about 4 years ago.

1
0 comments


Quick test I made.
こんにちは Picotron!

Cart #worm_scoot_test-0 | 2024-03-16 | Embed ▽ | No License

0 comments


Cart #slate-7 | 2024-03-31 | Embed ▽ | No License
54

SLATE

(scrapSavage's Lovely Advanced Text Editor)

Features:

  • Drag and drop file loading
  • Run and save within editor
  • Automatic updates (off by default)
  • Quickly switching between open files
  • Automatically updating help reference
  • Quickly opening file locations
  • Monospace font
  • Column display

Settings (Can be edited in prefs.pod):

  • Automatic updates (true by default, used to decide to check for updates when opened)
  • Install path (changes were SLATE is installed when downloading updates)

You can use this cartridge as a shortcut to the latest version.

If you have a question please use the "Help" button in the app menu to see if it's already been answered.

54
20 comments


Cart #xsnow-1 | 2024-03-19 | Embed ▽ | License: CC4-BY-NC-SA
4

It is quick clone of Xsnow.

To add it to wallpapers, after load in ram:

save /appdata/system/wallpapers/xsnow

To add it to screensaver, after load in ram:

save /appdata/system/screensavers/xsnow
4
1 comment


Cart #avoider-0 | 2024-03-15 | Embed ▽ | License: CC4-BY-NC-SA
1

This is a simple arcade like game i made on launch day. posting it now that saving is fixed :D

Avoid asteroids for as long as you can!

If you like this game, or more specifically the engine running it, feel free to edit this cart or make your own things using its engine! I hope you all like avoid.p64!

1
0 comments


Cart #alittlemessage-0 | 2024-03-15 | Embed ▽ | License: CC4-BY-NC-SA

0 comments


HEY!

If you're reading this, a newer better version of this tool is available (https://www.lexaloffle.com/bbs/?tid=140703)

Cart #popout_editor-0 | 2024-03-15 | Embed ▽ | No License
8

Popout editor

A live code editor of the current cart loaded into ram that can save to and run from ram.
I'll be updating this more soon, but here's the first version. Please let me know of any QOL features I could add or any problems you have.

8
1 comment


I extracted all the public names of functions and tables that are visible to Picotron, it might be useful to explore everything that is available
printh doesn't seems to work like in Pico 8 so I couldn't easily make it into a text format, so here is just a screenshot of all the globals functions (in white), tables (in dark blue) and others (in red):

And I also got the functions inside all the tables:

36
19 comments


Why isn't there an english speaking Picotron telegram group chat already?

Feel free to join and chat about Picotron related stuff. This console is going to be huge!

https://t.me/picotron_community

I did it to not spam the forum with repetitive issues
@zep tell me if this isn't something you like

2
7 comments


I'm writing a simple toy program to get familiar with the API.

I have a string, "Hello World!", that I am intending to print centred horizontally and vertically, adapting to window dimensions on the fly.
In the top line in the screenshot I am printing it in one go, in the bottom line I am printing it letter by letter to enable a "rainbow" effect.

I noticed the two strings are spaced differently, and I realised Picotron in fact uses a variable-width font. I was allotting 5 pixels for each character in my printing routine, but as it turns out the lowercase "l" is one pixel narrower, while the uppercase "W" is one pixel wider.

How do I deal with the variable width of characters for printing and layout work? Is there an API function to get the exact dimensions of a character?

My code:
[hidden]

---[[ Comment/uncomment to run fullscreen/windowed
window{
	width = 240,
	height = 120+32,
	title = "Tester"
}
--]]
text="Hello World!"

function _draw()
	local width = get_display():width()
	local height = get_display():height()
	local align = width/2-((string.len(text)-1)*5/2)	-- Assuming char width 5
	cls()

--Print all text in one go
	print(text, align, height/2-8, 9)

--Print text letter by letter
	for i = 1,string.len(text) do
		print(string.sub(text,i,i),align+5*(i-1),height/2+4,i)	-- Assuming char width 5
	end

--Print CPU usage
	print(stat(1), width-48, height-7)
end

function _update()

end

[ Continue Reading.. ]

1
3 comments




Top    Load More Posts ->