Discuss Scratch
- Discussion Forums
- » Collaboration
- » Norris 2018 Official Best Scratch Project Forum
- NeilTNorris2018
- Scratcher
5 posts
Norris 2018 Official Best Scratch Project Forum
Welcome to the Norris 2018 Official Best Scratch Project Forum. Submit Studios. Projects & Requests to this studio, be sure to check often. At the moment this is the live studio leaderboard.
1. Norris 2018 best projects
2. Banana Slugs
...
Last edited by NeilTNorris2018 (Sept. 14, 2018 01:55:10)
- NeilTNorris2018
- Scratcher
5 posts
Norris 2018 Official Best Scratch Project Forum
Most of you guys seem to be trying to make a 2D platformer (with gravity) so here's how
Optional:
Delete The Cat Sprite
Get a New Sprite
1:
Now on that sprite pick the starting coordinates. Mine is a ball and I want to start it at x: 0 y:-140
so add the when clicked and go to statement so mine would look like
2 (Make The Backdrop)
Now you will have to paint your own backdrop SO paint your backdrop and make sure that the ground is one color. My ground is going to be green.
3 (Add The Gravity)
So now that we've painted the ground one color let's get into the gravity code.
Add the following code on to the other code we did earlier.
Many of you have different ways of controlling the keys but basically right code to control up, left and right.
Now that your satisfied with gravity go on
Optional:
Delete The Cat Sprite
Get a New Sprite
1:
Now on that sprite pick the starting coordinates. Mine is a ball and I want to start it at x: 0 y:-140
so add the when clicked and go to statement so mine would look like
when green flag clicked
go to x: (0) y: (-140)
2 (Make The Backdrop)
Now you will have to paint your own backdrop SO paint your backdrop and make sure that the ground is one color. My ground is going to be green.
3 (Add The Gravity)
So now that we've painted the ground one color let's get into the gravity code.
Add the following code on to the other code we did earlier.
when green flag clicked4 (Simple: Key Control)
go to x: (0) y: (-140)
forever
if <not <touching color [#00FF00] ?>> then
change y by (-10)
end
end
Many of you have different ways of controlling the keys but basically right code to control up, left and right.
Now that your satisfied with gravity go on
- rohandnorris2018
- Scratcher
1 post
Norris 2018 Official Best Scratch Project Forum
[it will not work try the code neil
Last edited by rohandnorris2018 (Sept. 15, 2018 01:03:46)
- NeilTNorris2018
- Scratcher
5 posts
Norris 2018 Official Best Scratch Project Forum
Did you read the whole thing??? [it will not work try the code neil
Hint: [Try Step#4]
- Discussion Forums
- » Collaboration
- » Norris 2018 Official Best Scratch Project Forum