• Register
Post news Report RSS A new chapter begins

Embarking on a new chapter, Genesis evolves. Originating in Java, the journey navigated rendering challenges via JavaFX. Transitioning to C# and OpenGL 4.5 heightened 2D game efficiency. Integration of GlmSharp and BulletSharp enriched mathematics and physics. Now, with 3D scene rendering, Genesis anticipates an imminent leap into full-fledged 3D game developmentā€”a thrilling evolution fueled by unwavering passion.

Posted by on

Many years ago, I embarked on a fascinating journey into the realm of game development, setting out to create a game framework that would allow me to effortlessly and efficiently craft stunning 2D games. My initial foray involved using Java and its Graphics2D renderer, catering to both software and hardware rendering. While this approach worked reasonably well at first, it became apparent that rendering floating-point numbers posed a challenge, complicating the precise positioning of game elements and necessitating a solution.

In my pursuit of perfection and efficiency, my research eventually led me to JavaFX, which utilized the powerful Prism Render Pipeline. However, this platform came with its own set of challenges, particularly concerning the distribution of finished games, as players were required to manually install all the necessary libraries.

Drawing from my prior experience in developing a custom .Net OpenGL wrapper for another project—one of the pioneering OpenGL wrappers for .Net at the time—I decided to migrate the entire framework to C#. In doing so, I created an abstract render system seamlessly integrated with OpenGL 4.5. This transition to C# and OpenGL proved highly rewarding, enabling me to design 2D games even more efficiently and with enhanced performance.

The integration of GlmSharp further expanded my creative possibilities by incorporating a high-performance mathematics library. Simultaneously, the use of BulletSharp ensured that the physical simulations in the game became more precise and realistic.

Another significant milestone in the development is the incorporation of 3D scene rendering into Genesis. While 3D games are not fully supported at present due to the pending implementation of 3D animations, this marks the beginning of an exciting new phase for the framework. The prospect of realizing impressive 3D games in the future fuels my passion for game development and underscores the continuous evolution of Genesis.

Screenshot 5

Screenshot 3

Screenshot 1

Screenshot 2


If you want you can check the framework for yourself

Andy16823/GFX: Simple 2D Game Framework with C# and OpenGL (github.com)

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: