Discuss Scratch

ripsunshine
Scratcher
2 posts

I forgot how to make a barrier in scratch help

How do you make a barrier in a scratch platformer?

MineTurte
Scratcher
500+ posts

I forgot how to make a barrier in scratch help

ripsunshine wrote:

How do you make a barrier in a scratch platformer?

What do you mean a barrier? Like collision?

(pronouns are she/her). Advanced Alpha Game Studios Manager. Our website: https://aags2.w3spaces.com
This is JuniperActias. AKA Moth mommy. If I helped you out consider following Juni-Bug (my new account)!




If you found this secret, say uwu
Signature gradients here













Gateway_Dragon56real
Scratcher
6 posts

I forgot how to make a barrier in scratch help

Dude I want to know how to do this too
BigNate469
Scratcher
500+ posts

I forgot how to make a barrier in scratch help

If by barrier you mean “wall that you can't get over”, just make a wall as high as the stage. Otherwise, elaborate more upon what you want.

Also, walls in platformers are made in a few different ways depending upon the engine.

Highlight any part of this signature and press ctrl+shift+down arrow to see the rest of it
forever
if <person asks [what's a signature] :: sensing> then
Redirect to [https://en.scratch-wiki.info/wiki/Signature] :: motion
end
end
Please read the list of Officially Rejected Suggestions before posting a suggestion for Scratch! 100th post
This signature is designed to be as helpful as possible.
View all of the topics you've posted in:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=topics
View all of your posts:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=posts
Forum tips:
Don't title topics something like “HELP ME!!!”. It's not helpful, and won't get you as many responses.
Don't post in topics where the latest post is over ~2 months old, unless you have something critical to add. Especially in topics that are several years old- it isn't helpful, and is known as necroposting.
Don't post unrelated things in topics, including questions of your own. Make a new topic for your questions.
You can use the
 [code] and [/code] 
tags to show other users how to format something that Scratch would otherwise format.
You can use the
 [color=color name or hexadecimal value here] and [/color] 
tags to color text.
Little-known Scratch URLs:
scratch.pizza (redirects to main page)
https://scratch.mit.edu/projects/PROJECT ID HERE/remixtree (replace “PROJECT ID HERE” with project id number. Shows all the remixes of the project, and the remixes of those projects, and the remixes of those projects, and so on, as a chart. Link currently redirects to one of my projects)
ripsunshine
Scratcher
2 posts

I forgot how to make a barrier in scratch help

@MineTurte

Yes! that that's what I meant. I forgot how to wall collision
jelte1908
Scratcher
10 posts

I forgot how to make a barrier in scratch help

make a sprite with barrier

forever
if <touching [ barrier] ?> then
go to x: (variablex) y: (variabley)
end
end

and

when green flag clicked
forever
set [variablex] to (x position)
set [variabley] to (y position)
end

Powered by DjangoBB