Brutal, mis dieses
Kikocal
Creator of
Recent community posts
Yeah, we also used a RigidBody2D for the ball and StaticBody2D for the bumpers. But the bounce effect was done in our case by changing a "bounce" value in the graphical interface on the bumpers objects.
The way you coded an impulse whose direction depends on the angle of the ball creates a much better effect!
Thanks! The code is very helpful. For us it was our very first game, so it's very useful to see how other people do things.
Looking at yours, I can see that the real magic that we didn't get is actually in line 9, where I guess you create a vector with a direction that depends on the angle the ball hits the bumper. Good work there.
Here's ours, in case you are curious: https://github.com/juanfrcaliz/super_reversed_pinball
Very similar concept to our game! But you definitely created the pinball feeling we were looking for.
May I ask how did you code the movements? Did you use the predefined physics object of Godot or did you code yourselves the behavior of the ball? We didn't quite get to create this quick bounces when the ball hits the bumpers.
Anyway, cool game, congrats to the team :D
Definitely created some nostalgia for the Windows Pinball game!
Congrats on your first game. If you are open to some feedback, I think it would improve by having the camera zoom out a little and also by having less control over the ball... pinballs are meant to be chaos, so once you go over a bumper the ball should go flying into other elements and make you lose control for a few seconds.
Thanks for your feedback!
I get what you mean about the hands being confusing. The idea is that you hit the machine from the right, so the machine moves to the left and the ball stays in place (so it appears to move to the right).
And for the difficulty, we went un and down with the amount of points that are lost per impact, but in the end didn't have a lot of spare time to fine tune it, so that's how it stayed 😂