Kotlin LibGDX/KTX RPG Tutorial - Part 27 (Portals)
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 27 - Portals:
In this part we are going to learn how to move the player between different maps using portals.
Chapters:
00:00 - Demo of portals
01:53 - Motivational speech
03:45 - The idea behind portals
08:58 - PortalSystem to create portals
20:36 - Update contact handling
25:34 - Improvement suggestions for real game project
30:05 - Implement changing of map
33:12 - Teleport a physic body (code refactoring)
49:01 - Fixing the duplicated player entities
51:35 - Fix AudioSystem music
53:05 - Re-attach box2d lights