Log In  

Cart #altpal-0 | 2021-05-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10


Here's another alternate palette cart, although this one is a bit more optimized and easy to put in a game with just ONE function!

Function if anybody wants to copy it:

function altpal()
 for i=0,15 do
  pal(i,i+128,1)
 end
end

Basically how it works:

As you can see from the gif, there is a menu-item that will change the palette from the regular PICO-8 palette to the alternate one.

That's pretty much it, just a little base for any games taking advantage of this

Also, if you want to learn more about these alternate colors, Lazy Devs has a much more in-depth video about it

P#92647 2021-05-27 05:39 ( Edited 2021-05-27 05:47)

1

cool!

P#92660 2021-05-27 13:39

uh, how would i put this into celeste classic?

P#108767 2022-03-16 22:51
1

@SandwichBlam Download the Celeste classic cart, copy the important bits of this cart into that one.

The important bits:
Inside Celeste's _init():

altpal=false
menuitem(1,"altpal",function() onoff() end)

Inside Celeste's _update():

if altpal then
     for i=0,15 do
   pal(i,i+128,1)
  end
 else
  pal()
 end

and the function:

function onoff()
    altpal=not altpal
end
P#108782 2022-03-17 02:26
4

Of course it's better to have all 32-colors on the screen at one time, @Czarlo. :)

Cart #zetomabeza-0 | 2022-03-17 | Code ▽ | Embed ▽ | No License
4

P#108784 2022-03-17 05:17

Hello @UnitVector, it is not working... (I might just be dumb lol.) but here is a gif and the cart:

Cart #hairlest3-0 | 2022-04-19 | Code ▽ | Embed ▽ | No License


P#110484 2022-04-19 14:07

something's wrong...

Cart #hijudihina-0 | 2022-04-22 | Code ▽ | Embed ▽ | No License

altpal is broken, try it once Madeline is controllable
(dashing makes it turn on and off really quickly)
@UnitVector

P#110726 2022-04-22 18:26 ( Edited 2022-04-24 23:20)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 09:24:25 | 0.176s | Q:37