Kotlin LibGDX/KTX RPG Tutorial - Part 03 (ECS)
This is a tutorial series about game development using Kotlin, LibGDX with LibKTX extensions.
We are developing a small 2D adventure RPG using different technologies like Box2D, GdxAI, Entity Component System or Tiled.
The full source code of the tutorial can be found on github: https://github.com/Quillraven/MysticWoods
Part 03 - ECS:
In this part we are going to introduce the concept of an entity component system setup for a game. We are also going to develop a Rendersystem that covers all important parts of the Fleks ECS that we are going to use.
Links to Fleks: https://github.com/Quillraven/Fleks
Chapters:
00:00 - Introduction to ECS
06:50 - Introduction of FLEKS
08:36 - World
12:12 - ImageComponent and RenderSystem
25:34 - Recap of Part 1
27:15 - Sorted rendering
30:40 - ComponentMapper
33:34 - Scene2D sorting
36:11 - Entity creation
38:30 - ComponentListener
41:06 - Result
41:50 - Recapt of Part 2