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?

15+ (not revealing age) girl. Pronouns are she/her.
Host of The Pi Counsel. Comment in studio to join.

Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well

If I helped you out consider following Juni-Bug!


Select this + shift + down arrow = view rest of signature

This is JuniperActias. AKA Moth mommy.





Signature gradients here





If you found this secret; reply with ‘uwu’ with absolutely no context













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
1000+ 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 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
 [color=color name or hexadecimal value here] and [/color] 
tags to color text.
Lesser-known Scratch URLs:
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)
View a larger list at: https://scratch.mit.edu/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch.mit.edu/discuss/topic/762351/
1000th post
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
11 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