Comments

Log in with itch.io to leave a comment.

hey can u make tutorial? i have also made an air hockey game but the interaction between puck and paddle is not good

I will make this game open source. You will be able to get the project and check the code at GitHub. My account name is Bubutotti.


I don't have a repository yet but I will make one once I finish refactoring.

thank you very much

The interaction between the puck and the paddle was not hard. The paddle was just a kinematic body that uses `move_and_slide()`.

and the puck?

Just a RigidBody2D

The repository is now ready. You can download the whole project and examine the scripts at GitHub.

Thank you very very much. It will really help me a lot. You can also check mine and give me feednack

Sure. Just send the link and I'll give you feedback.

https://play.google.com/store/apps/details?id=com.titangaming.classicairhockey

(1 edit)

Pretty good game overall, just has a couple of quirks.

The first issue I noticed is that the puck goes wild even when the paddle gently touches it.

Secondly, the angle at which the puck bounces off the paddle is seemingly random which is noticable especially when the paddle is behind the ball.

It's also a bit uncomfortable that the ball spawns immediately after scoring. Try making a delay to make sure the players are ready. Otherwise, nice work!