Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Gossip - GMS2 Dialogue Engine

A comprehensive dialogue engine for Gamemaker Studio 2. · By joe_aqq

Implementing a Pause Function

A topic by Gamer Fates created Mar 09, 2021 Views: 241 Replies: 1
Viewing posts 1 to 2
(+1)

Hey Gossip Team,

I seem to be having trouble  implementing a "Pause" function for the dialog system.

I want to simulate a command like - "Pause" the textbox object for 5 seconds before proceeding to the next line. 

The idea is to create cutscenes like a character walks over, pause then talk.

Do you have any suggestions on how to execute this command?

Developer

Hey there Gamer Fates,

This can be done pretty easily with timelines in GMS2! One thing you'd want to do is revoke user control while a cutscene is playing, so you'd have to implement some kind of cutscene flag that gets checked before input is checked. All the timing controls can be done within the timeline. 

Joe