it's actually continuous collision detection :) I kind of cheated and now use box2d (fastest and easiest solution).
Thanks for the note on the bug, that has been fixed.
Thanks for your constructive criticism!
The window size is actually 4 times the framebuffer size; 3/4 of the current size should work fine.
Yes, the sound effects are actually generated on sfxr, I didn't actually played around much, after I had found some sounds that were good enough. I can change that, I get your point :)
And with the collision detection: I actually use a discrete approach. So yeah, tunneling is an issue which I could fix by just restricting the maximum velocity the ball can move. My approach is that I first check if a collision occurs and if it does, I handle both axis separately to resolve the collision. I might have a clue why collisions are resolved in the wrong direction. I will have a look at that. After all, I will have a look on continuous collision detection, that's something I want to learn about anyway.
I'm a software engineer with a strong focus on computer graphics, but actually never got my hands dirty on game programming, which is a hole different beast. I used an data oriented approach instead of a "classical" object oriented approach. This way I didn't end up with overengineering things, like I tend to do with my never ending side project of a 3D game engine (which is actually more a 3D rendering framework, but who knows the difference nowadays, right? :)
I didn't really care about the size. 200kb is actually pretty much for such a small game. BMP/WAV for ease of use isn't the go to decision when you aim for compression haha.
Hi everyone,
I finally finished my first game!!
As everyone, I had big plans with a quake-like 3D first person shooter in the beginning. I basically built my own 3D engine in C++ and OpenGL. But after realizing 3D physics are extremely hard , I hat to take multiple steps back and I needed something much simpler, more easier to finish. A 2D puzzle game seemed feasible! MiniGolf was born.
As soon as the main game mechanics were done I thought. I finally made a game with multiple levels, sound and editable maps (paint is the editor of choice here :D ). After I realized that a game without a title screen and a score is not really much a game, I kind of hacked this things in the code. Good enough for my very first game I thought. I always read in blogs that you need to release a game, so here I am!
Have fun playing it, it get's funnier when you design your own maps and see how many shots you need to finish the game.
https://danqua.itch.io/minigolf
Cheers, danqua