Pause game?
-
Is there a way to pause your game? I know loading the overlay has the option to pause. But is there a way to do this during gameplay?
-
@SplitMindGaming What exactly are you trying to accomplish that an overlay pause won’t allow? Are you only trying to pause certain aspects of your game?
-
@bosswave yeah im trying to create an easier instruction mechanism where it will pause the game and teach the player how to use certain game mechanics.
-
@SplitMindGaming You can either load an overlay with pause on, physically code it into every moving object to make them freeze when it's paused or use the Set Time Scale behaviour and set it to 0 which will freeze everything including particles. I like this behaviour because you can use it to have a cool transition where everything slows down before completely freezing. Only problem is literally everything is frozen including behaviours with time in them, so you can't easily set a delay for how long it stays paused using this behaviour (you'd need to use get system time I think).
-
@Aidan-Oxley what you described with the slowing down is actualy exactly what i had in mind. Thanks for that im going to try this out.
-
@Aidan-Oxley do you know if there’s a way to have a certain object not get affected by the time scale behavior? Kind of like how it has the toggle for the music not to get affected. Only you can choose a certain object not to get affected.
-
@SplitMindGaming At the moment time scale affects EVERYTHING and there's no way to change that as far as I know. If you wanted something to stay unaffected you would need to go with custom coding it so all your objects freeze. It depends on the object though, I think it might be possible to move an object while time is frozen but only using Move To Point with 0s duration (I haven't tested this though).