2D Animations | Coding a 2D Game Engine in Java #45

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

In this episode I go over how to implement a simple state machine based animator. This allows us to create different prefabricated game objects with state machines attached to them, and we can flip through multiple animations based on different triggers. I also go over a couple more bug fixes.

0:00 Intro
0:30 Visual Explanation
3:28 Coding Animation State
8:37 Coding State Machine
19:41 Adding Prefabs with Animations
23:36 Adding a State Machine to Mario
27:07 Fixing Texture Refresh Bug

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

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:
Рекомендации по теме
Комментарии
Автор

Great content as always, never stop teaching us !!!

fudgeracoon
Автор

Me: No you can't just put quality content for free on YouTube

Gabe: haha free quality content go brrrr

buggybaka
Автор

Awesome video, keep up the incredible work! :)

ComputerScienceSimplified
Автор

Watch again and again this great series ! :)

runpro
Автор

do you plan on making a game after youre finished with this? meaning, a tutoirial about making a game with this game engine

AROD-ohez
Автор

are you going to make a scripting language for the game ??

sadmansakibkhan
Автор

0:34 i think bone based animations looks better also most 2d games uses it. But sprite sheet method is much easier to implement on programming side.

extrem