Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Nice work on yours! I love how coherent the direction is.

I didn't code gameplay @Hawk777 was the magician there, however, I believe RigidBody2D.applyimpulse does most of the magic for the bounces.

Here is the line:

https://github.com/Zereijin/GMTK2023/blob/main/game_scene/bumper/bumper.gd#L34

The entire project is in the repo and we used Godot 4.1.0 (it came out just in time!). You can clone project there and poke around!

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