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

#1 2008-04-13 05:21:23

Rdevos
Scratcher
Registered: 2008-03-28
Posts: 30

help with my platform games!

HELP! I NEED HELP!

every time i jump, my man goes threw the platforms

If there is a brick he must jump over, and i don't jump, he goes threw  the stone, and up.


HELP!

<when green flag clicked>
<forever if> < <not> helped >>
<say[ HELP ME WITH MY PLATFORMS!
<end>


By the way, SCRATCH ROCKS!!! :-)

Offline

 

#2 2008-07-03 03:16:18

PhantomScythe
Scratcher
Registered: 2008-07-03
Posts: 2

Re: help with my platform games!

[blocks]<when green flag clicked>
           <forever if><touching color[
                <point in direction( (( 0 <-> <direction> ))
                <move( 6 )steps>
           <end>

Offline

 

#3 2008-07-03 09:28:35

PhantomScythe
Scratcher
Registered: 2008-07-03
Posts: 2

Re: help with my platform games!

[blocks]<when green flag clicked>
<forever if><touching color[ green] >
<point in direction( (( 0 <-> <direction> ))
<move( 10 )steps>
<end>

Offline

 

#4 2008-07-04 03:06:59

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: help with my platform games!

<when[ space ]key pressed>
<glide( <however> )secs to x sad  x position of <player name here>  )y sad  (( y posistion of <player name here> <+> <how high you wanna jump> ))
<glide( <same as <however>> )secs to x sad  x posistion of <player name here> )y sad  (( y posistion of <player name here> <-> <same as <how high you wanna jump>> ))

Offline

 

#5 2008-07-04 03:12:59

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: help with my platform games!

Hoped that helped. I did a lot of thinking. Or you could just do this:
<when[ space ]key pressed>
<repeat( 5
<change y by( 5
<end>
<repeat( 5
<change y by( -5
<end>
<stop script>

Lol I typed out the bottom half of that.
Happy to help!

Last edited by Kingdaro (2008-07-04 03:14:02)

Offline

 

#6 2008-07-04 03:15:15

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: help with my platform games!

PhantomScythe wrote:

[blocks]<when green flag clicked>
           <forever if><touching color[
                <point in direction( (( 0 <-> <direction> ))
                <move( 6 )steps>
           <end>

I think he wanted to jump not walk on invisible walls. Try one of my solutions. It feels good to help!

Last edited by Kingdaro (2008-07-04 03:23:43)

Offline

 

#7 2008-07-04 03:16:53

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: help with my platform games!

Sry for the quad post.
<when green flag clicked>
<say[ sry for quad posting. ]for( 2 )secs>
<stop all>

Offline

 

Board footer