Kotlin LibGDX/KTX RPG Tutorial - Part 08 (Box2D)

Channel:
Subscribers:
1,720
Published on ● Video Link: https://www.youtube.com/watch?v=sKe4uMZ3fG4



Category:
Tutorial
Duration: 1:01:27
552 views
23


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 08 - Box2D:
In this part we are going to learn how to add a physic engine (Box2D) to our game. We will create a physic world, bodies and fixtures and we will align them with our images to render them correctly.

Link to "Fix your timestep" article: https://gafferongames.com/post/fix_your_timestep/
Link to Box2D documentation: https://www.iforce2d.net/b2dtut/

Chapters:
00:00 - Box2D World
09:10 - PhysicComponent with Body
21:30 - Fixtures
28:50 - Physic ComponentListener
31:40 - PhysicSystem
42:56 - Fixed timestep
45:42 - Align images with physic bodies
50:58 - Result
51:27 - DebugSystem
58:32 - Recap







Tags:
kotlin
libgdx
libktx
rpg
tutorial
box2d
gdxai
ai
ecs
entity component system
game development
programming
scene2d
2d
pixel
retro
english