Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

The answer to that can be a bit more simple. I had done a pong clone before and checking the code this might be useful:

var collision = move_and_collide(velocity)
if collision:
             direction = direction.bounce(collision.normal)

Thanks for the help :)

 i'll have to check that, cause while in the jam i did found a couple of tutorials but they used RigidBodies for the projectile physics, and mine here are Area2D so i'm probably gonna have to rework the bouncy shots entirely to make them work as intended :p