ef_cloud

Built in constant for a cloud effect.

语法:

ef_cloud;


返回: N/A


描述

This constant is for use in the functions effect_create_above and effect_create_below, and will create a cloud effect as illustrated in the image below:




例如:

if !irandom(9)
   {
   effect_create_below(ef_cloud, random(room_width), random(room_height), choose(0, 1, 2), c_gray);
   }

The above code has a 1 in ten chance of creating a cloud effect of random size at a random position within the room.


上一页: Simple Effects
下一页: ef_ellipse
© Copyright YoYo Games Ltd. 2018 All Rights Reserved