Log In  

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

Just a few notes from playing around with userdata. These notes assume 8M VM cycles/sec and large enough arrays to avoid substantial overhead and fully realize economies of scale.

  • Fast ops - add/mul/copy/etc. - cost 1/16 cycle.
  • Slow ops - div/convert/etc. - cost 1/4 cycle.
  • matmul is charged as a fast op based on the size of the output matrix. I'm a little suspicious that the answer seems to be so simple, so I'm wondering if I missed something.
  • copy and memmap/memcpy are approximately the same speed for 64 bit datatypes. For smaller datatypes, memcpy is proportionally faster, though of course you then have to manage strides/spans yourself. memcpy should also enable reinterpret_cast type shenanigans.
  • There is substantial overhead for small spans. If you use spans of length 1 you pay 1/4 cycle/span, same as a slow op. It looks like this may be a flat cost per span, but I'm not sure. Using the full/strided forms of the ops does not seem to have noticeable additional costs beyond the per-span cost.

[ Continue Reading.. ]

8
0 comments


Cart #tabutil-0 | 2024-03-28 | Embed ▽ | No License
1

tabUtil.lua library for use with Picotron
Contains useful functions for working with tables

Install with load #base64 and run it with crtl+r
A new file will be created /appdata/system/lib/tabUtil.lua

