Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

You can create a cutscene with code. For example, once the second terminal is activated, you could do something like this:

// Create the control_cutscene object at the same position where the player is and trigger it with that collision
var new_cutscene_object = instance_create_layer(the_player_object.x,the_player_object.y,"instances",control_cutscene); // Use a variable like this, so it doesn't override the other cutscenes
with(new_cutscene_object) {
    cutscene_id = 5; // Different id than the other cutscenes in the room of course.
    cutscene_player = the_player_object; // The player that collides with the cutscene object
    cutscene_mode = "collision"; // Make it start with the collision
   
    // Then add the events of the cutscene, for example:
    scene_info = [
        [cutscene_camera_follow_object,the_door_object,5],
        [cutscene_wait,1]
    ];
}

I didn’t test this code, so let me know if there is any problem.