Build a C++ Game Engine | Ep.54 - State Machines, Fonts from Memory, Lua Classes & More

Опубликовано: 23 Июль 2026
на канале: JADE-ite Game Development
261
18

🎮 Scion2D Game Intermission – Creating a Platformer using the Scion2D Game Engine

Welcome back! I'm Dustin, and in this video, we continue building our platformer game while expanding the capabilities of the Scion2D Game Engine.

We add default fonts from memory and go over the BinConverter project so we can easily convert TTF files into unsigned char arrays.

We also:

• Change out the player for a new Mega Man style character
• Add the new StateMachine class and Lua bindings
• Add the new SCION_load_script_table(...) function so we can place all required scripts into a Lua table and load them from there
• Create a new character.lua class
• Add new player states and move_state.lua

These additions help organize our gameplay code and provide a solid foundation for handling player behavior, enemy AI, NPC logic, and more advanced gameplay systems later in the series.

Let me know what you think about this style of video, or if you prefer something more structured.

Here are some great links:

https://github.com/dwjclark11/BinConv...

https://opengameart.org/content/chipt...

https://opengameart.org/content/5-chi...

https://opengameart.org/content/8-bit...

https://www.fontspace.com/public-pixe...

https://opengameart.org/content/mega-...

Make sure if you are using the assets that proper credit is given.

🔗 GitHub Repository
Explore the project here:
https://github.com/dwjclark11/Scion2D

💬 Join the Community
Chat, give feedback, or get help on Discord:
  / discord  

📺 Watch the Full Playlist
Catch all the videos in the series:
   • Build a 2D Game Engine in C++ | Scion2D Ga...  

👍 Like the video and subscribe for future engine development tutorials and Modern C++ programming content.

💬 Questions or ideas? Drop a comment below—I’d love to hear your thoughts and suggestions.