Inspiration

I wanted to try to explore the capabilities of opengl with pygame. I'm highly interested in physics simulation, collision and event handling. I did tried make some games with sdl. And this time, I tried to work on something new but simple.

What it does

In this simple game, we have a solid boundary and path where ball can move along the path with angular velocity

How I built it

I did used pygame event handling system to detect keys event. Together with pygame and opengl, I did created a maze shader and applied texture to it.

Challenges I ran into

Working with opengl part and writing shader has made it difficult. For me, it's more boilerplate even to achieve simple thing.

Accomplishments that I'm proud of

Finally got something to show to the world

What I learned

How to work with shader, texture, event handling in a game.

What's next for Ball In a maze

I want to improve the event handling system with mouse position instead of keyboard arrow keys.

Built With

Share this project:

Updates