Author Topic: Soft freeze command  (Read 984 times)

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Soft freeze command
« on: September 24, 2020, 02:30:42 PM »
Since the 6.1 version, there is a freeze command that allows to freeze the game. However, when it's applied, no commands can be applied, so this command is useless. So I think that an important command to add would be a soft freeze command, which would be much more useful since it allows for custom pause menu using hud and player button commands.
What is paused? Entity movement and entity animations, but also some other stuff (something that should be pretty obvious, im not mentioning them because of my lack of time).
What isn't paused? Commands (ex: player commands that would be used for pause menu controls, as specified earlier) and hud animations (which I will come over in the pause menu section). However, if commands affecting entities are executed, their effects will be applied but will be visually reflected at the next frame.
How would it allow making a pause menu? Since the hud sprites are not paused, we can use them for the pause menu. For the option menu, we can use player events on the character (when pressing up scroll up) and values for the selection id, etc.
How to prevent other events from unpaused mode to trigger? Just use a value "is paused" and do a value check at every of you events. Simple as that. (note: TingThing could also add a soft freeze check command to optimize more stuff and free a value name but thats not needed)
Anything else??? No I recognize I explain stuff badly but I don't have much time rn
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Soft freeze command
« Reply #1 on: September 24, 2020, 04:55:49 PM »
I've wanted this since the freeze game command was introduced.