Discuss Scratch

just-a-grasshoper
Scratcher
28 posts

how to make a platform you can jump on

i want to make one of those platforms where you can jump through them and land on them
the project
deck26
Scratcher
1000+ posts

how to make a platform you can jump on

Project doesn't seem to be shared but I'd advise you to search for @griffpatch_tutor's platformer tutorial.
just-a-grasshoper
Scratcher
28 posts

how to make a platform you can jump on

it`s shared now
deck26
Scratcher
1000+ posts

how to make a platform you can jump on

just-a-grasshoper wrote:

it`s shared now
Doesn't change my advice.
just-a-grasshoper
Scratcher
28 posts

how to make a platform you can jump on

ok
Presentation657
Scratcher
37 posts

how to make a platform you can jump on

when green flag clicked
if <touching color [#1a9ee0] ?> then
change y by (0)



else
change y by (-10)
end
AveryBrodyA
Scratcher
37 posts

how to make a platform you can jump on

Presentation657 wrote:

when green flag clicked
if <touching color [#1a9ee0] ?> then
change y by (0)



else
change y by (-10)
end
he wants to jump up through the block and then land on top
AveryBrodyA
Scratcher
37 posts

how to make a platform you can jump on

when green flag clicked
forever
if <touching [block v] ?> then
change [times touched v] by (1)
end
if <(time touched) = [1]> then
change y by (-5)
else
if <(times touched) = [0]> then
change x by (-5)
end
if <(times touched) = [2]> then
set [times touched v] to [0]
end
end
probably will work
TromboneAndSaxophone
Scratcher
55 posts

how to make a platform you can jump on

AveryBrodyA wrote:

when green flag clicked
forever
if <touching [block v] ?> then
change [times touched v] by (1)
end
if <(time touched) = [1]> then
change y by (-5)
else
if <(times touched) = [0]> then
change x by (-5)
end
if <(times touched) = [2]> then
set [times touched v] to [0]
end
end
probably will work
It won't. It will just go down 5 pixels until it's not touching the sprite.

Last edited by TromboneAndSaxophone (Feb. 9, 2018 00:04:08)


just-a-grasshoper
Scratcher
28 posts

how to make a platform you can jump on

thx guys
I`ll let you guys know when my project comes out

Powered by DjangoBB

Standard | Mobile