Based on how the ball moves and that you're using godot, I'm guessing that you're directly manipulating the balls position instead of using velocity? You could try changing the movement code to something similar to this: velocity = (global_position - target.global_position).normalized() * delta * speed This should also let the ball interact with the environment more interestingly, with it for example being able to bounce. Hope this helps. Cheers!
← Return to game
Comments
Log in with itch.io to leave a comment.
I really like the style, enjoyed the game, but got stack on the wall few times. great work :)
i couldent find a way to fix the bug im sory
Based on how the ball moves and that you're using godot, I'm guessing that you're directly manipulating the balls position instead of using velocity? You could try changing the movement code to something similar to this:
velocity = (global_position - target.global_position).normalized() * delta * speed
This should also let the ball interact with the environment more interestingly, with it for example being able to bounce. Hope this helps. Cheers!
i used path 2d i wasnt thinking but thank you for the advice for next time
thank you for the compliments, it help out a ton
Np, keep Up the good work!