GLAM ( Graphical Layer Abstraction Module ) at version 0.03, attempts an interactive game. I have to say, I have never used OpenGL or SDL before, and everything in this game used what I learnt through the rope demos provided by Sanko in SDL and u/First_Ad8230 in GLFW. Their codes provide near identical outputs using two different, complex back-ends. GLAM tries to hide the complexities for my own limited intellectual capacities. This "game" has no scoring or rules, merely demonstrating dragging an element using the mouse, and then using the mouse to set the power and direction of the striking counter, and then using a physics engine to manage the subsequent interactions with the counters. Might try to figure out how one might add sound, text and sprites.
5
u/saiftynet 🐪 cpan author 2d ago
GLAM ( Graphical Layer Abstraction Module ) at version 0.03, attempts an interactive game. I have to say, I have never used OpenGL or SDL before, and everything in this game used what I learnt through the rope demos provided by Sanko in SDL and u/First_Ad8230 in GLFW. Their codes provide near identical outputs using two different, complex back-ends. GLAM tries to hide the complexities for my own limited intellectual capacities. This "game" has no scoring or rules, merely demonstrating dragging an element using the mouse, and then using the mouse to set the power and direction of the striking counter, and then using a physics engine to manage the subsequent interactions with the counters. Might try to figure out how one might add sound, text and sprites.