Creating a Scene Manager & Delta Time Variable | Coding a 2D Game Engine in Java #3

Creating a Scene Manager & Delta Time Variable | Coding a 2D Game Engine in Java #3

29.296 Lượt nghe
Creating a Scene Manager & Delta Time Variable | Coding a 2D Game Engine in Java #3
Join the Discord: https://discord.gg/4tHeAkxNg7 In this tutorial, I go over how to create a scene manager that will allow the game engine to switch between different "scenes", which are abstract objects that contain a game world. Next, we set up a delta time variable that can be used inside the scene manager, this delta time variable contains how much time has elapsed since the last frame. I then show how to use both of these concepts, by creating a transition from one scene to another by fading to black over 2 seconds. Github: https://github.com/codingminecraft/MarioYoutube/commit/2eb415f03ed2b4d37d95ff4442863c889c27aa94 --------------------------------------------------------------------- Website: https://ambrosiogabe.github.io/ Github: https://github.com/ambrosiogabe 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: Game Engine Architecture: https://www.gameenginebook.com/ Game Physics Cookbook (Read this before the next physics book): https://www.amazon.com/Game-Physics-Cookbook-Gabor-Szauer/dp/1787123669 Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-Engine-Development-Commercial-Grade/dp/0123819768 Game Programming Patterns (Free): https://gameprogrammingpatterns.com/ My Recommended Beginning Game Programming Books: JavaScript Game Design: https://www.apress.com/gp/book/9781430247166 Outro Music: https://www.bensound.com/royalty-free-music