This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-03-26 17:36:34

Maltese_Falcon
Scratcher
Registered: 2013-03-25
Posts: 100+

Solid walls, but still can jump through

Hello. I was wondering whether you can make walls where if you are under them, you can jump through them, but when you're actually on them, you can't fall through them. I'm not really sure how to explain it very well.

Could anybody please help me with some sort of script that would allow me to do this? This is only my second game, so I'm not very experienced yet. Thanks.  smile

Offline

 

#2 2013-03-26 22:43:19

jnb6355
Scratcher
Registered: 2012-12-08
Posts: 9

Re: Solid walls, but still can jump through

Let's say

[scratchblocks]
when gf clicked
if <(jump)>
repeat until <(touching block)>
go up
end
end
go down

I also have a gallery full of platformer stuff so check there too.
(I'm new at typing scratch blocks so sorry if they messed up)

Offline

 

#3 2013-03-27 06:51:44

UberMoviesPlus
New Scratcher
Registered: 2013-03-27
Posts: 3

Re: Solid walls, but still can jump through

easy make it so  when touching that color it stops.
look here for more help http://scratch.mit.edu/projects/-UltimateGamer-/1200372

Offline

 

#4 2013-03-28 10:41:39

ScratchO123
New Scratcher
Registered: 2013-02-21
Posts: 2

Re: Solid walls, but still can jump through

somethink like that but diffrent at the same time, i need to find out how to make a character move while jumpind like going forword in the middle of a jump in one of my RPG's i need to make the character move while jumping.

Offline

 

Board footer