11/15/2022 0 Comments Game maker studio 2 screen shake![]() Read this manual page to learn about the various functions that have been provided for working with Filters & Effects.ĭo keep in mind that currently the compiler will only load those filters/effects that have been added through the IDE. layer_get_fx(): Use this to retrieve an FX struct from an existing layer that has one applied to it.layer_set_fx(): Use this to apply a new FX struct to an existing layer.fx_set_parameters(): Use this to apply a modified parameter struct back to your filter/effect.fx_get_parameters(): Use this to get a struct containing all the parameters for the filter/effect.fx_create(): Use this to create a new Filter/Effect (or FX) struct.You can use the following functions, among many others, to manage Filters/Effects through GML: Here's the real power of FX layers: you can set up and manage Filters/Effects in real time through GML code to display filters dynamically and achieve the results you want! Selecting a filter in an FX layer will show you its properties that you can edit to change how it looks for example, the "Screen Shake" effect allows you to change its Magnitude, Shake Speed and apply a texture for the shaking movement: your layer can be above or below other layers in the list, an FX layer will only apply its filter to layers that are below it: Now because rooms have a "layer order", i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |