There's a problem with the collision detection that I used (SAT). It seems that it cannot handle concave shapes. And this is bad for the maps that I have in mind. I will comeback to this after I had learned more. I am very sorry.
This is a 2D golf game that I developed. Players can enjoy a fun and challenging golf experience right in their browser.
The game is developed using HTML, CSS, and JavaScript. It leverages the canvas element to create the interactive gameplay environment. Using Separating Axis Theorem (SAT) algorithm for the collision detection.
- HTML: Used for structuring the web pages and content.
- CSS: Used for styling and layout to enhance the visual appeal of the game.
- JavaScript: Used for implementing game logic, user interactins, and animations.
- Load the game in your web browser.
- Enter your username.
- Follow the on-screen instructions to learn how to play.
- Enjoy playing through multiple levels of golf challenges!