Log In  


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


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

11


1

cool!


uh, how would i put this into celeste classic?


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

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


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



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


@SandwichBlam Im found error that Madeline using dash that a change a alt palette and rest normal palette
Im made my version that im add altpal() in draw function




[Please log in to post a comment]