Log In  

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

I am trying to recreate the background used in the sfx tool.

In main.lua, the sfx tool uses a combination of fillp() and rectfill(). When I use that same combo in my own cart, all I get is a black screen. In the tool, the rectfill color is specified as 32 | (33*256). To me that seems to be a complicated way to specify color. It's also well outside the 32 defined colors. Additionally, when I change the color to be a value in [0,31], I get the correct pattern but the wrong color (obviously).

Further research suggests there are ways to manipulate the color palette. The is seemingly a hidden color palette even!

Could anyone offer insight into what is going on? Or how to make the background found in the sfx tool?

2 comments


Pattern Playground lets you select and modify the fill patterns and colours of various shapes in a set, see the rendered results, choose a combination that you like, and output its values to the console.

It helped me get a better grip on patterns while working on some other yet to be released project.

Instructions

Selection / Editing Contexts

  • Set (as in, a grouping of shapes) selector
  • Object (as in, shape) selector
  • Current object (base) colour selector
  • Pattern editor
  • Pattern on-bits colour vs. transparency toggle
  • Pattern on-bits colour selector

Controls

  • U/D/L/R to navigate across and within contexts
  • [X] to toggle/select
  • [Z] to print current set object patterns and colours to console

Sets

Mixed

Prairie

Mars

[ Continue Reading.. ]

7
0 comments


I figured out how to get the Pico8 special characters (the ones you get when typing capitals) in Picotron. The special characters start at U+0080 and go all the way up to U+0099. All unknown characters seem to display the same.

I don't know of a convenient way to type these into picotron, but if you copy paste the list below, you can save them to a text file for reference. It's a little annoying because none of them are actually printable characters. UTF-8 doesn't seem to like having them bare, so when you copy paste, it will actually be U+00C2 U+0080 instead of just U+0080.

A: €
B: 
C: ‚
D: ƒ
E: „
F: …
G: †
H: ‡
I: ˆ
J: ‰
K: Š
L: ‹
M: Œ
N: 
O: Ž
P: 
Q: 
R: ‘
S: ’
T: “	
U: ”
V: •
W: –
X: —
Y: ˜
Z: ™
Unknown: Â
6
1 comment


Now much more screensaver-y!

Cart #clock_life-1 | 2024-03-28 | Embed ▽ | License: CC4-BY-NC-SA
9

After seeing some of the other Game of Life posts today, I thought I'd take a shot at the problem. This implementation runs at 480x270 / 60fps using a little over 50% CPU. Userdata ops are used to compute neighbor counts, and I initially tried using userdata ops to apply the changes to the grid as well - but that was just a little too slow (~90% CPU, so Picotron wouldn't run it full speed). This version uses color tables to apply the updates instead, which is much faster.

Color tables seem incredibly powerful. I'm curious to see what else people do with them.

Changelog

  • 0.2 - now the clock moves
9
2 comments


Hello all,

With the release of the alpha of Picotron, I've been thinking about how the growth and adoption of Picotron may possibly affect PICO-8 as well.

I'm curious to hear what any of you have to say — Do you think Picotron will make PICO-8 obsolete due to its more advanced tools, or do you think PICO-8 will maintain its appeal? Will much interest from the community flow towards Picotron leaving PICO-8 behind, or do they occupy distinct niches that can coexist?

As someone who has a few PICO-8 projects I have been working on that have yet to be completed/released, I'm wondering which fantasy platform might be more worthwhile in the long run to focus on, if a choice must be made. I wonder what PICO-8 will still have that would continue to attract those who might also be interested in Picotron.

When Picotron gets into full swing, will any of you keep sticking around with PICO-8 or will you mostly switch to the new platform?

Thoughts?

1
9 comments


Cart #minebrusher-1 | 2024-03-26 | Embed ▽ | License: CC4-BY-NC-SA
11

I wanted to have a mess around with the built-in GUI library so made a little Minesweeper clone. It only support a 9x9 game, and has no sound or scoreboard.

Update 26/03/2024:

  • Added sound effects for some user interactions
  • Added jingle for starting a new game
  • Added jingle for winning a game

Note: It sounds weird in Firefox on Ubuntu.

11
2 comments


/>load #notgenuine-0

Give your Picotron an authentic Windows feel by adding the "not genuine" watermark over your wallpaper. It isn't forced on top of other windows because I couldn't figure out if or how this was possible.

If you want to close it, Ctrl+click the text.

3
2 comments


Hello zep. I was wondering about a specific behavior of Picotron and I couldn't figure if it was a regression or a choice.

Prior to 0.1.0c, if a cart folder with its name ending with .p64 was loaded, saving it would preserve the format, the cart would stay a folder. Now, whatever I try to do, as soon as I save a folder cart from Picotron, it gets turned into a .p64 file, which is a bit more inconvenient as I'm currently using an external editor.

Even cp -o <src> <dest> doesn't save a folder anymore if <dest> is suffixed with .p64. Copying to a normally named folder seems to work and I just realized that as I was writing this blog post. Still my question stands.

Are project folders or files ending in .p64 will always taken as files and going to be converted as such? Was the switch intentional? Should I rename all the folders in my project folder so far?

Good luck squashing all those bugs! Have a nice day!

3
6 comments


Hi,

so the title basically is what I would like to know but to explain some more here are some informations.

