Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

So you'd probably be able to make an effect like this by using the main "palettefade" function as well as the "setpalette" function. Basically set up a red palette, cut to it instantly, and then slowly fade back to the normal palette. Something like this - I've commented to explain what each bit does

#set up the two palettes we need, one normal and one red
redpalette:(16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680)
normalpalette:pf.currentpalette[deck]
pf.setpalette[deck redpalette] #make screen red
go["card1"] #go to the next card
#could add a wait step here if you want to hold on red for a bit before fading back
pf.palettefade[deck redpalette normalpalette 30] #fade back to normal

I hope this makes sense! You can tweak it to go to different colours or fade faster or slower if you want - and there's no requirement to necessarily change cards, if you leave out the go statement you can have it as like an effect on the current card (e.g. in the middle of another script)

(+2)

this worked great! thank you so much!

(+1)

There's all sorts of sneaky effects you can do like this. I've done things where I might e.g. draw something in a certain colour and then have it appear or disappear smoothly by fading to or from a palette where that colour is the same as the background