Log In  
Follow
afunai

Professional programmer (C#, TypeScript, Java, Ruby, etc.) and hobby cartoonist.

[ :: Read More :: ]

Cart #pipozofobe-0 | 2023-12-30 | Code ▽ | Embed ▽ | No License
1

I'm making a little physics engine nowadays. This test stage (unlike pinball games, the balls usually jam in the end, between randomly generated walls) is pretty hard one to handle. There still are a lot of unpredictable behaviors...

P#139389 2023-12-30 05:08

[ :: Read More :: ]

Cart #simiyuhomu-1 | 2023-11-09 | Code ▽ | Embed ▽ | No License
10

My first computer (Fujitsu FM-7, in the early 80s) had a BASIC command called 'symbol()', which allowed drawing text as graphics instead of print() to character RAM. It was incredibly slow (I could watch it draw from the top to the bottom) and could only do integer ratio zoom, but we absolutely loved the command...
This small snippet is my attempt to revive it in PICO-8.

EDIT: I've added 'scale_x' and 'scale_y' parameters. When given negative values, the text is flipped.

P#137119 2023-11-08 11:37 ( Edited 2023-11-09 08:02)

[ :: Read More :: ]

Cart #niporubuko-1 | 2023-11-01 | Code ▽ | Embed ▽ | No License
9


My two-week trip is coming to an end. While I was in my hotel room, I worked on this small puzzle game. There are still many things to do (including adding more girls, of course. It will allow for about 4 - 5 additional images).

P#136774 2023-11-01 23:26 ( Edited 2023-11-01 23:38)

[ :: Read More :: ]

Cart #pen_slideshow231021-0 | 2023-10-21 | Code ▽ | Embed ▽ | No License
7

Hi,
Further enhancements to the compression format (10-20% smaller, especially in photos), and about 2x faster image rendering.
I made the repositories public, pls give them a try :)

The encoder: https://github.com/afunai/pen_encoder
The decoder: https://github.com/afunai/pen_decoder
The slideshow: https://github.com/afunai/pen_decoder/tree/slideshow

P#136153 2023-10-21 05:47 ( Edited 2023-10-23 05:49)

[ :: Read More :: ]

I've decided to use chroma.js (https://gka.github.io/chroma.js/) to obtain palette colors that are closer to what the human eye perceives. This greatly improves the accuracy of the original colors. Now my photo of supper looks delicious...

P#136034 2023-10-17 18:18

[ :: Read More :: ]

Cart #yazuyerizo-0 | 2023-10-15 | Code ▽ | Embed ▽ | No License
4


Tiny slideshow of some hard-to-encode full-color images. Composite colors work well, but they still generate very large data.

P#135922 2023-10-15 12:43 ( Edited 2023-10-15 13:05)

[ :: Read More :: ]

Cart #ayano231014-1 | 2023-10-14 | Code ▽ | Embed ▽ | No License
8


So far so good. Better virtual colors, fetching transparency info (alpha) from original images, clipping, and locating.
Performance is still poor (drawing two 128x500px images at once cause some frame drops, and (sometimes) outOfMemory).

P#135883 2023-10-14 08:49 ( Edited 2023-10-14 09:43)

[ :: Read More :: ]

Wrote logic for encoding custom draw palettes, and additional 48 color virtual palette (by tiling) for my little encoder.
The tiling needs a lot of fine-tuning per an image, but I begin to know how...

P#135764 2023-10-11 17:23

[ :: Read More :: ]

Before I make anything fun, I need an image format (and encoder/decoder) which works on PICO-8.
And yeah, I LOVE reinventing THE WHEEL...
It's the result of my first day with PICO-8. I wrote the encoder in Javascript, which I wlll release somewhere.

Cart #zoyeriwude-0 | 2023-10-10 | Code ▽ | Embed ▽ | No License
5

P#135700 2023-10-10 15:45 ( Edited 2023-10-10 16:07)