top of page
ROHAN PATEL
SIGMAX
A basic Game Engine ||
Hi all, this is a basic game engine and I am currently working on and here is a quick demo how to use it.
If you have any suggestions or questions please write to me at
Overview:
crucial components
-
Actor (gameObject)
-
Math
-
Physics
-
Collision
-
Input
-
Renderer
-
Delegates
-
Memory manager
-
PointerManagment(Smart Pointers)
Engine behavior Insights
Following is a very brief engine update loop
Engine Update Flow
![SigmaXUpdate_Structure_.png](https://static.wixstatic.com/media/dfb871_fd2f8848a669419fb8e34d3c73c30405~mv2.png/v1/fill/w_873,h_655,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/SigmaXUpdate_Structure_.png)
Physics Demo
The following is a very basic demo that uses most of the above-mentioned components but mainly showcasing physics with gravity and collision with ground detection functionality.
I will explain a simple way to make this as well later in the article.
Demo 1: Physics with gravity and ground collision detection
Demo 2: An Endless car runner game
Following is a code snippet demonstrating how to create your own object class by deriving gameObject as a base class.
![EngineclassExample.PNG](https://static.wixstatic.com/media/dfb871_72a19972d6c8423994be26cce6e5ed6a~mv2.png/v1/fill/w_909,h_831,al_c,q_90,enc_avif,quality_auto/EngineclassExample_PNG.png)
Thanks for reading
bottom of page