News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

What are FX 1, 2, and 3?

Started by dewhi100, December 03, 2017, 12:32:19 PM

Previous topic - Next topic

dewhi100

Title says it all. How are FX 1, 2, and 3 different, and what do they do?

I am curious because Kej's RAM map lists acid, water, etc. as possible values of FX3, and in the SMILE RF FX editor window, the FX Layer Type value 0 is labeled as "no FX1".

Smiley

FX1 is data for special effects in the room, such as spike animations, glows, transparencies and tides for liquids. FX3 is part of that; it's what goes on layer 3. That's just all the liquids (water, lava, acid), rain, fog etc. RF probably should call 0 "No FX3" instead of "No FX1".
FX2 is actually not related to those at all, Jathys was just silly when naming it. It's code that runs every frame while inside the room, and is much more sensibly called Main ASM in RF.