I bought and tried myself on Pico-8 and it was the most fun I had with programming so far, as I now needed to actually understand things to get them to work. However I have no computer science background, sometimes struggle with programming math and have not much experience. But I would like to get further into it as a hobby and I just love the idea of virtual consoles/workspaces.

So Picotron is only 12$ so I why shouldn‘t I just buy it and see if it is for me? Well because I would like to know if I have any chance to get somehing done in it. There are no tutorials yet and programming something else than a game seems way harder (for me).

Is Pictron for beginners? Can I learn more about programming with it and will I be able to do some cool stuff atleast if I try?

Thanks in advance and for reading.

1
4 comments


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

WIP smashTV demake. Requires keyboard and mouse.

WASD movement, R to reload, LMB to shoot.

6
4 comments


there is no mget or fget

when i load my collision engine the uses both it gives me an error and when i look at the engine fget and mget are not lit up

if they have been renamed and you know there new names please help

1 comment


Cart #conways_game-5 | 2024-04-02 | Embed ▽ | License: CC4-BY-NC-SA
8

Simple Conway's game of Life with animated 8x8 tiles.
You can draw patterns, have them randomized or taken from the cart map.
Press 'X' while playing to pause and open the menu.
Auto detects if used as wallpaper.
To use as screensaver must change 'screensaver' variable to true in main.lua

8
0 comments


Cart #niporadufu-1 | 2024-03-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

这是我做的乒乓球小游戏,加入了球拍惯性,增加了难度和趣味。
我想在2.0中加入一些新的功能,像加入可以增加球拍性能(加速度、大小、弹性、粘滞力等)的精灵,并且可以通过控制球撞击来获得,这样将更有趣。
不过现在的1.0版本中也可以在代码里修改 red.l 和 blue.l 的数值来修改球拍长度,或修改 red.spd 和 blue.spd 来修改球拍移动的加速度。

2
0 comments


Hi all,
just begin to use picotron and it's really great.
I'm trying some picotron features (fortunately it is very similar to pico 8 so it is easy to use the basic commands) but I don't know how to use graphics that are not in the 0.gfx file (I have tried fetch("gfx/1.gfx")) but it doesn't seem to work). Does anyone know how to do it?
Thank you very much in advance

6 comments


I have a keyboard in which I have to press altgr + q in order to type in the / character.

That's not working on 0.1.0c picotron, it seems it doesn't detect the altgr key at all. On the previous version, it worked fine.

6
19 comments


Cart #conway_wallpaper-2 | 2024-03-25 | Embed ▽ | License: CC4-BY-NC-SA
7

This wallpaper will play Conway's Game of Life on your desktop!

This was a personal experiment to see if I could get Life to run reasonably fast enough to be an interesting wallpaper. The 480x270 resolution makes efficiency a challenge, but with some help from a book of algorithms and some clever thinking, I think the end result is pretty nice.

Installation:

  • run "load #conway_wallpaper"
  • run "save /appdata/system/wallpapers/conway.p64.png" (you may need to create the wallpaper folder first, if you haven't yet)
  • open System Settings and select "conway" from the list.

[ Continue Reading.. ]

7
0 comments


Cart #unleashed-1 | 2024-03-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
30

Unleashed

Infinite runner where you play as a dog getting chased by its owner. The further you get without getting caught, and the more bones you collect along the way, the higher your score. As simple as that.

Demo

How to play

  • X/Z to jump
  • Up/Down arrows to move

About the game

This is the first game I make for this console, and its development has had quite a lot of changes of direction, so I am not super happy with the final result, let alone the code, which is a total mess. Nonetheless, this has been a super fun challenge that has made me appreciate how incredible this console is and how talented the developers making games for it are. Making this game was a blast!

30
8 comments


Cart #json-1 | 2024-03-25 | Embed ▽ | No License
6

To install library, use load #json then ctrl+r
Library will be installed at /appdata/system/lib/json.lua

(Slightly) Modified version of https://github.com/rxi/json.lua

Example:

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

--Make something to encode
obj = {
	a = "hello",
	b = "world",
	c = 1234
}

-- Encode json
encoded = json.encode(obj)
print(encoded)

-- Decode json
decoded = json.decode(encoded)
print(decoded.a)
6
0 comments


Cart #neofetch-0 | 2024-03-25 | Embed ▽ | License: CC4-BY-NC-SA
14

Behold! The hit thing all the cool Linux kids are talking about for your brand new Picotron!

Usage

  • Load and run the cartridge
  • Stare at the window (This should make you feel "cool" for being such an epic hacker)
  • If your name happens to be different from mine, you can edit it with CTRL-E

Notes

I acknowledge that this is not run from the terminal
Honestly I just wanted the cute little cartridge png

14
3 comments


This is a game I've been coding for a bit, Linecraft! This is my first and biggest demake (though I've been working in other non-published projects before) so I'm very excited that other people will try it!
Also, I'll keep it updated, so if you find any bug, leave it down below on the comments! I'll check them out and fix them in the following versions.

The sounds and music were made by Munchkin (thank you :D) and the code and graphics were made by me.

Thanks to kallanreed for his tline rotation function I used for the splash text in the game.

And also thanks to Felice for their implementation of the OpenSimplex noise generator on PICO-8 that I used for the world generation in the game. The code may look a little different in my cart, but that's due to changes in development (back when I thought this game could be made in a single cart!).

[ Continue Reading.. ]

72
18 comments




Top    Load More Posts ->