Discuss Scratch

guidedog
Scratcher
100+ posts

kicking a ball with wind speed effect


I'll add a link to what I am trying to achieve with this game. I'm happy enough with the gravity effect but I can't make any sense of the wind speed affect.
I've wasted TOO many hours and got no where with it. I'd really appreciate if someone could alter my code so the ball gets effected by variable wind speed for each new kick. (also realistic behaviour too).

I want to create sport games but I have never been able to get a ball physics right. After clicking the green flag just click on the soccer ball and you'll see a red target appear, use that target with W'S'D'A and then press ‘0’ to kick the ball.

I'd appreciate any feedback and your precious time please.

https://scratch.mit.edu/projects/968680838



Regards: The Guide Dog

Last edited by guidedog (Feb. 20, 2024 04:58:27)

chippysmall4
Scratcher
1000+ posts

kicking a ball with wind speed effect

In This Project, The Clouds Sprite Has Wind Direction Scripts, If You Use Them, Be Sure To Give Credit To @chippymall4 In A Prominent Section Of The Description.
RetroDragon530
Scratcher
21 posts

kicking a ball with wind speed effect

you can make realistic physics using these script

when I receive [ shootv]
move (velocity) steps
change [velocityv] by (-1)

Powered by DjangoBB