My Basketball Game: Ball not going directly to player when game starts

id: 750914

category: Help with Scripts

posts: 3

Hi!

Please check out my scratch project https://scratch.mit.edu/projects/991240023/editor i have technical issues.
For the game, the ball is supposed to go directly to the player when he presses space, but instead, it just goes to the right side on the ground then goes to him. Please help because i cannot find what's the issue!


Many thanks,
@blitz_creaze
PyraEthan12 PyraEthan12 loading
This topic would work better in Help With Scripts.
MineTurte MineTurte loading

blitz_creaze wrote:

Hi!

Please check out my scratch project https://scratch.mit.edu/projects/991240023/editor i have technical issues.
For the game, the ball is supposed to go directly to the player when he presses space, but instead, it just goes to the right side on the ground then goes to him. Please help because i cannot find what's the issue!


Many thanks,
@blitz_creaze
Your project is either deleted or unshared so I can't exactly help… But I do believe if you don't have a script like this:
point towards [ player]
repeat until <touching [ player] ?>
move (2) steps
end
it might not work correctly.

Hope this helps!