Godot 4.1 - Creating a complete (and fun!) game - Part 1
Hi everyone, and welcome back to another tutorial series.
Enough with the easy stuff. We're going to write a full game and publish it to itch.io. The game is based on "Nim". A classic matchstick (or stone, or sweets etc) that you will play against the computer. Once you know the secret.. You'll also be able to play it with your friends too!
In this first part, we'll setup the environment and discuss the state pattern and use a plugin to do all of that hard work for us!
Hope you enjoy this series. Please be sure to like and comment. Be sure to let me know any issues you're facing and I'll try my best to resolve them for you.
Enjoy!
Links:
Github source code download: https://github.com/WideArchShark/godot-matchsticks/tree/v01
itch.io Unity version: https://widearchshark.itch.io/matchsticks
Godot State Chart documentation: https://github.com/derkork/godot-statecharts/blob/main/manual/manual.md
Timeline
0:00 - Unity update
1:15 - Game example and rules
2:00 - SKIP THIS BIT!
3:03 - Finishing the example
4:10 - Creating the new project
5:23 - Creating a matchstick!
10:03 - Creating the game world
15:10 - State Pattern overview
17:59 - Adding/implementing the State Chart plugin
23:55 - State management/signals
27:10 - Implementing the Init state
34:30 - Adding the match count label
39:01 - Finishing off the match spawning
41:18 - Transition to the players turn state
47:30 - Prologue!