Refactoring and Physics | Coding a 2D Game Engine in Java #40

preview_player
Показать описание

In this episode I go over how to finish integrating Box2D into our game engine, and several different odds and ends. I go over fixing the projection size of our camera to match a more realistic camera field of view, changing the pivot point of objects to the center, modifying imgui code so that we can use enums, duplicating and deleting game objects, and editing the z index.

0:00 Intro
1:28 Visual Explanation
4:32 Fixing the Camera Projection
8:07 Changing the Pivot Point to Center
10:41 Adding Enum Dropdown Support for ImGui
16:42 Fixing ImGui Transform Rotation
18:31 Duplicating Game Objects
25:03 Deleting Game Objects
26:10 Editing ZIndex at Runtime

---------------------------------------------------------------------

Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)

My Recommended Game Engine Books:

My Recommended Beginning Game Programming Books:

My Recommended Java Books:
Рекомендации по теме
Комментарии
Автор

Amazing evolution of Jade Game Engine 👏👏👏👏and Happy New Year Gabe 🎊🎊🎊🎊🎉🎉

luandkg
Автор

Keep creating more content! This series is very interesting!

eggvelop
Автор

Physics is fun :)
(Says me while writing a physics exam 😂)

voxelrifts
Автор

Cant wait for the next episode creating a small game out of this...keep it up man

notenough
Автор

Hey Gabe! Absolutely loving these videos! Just finished this video and the engine runs as expected but it has relatively low fps, do you have any recommendations to where should I look to solve this problem? or in general recommendations to improve performance(other than going to c++ xd).

xCapeGr
Автор

Hello! I am currently on episode 6 of this series. Which is unrelated to my question, but are you ever thinking about making this game engine 3D?

kianmcken
Автор

Support yr content about creating game engines

sassi
Автор

The camera is resetting into another place now

tenzo
visit shbcf.ru