In this tutorial we will build a simple player death state, and a game over screen with basic options to go to title screen or continue.
Topics Covered: Game Over Screen, Death state
New Assets Needed:
player_updates.zip
-- Updated Player Sprite
-- Exhausted Audio
Asset Download Page: https://michaelgames.itch.io/2d-actio...
GitHub Repo: https://github.com/michaelmalaska/aar...
Discord: / discord
--------------------
Chapters
--------------------
0:00 Intro
0:25 Overview
1:58 Player Death Animation
3:11 Player Death State/Script
7:56 Update Stun State
10:22 Update Player Script
14:20 Game Over UI
20:03 Game Over Screen Animations
27:38 PlayerHUD/Game Over Script
34:40 Add "show_game_over_screen()" to death script
35:31 Back to PlayerHud Script
37:52 Hook up Continue and Title Screen buttons
41:01 Hide Game Over Screen when level load starts
43:09 Player Perma-Death Fix
45:20 Enemy Chase State - Exit on Player Death
47:10 Scene Transition Timing Issue
49:32 Outro
--------------------
Series Playlist: • Make a 2D Action & Adventure RPG in Godot ...