Log In  

Hello, this is my first post here! I've known about PICO-8 and have been around the community for years now, but I finally decided to try learning how to make stuff in it around two months ago.

I got the idea for this cart a couple days ago and could not stop thinking about it, so I started on it yesterday morning and ended up doing it all in one sitting. The idea was to rearrange the screen palette into a gradient (including some colours from the secret palette) and then make draw functions that use pget() and pset() to increase (or decrease) the brightness of pixels when drawing lines and shapes (besides the trail). Basically additive (or subtractive) blending. I knew doing pget() and pset() on so many pixels would be really slow though, so for the noise and gradient across the entire screen, I decided to try doing that directly to the screen memory, using $/peek4() and poke4() to add bits. It had to be in 32-bit chunks, peek/poke 2 or 1 would make it drop below 30fps (maybe possible with better optimization, idk). I think the 8 pixel wide chunks made it look more interesting in the end though!

For the trail, I used p01's trifill function. I had a feeling if I tried to make a function to draw additive blended triangles, performance would be really bad. So I decided to just draw normal filled triangles at the start of the draw cycle and do all the additive stuff after.

I shared a gif/video of this online and lot of people wanted to see the code, so I'm uploading it here! The code is a bit messy and maybe there's some stuff that can be optimized, I'm still fairly new to programming in PICO-8 and don't consider myself amazing at code. I'm very happy with how it turned out through! I'm surprised I was able to pull off all the ideas I had for this, while maintaining 30fps.

I hope any of this is interesting or useful, enjoy!

EDIT: Updated the cart to include music, made for this cart by @muse_energy!

Cart #shootingstar-2 | 2022-08-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
126

P#115136 2022-08-02 00:15 ( Edited 2022-08-04 13:36)

5

Absolutely gorgeous. Mesmerizing! I was probably looking at this for much longer than i should have, lol.

Each element of this composition is very nicely done. I think my favorite is the blazing star trail (which i think is filled with triangles?)

I like your approach of configuring the palette into a gradient. I like the colors you chose as well.

I too have been haunted by a sky-themed idea i have yet to implement.. so this is inspirational to me; thank you. 🌟💨

P#115139 2022-08-02 00:55
3

Great effect. One of the first demos I've seen on Twitter where I felt I really needed to look at the code since it's so effective.

P#115140 2022-08-02 01:45
4

Legendary.
I actually really love this! I keep coming back lol

P#115141 2022-08-02 03:52 ( Edited 2022-08-03 03:09)
2

Good first post oh my!

P#115142 2022-08-02 04:03
4

Superb first post ! Blew me away, @SaKo. Here is a gold star yet I think this pales in comparison to your lovely shooting one.

P#115169 2022-08-02 18:51 ( Edited 2022-08-02 18:51)
2

Really great job creating a sense of speed and atmosphere (no pun intended). I'm surprised how well the rapid flickering of an Atari-2600-type blocky background gradient works. I guess just about any tool or method can work very well if you find the right way to use it.

P#115173 2022-08-02 21:52
2

This is spectacular. Really incredible work! The parallax scrolling—I think I'm seeing 4 different layers?—of the star field is really nicely done. Great job!

P#115207 2022-08-03 19:53
9

I would love to see how this looks on a CRT.

oooooooooh

P#115211 2022-08-03 22:49 ( Edited 2022-08-03 23:04)
2

wow ϋ

P#115524 2022-08-09 22:28
3

Great job SaKo!!!

P#115993 2022-08-18 21:20
3

simply gorgeous.. i keep coming back and playing that cart over and over!

P#116393 2022-08-28 14:20
4

This is amazing. Could easily be a game opening

P#116538 2022-08-29 22:19
2

I made an account just to favorite this <3

P#121083 2022-11-20 21:46
1

@MrGoober WOW.

good demo actrually!

P#121196 2022-11-22 20:43
4

i'm making a cartridge shell editor.
i finished the most basic version that works.
now i test the program to make sure it's stable before i publish it.

one of the carts that i edited with the test version of the shell editor
is a 𝘀hooting 𝘀tar cartridge with full-bleed artwork:

(this cart has the unchanged 𝘀hooting 𝘀tar version 1.1.1 program)


this is the most complex edit i have made with the shell editor.
i have used the shell editor to edit 3 other cartridges so far:

  1. my second attempt at a blue-green 𝘄elcome! cartridge
  2. the impossible cart
  3. a black 𝗻iji cartridge

now i have enough proof that the shell editor is stable, so i can release it into public —
but i can't publish the program without preparing its presentation, so you will have to wait a bit.

P#121590 2022-11-29 23:04 ( Edited 2022-12-09 09:32)
2

I'm sorry for taking so long to reply to everyone. I'm really happy you all liked this cart! I wasn't expecting such a response, it was a bit overwhelming... I want to make more animation carts like this but I haven't had any other strong ideas for one yet. I'm still messing around in Pico-8 almost daily and hope to eventually have more carts I can share!

@Sosasees It looks beautiful! I'm honoured that you chose this cart to test it on!

P#122809 2022-12-21 16:15
2

This is simply beautiful; well done!

P#123104 2022-12-27 02:49
1

@Sosasees update about the cartridge shell replacer:

it took a bit longer than i expected
before i got time to use my home computer (not my work computer) — where i have Git set up.
now i could finally publish the program:
BBS post 'cartridge shell replacer'

P#123198 2022-12-28 20:17 ( Edited 2022-12-28 20:29)
1

i use this as a desktop decoration by playing it nonstop on my handheld machine, the RGB30. One of my fav pico things

P#140804 2024-01-29 12:10
1

like, as in a literal desk

P#140805 2024-01-29 12:10

!!!!so pretty :0

P#143380 2024-03-16 22:09

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 17:33:07 | 0.055s | Q:59