Introducing Knight
Knight is an object-oriented programming (OOP) wrapper written in C++ that builds upon raylib. Serving as a higher-level engine layer, Knight offers enhanced game development tools designed to simplify the process for you by abstracting away raylib-specific rendering details. Let’s inspect the new features included in Knight.
What’s new in Knight?
In addition to raylib’s fundamental rendering and low-level operations, Knight introduces higher-level concepts and tools. These include a streamlined game-flow structure centered around Start, Update, DrawFrame, and EndGame functions. Knight also defines key concepts such as Scene, SceneObject, and ObjectComponent to facilitate the creation of hierarchical scenes.
Let’s start understanding the game flow structure next.
Introducing the game flow structure
Knight is designed with a very straightforward structure that encompasses only the most basic game flow elements. Using...