Do Effect Emitter


This action will create a built-in particle effect, either above or below the layers being drawn in your game room. You choose the type of effect to create from the drop down list (shown in the image below), and then set the position (which can be relative to the position of the instance) and select a size - small, medium, or large - for the effect. You can also set the colour to be used - the alpha value will be ignored - and decide whether you want the effect to be created beneath all the layers in the room, or above all the layers in the room. Note that if you choose to use the rain or snow effects, then the position and size values will not be taken into account as the effect is designed to be visible across the full screen. BuiltIn Effects


Do Effect Syntax


参数 描述
类型 The type of particle effect to create (see image above)
X The x position within the room to create the effect (in pixels)
Y The y position within the room to create the effect (in pixels)
大小 The size of the effect (small, medium, large)
颜色 The colour of the effect (alpha will be ignored)
位置 Whether to create the effect above or below the room layers


Do Effect Example
The above action block code will check for a mouse click and if one is detected it will create a small effect at the mouse position.