Join the Discord: / discord
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: github.com/codingminecraft/Ma...
---------------------------------------------------------------------
Website: ambrosiogabe.github.io/
Github: 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: www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): www.amazon.com/Game-Physics-C...
Game Physics (Ian Millington): www.amazon.com/Game-Physics-E...
Game Programming Patterns (Free): gameprogrammingpatterns.com/
My Recommended Beginning Game Programming Books:
JavaScript Game Design: www.apress.com/gp/book/978143...
Outro Music: www.bensound.com/royalty-free...
Негізгі бет Creating a Scene Manager & Delta Time Variable | Coding a 2D Game Engine in Java #3
Пікірлер: 109