"game over" state

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By raould
:warning: Old Version Published before Godot 3 was released.

I want to have death or game over animations but e.g. where everything else stops moving, etc.

there are of course a zillion different ways to do that.

what is your favourite way to do that, especially when using Godot???

:bust_in_silhouette: Reply From: Zylann

A favourite way of doing that will be subjective or specific to a game, so the question is quite wide.

As an example, in my game I show a GUI node in a CanvasLayer located above the level, so I can seamlessly show where and how the avatar died. Also, I can restart the level very fast and hide the GUI so I don’t need to load any scene when doing that.
I don’t have this GUI in every single level though. Instead, I put it in a host scene that is able to load levels as child of itself, a bit like in main.tscn in the Minilens example project.

thanks, that’s the 2nd time somebody mentioned minilens, so i am cloning that. :slight_smile:

raould | 2016-10-16 07:34