我知道你们都是大神!!gms2 差值渐变怎么实现!!
gamemakerstudio2吧
全部回复
仅看楼主
level 1
油酱君 楼主
RT,举个例子,我想让一张图片透明度从1降到0,用时1秒,GML该怎么写啊!!!用什么函数!!!
2018年11月05日 15点11分 1
level 3
每秒60帧的话,透明度每帧减少1/60。。1秒不就减完了吗
2019年01月29日 13点01分 2
level 2
在你的步事件里面写,也就是step事件里面写上:
image_alpha -= 1 / 60;
if(image_alpha < 0) image_alpha = 0;
2019年02月18日 12点02分 3
1