Make a sprite flash all white?

Status
Not open for further replies.

Lat'

Absolute territory where
Kart Krew™️
The title might not be super accruate, but is there a way I could make it so a given sprite can flash completely white (or another color, for that matter) like Brak Eggman when it gets hit without using additional frames?

I saw some colormap functions on the wiki, but they're just for HUDs.
 
I'm afraid those only work for the HUDs, yes, only Brak can currently flash his sprites fully white like that due to hardcoding.

I suppose we could look into making that a feature that SRB2 modifications can use for future versions, but for now you can really only use additional frames.
 
If you really wanted, you could potentially hijack one of the TRANS palettes to be all white and then set the appropriate flag on the frame. Problem is, when any other sprite or FOF is set to that transparency they'd appear all-white as well.
 
The only other problem with that is the TRANSxx lumps probably wouldn't change in-game if you loaded the wad from the console instead of a launcher or command line. They don't seem to support that kind of modification properly last I remember.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top