Войти
  • 126Просмотров
  • 10 месяцев назадОпубликованоMaxfield

Pong 4: Scoring & Game States | Godot 4 Game Development Tutorial

In this Pong Godot 4 tutorial, we add scoring logic and game states. We use our custom Godot signal from the last video to update the player scores and then determine the state of the game. The state of the game is tracked using a simple state machine that leverages enum values. Based on the state, different information is displayed and different update actions are processed. We also look at creating a Godot timer in code to add delays, such as a wait time between serves. ------------------------------------------------- ❤️ If you enjoyed the video, leave a like and subscribe :) Bluesky: Github (open source projects available): ------------------------------------------------- 🕹️ Starting files Zip format: Source: 👾 End files Source: ------------------------------------------------- 🕑 TIMESTAMPS 0:00 Intro 0:26 Scoring Logic 5:01 Serve state 7:29 Game over state 11:16 Start game state 12:22 Outro ------------------------------------------------- #gamedev #godot #godotengine