Перейти к содержимому

Learn C# by Building an Old-School RPG — Part 6: Create Your Hero

RetroJitsu

0:00 / 0:00

Learn C# by Building an Old-School RPG — Part 6: Create Your Hero

80 просмотров · 2 недели назад
RetroJitsu
15 подписчиков
80 просмотров · 2 недели назад
Our C# RPG gets its first hero! In Part 6, we put adventure loading behind an interface, then build the Character, Abilities, and Item models. Finally, we create Conan in JSON and load him into the game with CharacterService. Along the way, we cover inheritance, interfaces, and how the game services fit together. ▶ Part 5 — Git & GitHub:    • Learn C# by Building an Old-School RPG — P...   ▶ Browse RetroJitsu courses:    / @retrojitsu   Chapters 00:00 Welcome to Part 6 00:30 Create a Git branch for this episode 02:51 Recap the RPG so far 03:37 OOP, inheritance, and substitution 06:27 What are C# interfaces? 06:45 Create IAdventureService 09:46 Implement the adventure interface 13:20 Connect it to GameService 17:57 Create the RPG entities 18:57 Build Character and Abilities 21:50 Model items and inventory 25:39 Create Conan in JSON 28:25 Build CharacterService 34:24 Load our first character #CSharp #LearnToCode #GameDevelopment