How to Create Gravity in Scratch

How to Create Gravity in Scratch

Just how do you make gravity on scrape?

Just how do you make velocity in scrape?

Velocity/ Slowdown
  1. Develop a variable called sidetoside. Establish it for this sprite just.
  2. Relocating the Sprite Side to Side. Utilize the manuscript contrary to manage the side to side motion of the sprite.
  3. Reducing the Sprite. Integrate the blocks revealed opposite to produce the conditional declaration revealed.
  4. Decreasing.

Just how do you make something strong on scrape?

To make something strong; when you relocate the sprite if it is after that touching something that is strong after that simply relocate back the means it came.

Just how do you code gravity?

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.