Inspiration

I wanted to understand some of the work that game engines abstract away from the user. After some research, OpenGL seemed to have the features and community that would make it amicable to learning during the hackathon.

What it does

The game is a basic twin-stick shooter. WASD keys move the player and arrow keys shoot in the relative position. Score increases for each enemy killed and health decreases each time an enemy touches the player. Enemies move towards the player and if the player runs out of health, the game ends.

How I built it

I built it in visual studio using OpenGL and some libraries that handled work such as loading images (stb_image) and locating the address of OpenGL functions (glad).

Challenges I ran into

Understanding what calls to OpenGL functions mean and how the rendering pipeline works were both essential and challenging tasks.

Accomplishments that I'm proud of

That I was able to achieve the level of functionality and understanding that I did.

What I learned

How shaders work to turn vertices into triangles and models. Basic principles of 3D graphics.

What's next for Blocks

Improved collision detection, more and better textures, more models, sound effects...

Built With

Share this project:

Updates