GameMaker Studio 2 Desktop

GameMaker Studio 2 Desktop

sgreco1970 Mar 15, 2017 @ 8:50pm
can I trigger a cutscene?
I have a cutscene already rendered and edited, with audio. Can I have an action the player takes trigger this scene to play and then, onec the video ends, take them either back to the room they are in or to another room and let them resume gameplay?
Last edited by sgreco1970; Mar 15, 2017 @ 8:51pm
< >
Showing 1-4 of 4 comments
Weerdoh Mar 16, 2017 @ 7:56am 
I just searched for this as I was curious about it too. From what I've found there is no built in way to do this in GMS 2. There is an option to purchase a video player extension on the marketplace, but am not really sure how it works. If you want to look into it, this is the only one I saw that is compatable with GMS 2.
https://marketplace.yoyogames.com/assets/4808/gmlvideo
Last edited by Weerdoh; Mar 16, 2017 @ 7:56am
sgreco1970 Mar 16, 2017 @ 12:55pm 
that's crazy talk. This should have been standard and simple in 2.0

thank you.
Last edited by sgreco1970; Mar 16, 2017 @ 12:56pm
This may not be the most practical or efficient way to do it...

But you could save the video as a .gif animation and save the audio seperately as well. Then you could import the .gif into a sprite in GMS 2. Likewise you'd add the audio much like regular game music in a project.

Then when you want to trigger your cutscene you could create an object that would be your "cutscene player" which would just play the sprite like any other sprite animations and have it play the sound file as well. There is even an object event for "animation end" which you could use to check if the cutscene sprites animation is done playing and then have it stop playing the audio, stop animating, and destroy itself.


Haven't tried anything like this myself. Can't say it would be ideal, but it should be fairly workable unless you've got some Pixar quality Final Fantasy length cutscene video or something.
TeKidder Mar 18, 2017 @ 6:34pm 
Why not just program a cutscene? Instead of making a video just code out some intro objects for a cutscene.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Mar 15, 2017 @ 8:50pm
Posts: 4