GMS 4.1: How to Make a Fade Last Longer?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=aZ8Mij4zBnc



Duration: 0:00
3 views
0


GMX File: https://www.dropbox.com/scl/fi/x5uusbfp58qhqay9w7ix4/fade_last_longer3.gmx.zip?rlkey=53u8pxya7yxe1stml879mysop

Notes:

1. hold_fade

Events:

Create

Actions:

Set Alarm 0 to 200

Events:

Alarm 0

Actions:

Change Instance
Applies to Self
Change into: fade_in
perform events: yes

2. fade_in

Events:

Create

Actions:

fade = 1;
speed = 0;

Events:

Step

Actions:

fade -=0.1;

image_alpha = fade;

if(fade = 0){
instance_destroy()
}

Coming Soon: https://mc-game-zone.wixsite.com/mc-game-zone/coming-soon-01-1