I personally love to use tabUtil.toString(#Table), its handy for debugging

Contains 3 functions, Usage Below

include("/appdata/system/lib/tabUtil.lua")

myTable = {
	name="Microsoft",
	employees={"Bill Gates", "Some Dude"},
	myFunction=function () print("Im a function") end,
}

meSecondTable = tabUtil.shallowCopy(myTable)
myTable = {}

print(tabUtil.getKeyCount(meSecondTable))
print(tabUtil.toString(meSecondTable))

This prints out the following

[ Continue Reading.. ]

1
0 comments


Cart #picochat-8 | 2024-03-30 | Embed ▽ | License: CC4-BY-NC-SA
26


PicoChat requires not to be run in the browser to function
Huge thanks to PixelDud for rebuilding the server in Go to support linux

Introducting PicoChat!

PicoChat is Picotron's first chat room. Its fully capable of sending and receiving messages, changing server and username.

Use /nick <name> to change your Username.
Use /server <server address> to change your server.

Want to setup your own chatroom?

Here's how to setup your own chatroom server:

  1. Download the server from here.
  2. Port forward port 80.
  3. Run the server.

If you want to add your server to the public server list, please send me a message on discord hessery

[ Continue Reading.. ]

26
20 comments


Cart #nezupejomu-0 | 2024-03-28 | Code ▽ | Embed ▽ | No License

0 comments


Cart #welcomenowitches-3 | 2024-03-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
29

Welcome No Witches!

The gala has begun! What fun there shall be, so long as no witches attend...

The gala begins! The invitations have gone out, dresses have been bought, hair dyed and styled, jewelry adorning the many princesses of the many kingdoms. However, some witches have caught wind of the event, and have disguised themselves to sneak in and ruin the party! Follow the dress codes as the princesses enter to ensure that the party goes well!

—————————————————————————————————————————

[ Continue Reading.. ]

29
4 comments


Cart #bouncebattle-0 | 2024-03-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


A little silly lil' game I made to play with my friends (so its only two player), and figured I might as well publish it.

Some things to know:

You gotta fast fall and let go before hitting the ground to gain height.
If you dash into a bullet it is reflected and bounces back and recharges your dash instantly (yes ping pong is possible).

The rest is to be discovered as you play, have fun!

2
0 comments


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

Just been learning how to code and such, AND I MADE MOVEMENT CODE!!! WOOHOO!!!

Gotta love the PICO-8 Manual for showing me the ropes on movement code.

Arrow keys to move the eyes.

3
1 comment


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

Wallpaper that recreates the iconic 10 PRINT program for the Commodore 64 in your Picotron.

Instructions:

  • run load #tenprint-0

  • run save /appdata/system/wallpapers/tenprint.p64.png (you might have to create the wallpaper folder, if you haven't done that yet)

  • open System Settings and select this wallpaper from the list
1
0 comments


Is it even possible?
Also how to get mouse dx dy after you do that?

1
3 comments


Uses your theme's first two "desktop" colors for letters.

Cart #p64matrixwallpaper-0 | 2024-03-27 | Embed ▽ | No License
5

5
0 comments


Cart #bosimuninu-0 | 2024-03-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

4
0 comments


Digital Invader

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

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

Select Same Number
and Delete it.

0 comments


Good day, my monitor is 2560x1440, but on fullscreen there are black borders around the Picotron window. To get fullscreen without borders I have to enable stretching, which makes the image blurry.

1440p is just 720p doubled so I assumed there should be no problem scaling to that resolution, but it seems like the window itself is running at 1920x1080 in the center with black borders around it.

Is there a way to scale to cover the entire screen without making the image blurry?

3
8 comments


idk how to get fget to check for a specific flag in picotron

3 comments


Cart #importpng-9 | 2024-04-06 | Embed ▽ | License: CC4-BY-NC-SA
24

Guide

Currently (in Picotron 0.1.0e) it's hard to use a PNG image as a sprite. You can fetch("myimage.png"), but the result isn't in the right image format. So, here's a small tool to convert PNG files into picotron sprites.

Drag any .png or .qoi image into the tool to convert it into a sprite pod on your clipboard. You can paste this into the graphics editor, or into code.

Drag in a .hex file (e.g. from lospec.com) or a .pal file (e.g. from OkPal) before importing your png to change the import palette.

Details

Import speed

This tool prioritizes import speed. Images with only a few unique colors (e.g. an image already in the picotron palette) will import much faster than images with many colors.

[ Continue Reading.. ]

24
13 comments


Cart #lava-0 | 2024-03-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Find your way through the lava field and gather precious treasure.

How to play

Use the arrow keys to navigate the explorer from the starting point to the treasure. Memorizing the correct path is essential! Discover the right route through trial and erro...ehm death 🔥🔥🔥

About

Created by Pidibit as a jam game for Trijam #261, a three-hour game jam.
The jam theme was One wrong move.

This is my first Trijam entry and first project in PICO-8, I love it! 😍

Screenshots

4
1 comment


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

yeah

1
1 comment


Cart #zz-1 | 2024-03-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

6
0 comments


Cart #cityview-8 | 2024-03-27 | Embed ▽ | License: CC4-BY-NC-SA
28

Here's a moving wallpaper I made, hope u enjoy :)

28
5 comments


A custom theme for Picotron that tries to recreate the iconic colors of PICO-8's editors.

There are two ways to get this theme into your copy of Picotron. The first one is the more complicated manual process that I originally posted, and the second is just copy-pasting a command or two into the terminal:

Method 1: The manual way

  • If you don't already have /appdata/system/themes/, the easiest way to get it is to open up two filenav processes, with one at /system/ and the other at /appdata/system/, and drag the themes folder from the former into the latter. (I recommend doing it this way because if /appdata/system/themes/ exists, then the contents of /system/themes/ will be ignored, so simply creating an empty themes folder in /appdata/system/ will result in all of the system themes vanishing. Note that the same goes for wallpapers and screensavers, so while you have both of those filenavs open you might as well copy those over.)
  • open up your system settings by clicking on the Picotron logo on the top-left, then double-click the [custom] option in the themes chooser (or any of the themes; double-clicking any of them will work) to pull up the theme editor.
  • Manually copy the colors from the image above. (This is the tedious part. If you want to play with the colors a bit, go ahead.)
  • Click the menu button on the theme editor (the one in the top-left corner of the window that looks like three horizontal bars) and select Save File As.
  • Navigate to the /appdata/system/themes/ folder, type pico8.theme (or whatever you want to call it, but don't forget the .theme) into the prompt, and click Save.
  • Your theme will now show up in the list of available themes, though you may have to close and reopen the settings app if you left it open from earlier.

[ Continue Reading.. ]

24
8 comments




Top    Load More Posts ->