Discuss Scratch

robot_amelia
Scratcher
23 posts

Gravity

Are you wondering about how to do gravity? Well here is a quick tutorial! Make a valuable and call it gravity:
when green flag clicked
set [gravity v] to [0]
forever
wait (gravity) secs
change [gravity v] by (-1)
change y by (gravity)
end

I hoped this helped!

Found This Helpful?
Take a look at my profile!
bRuHbRuHmEmEmAn
Scratcher
100+ posts

Gravity

robot_amelia wrote:

Are you wondering about how to do gravity? Well here is a quick tutorial! Make a valuable and call it gravity:
when green flag clicked
set [gravity v] to [0]
forever
wait (gravity) secs
change [gravity v] by (-1)
change y by (gravity)
end

I hoped this helped!
For future reference, the HwS fourm topic is a place where you get help with your scripts rather than give help/tutorials.

(#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999)(#`Д´ :: #999999)(#`Д´ :: #999999) (#`Д´ :: #999999) (#`Д´ :: #999999):: reporter :: #444444 // First line of defense - Gunners

(‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) (‡▼益▼:: #ff4444) :: reporter :: #aa0000 // Second line of defense - Heavy Gunners

(╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) (╬◣_◢ :: #44ff44) :: reporter :: #00aa00 // Third line of defense - Tanks n' Stuff

(≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) (≖、≖╬ :: #4444ff) :: reporter :: #0000aa // Final line of defense - Death Rays
A message from the founder of bRuHbRuHmEmEmAn's signature defense

There's no possible way the kumquats can get through this, amirite folks?
Your average HwS fourm roamer. Ask me anything.

Before you ask, yes, I am a furry, and if you're thinking in your head “eww a furry,” then please do your research. Furries aren't bad people. Well, most of them.
robot_amelia
Scratcher
23 posts

Gravity

OK. How do you give help?

Found This Helpful?
Take a look at my profile!
ShadowWolfPhantom
Scratcher
1 post

Gravity

when green flag clicked
set [ Gravity] to [1.5]
set[ speed y] to [0]
forever
if <touching color [#f54671] ?> then
set [ speed y] to [0]
end
change [ speed y] by (Gravity)
change y by (speed y)

end

I use this
robot_amelia
Scratcher
23 posts

Gravity

Replying to @ShadowWolfPhantom

Cool idea! Sorry there is a floating block.

define Thank you! That was cool [thanks]
say (join [Thanks! I love the idea ] (thanks) for (2) secs
move (30) steps
play sound [I really do love the idea. v]
say [I might try it out!] for (2) secs

Found This Helpful?
Take a look at my profile!
MrKingofScratch
Scratcher
100+ posts

Gravity

The discussion forums aren't a place for making tutorials, unless they're to answer someone's question. In that case, add the tutorial to their post instead of making a new one. You can, however, make a tutorial in a project.

See this post by a scratch team member for more info.

Last edited by kaj (Tomorrow 00:00:00)
100th post!
robot_amelia
Scratcher
23 posts

Gravity

when green flag clicked
say [OK,thank you] for (2) secs
broadcast [Haha! I'm doing this in blocks. v]
when I receive [OK I know now about how the Fourms are not tutorials. Please stop reminding me. Thanks! v]

Found This Helpful?
Take a look at my profile!
MrKingofScratch
Scratcher
100+ posts

Gravity

MrKingofScratch wrote:

The discussion forums aren't a place for making tutorials, unless they're to answer someone's question. In that case, add the tutorial to their post instead of making a new one. You can, however, make a tutorial in a project.

See this post by a scratch team member for more info.

robot_amelia wrote:

when I receive [OK I know now about how the Fourms are not tutorials. Please stop reminding me. Thanks! v]

I was also letting you know that you can post tutorials in projects. Hope this cleared stuff up.

Last edited by kaj (Tomorrow 00:00:00)
100th post!
robot_amelia
Scratcher
23 posts

Gravity

It did, thanks!

Found This Helpful?
Take a look at my profile!
MrKingofScratch
Scratcher
100+ posts

Gravity

Nice!

Last edited by kaj (Tomorrow 00:00:00)
100th post!

Powered by DjangoBB