MFA File Structure
Docs
Powered by
Powered by
CLayer
What is a CLayer?
CLayer is a format used to store a frame layer's variables
Structure
Size
Type
Name
Description
...
CString
Name
The layer's name
4
UInt32
Flags
Definitions
4
Float
X Coefficient
The layer's X object scroll speed relative to the camera
4
Float
Y Coefficient
The layer's Y object scroll speed relative to the camera
Flag Definitions
Flags
Value
Name
Description
0x01
Visible
Whether or not the layer is visible in the editor
0x02
Locked
Whether or not the layer is locked in the editor
0x04
Unknown
0x08
Hidden at Start
Whether or not the layer is hidden when the frame starts, this is inverted in the UI as "Visible at Start"
0x10
Don't Save Background
Allows you to disable the background saving of the objects of this layer if it doesn't move, this is inverted in the UI as "Save Background"
0x20
Wrap Horizontally
Wraps objects horizontally when they go off screen from the left or right edge
0x40
Wrap Vertically
Wraps objects Vertically when they go off screen from the top or bottom edge
0x80
Same Effect as Previous Layer
Copies the effect and the parameters of the previous layer index