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

#1 2010-10-15 17:48:53

soccerkid31
Scratcher
Registered: 2010-10-01
Posts: 6

Game Movement

My game i am making is having jumping problems and i need help with movement for example if hits a wall of something bounces (it is scrolling) the stage scrolls by when you push a button you change the position of the sprite. for jump it does not completely go back to the field.
<forever if> up or touching black
<switch to costume[ jump]>
<repeat( 20)>
<end>
<repeat until><<<(  <=>  )><or><<<(  <<>  )><or><touching color[black]>>
<switch to costume[ jump 2]>
<change{ y jump }by( -2)>
<change{ y jump }by(<{ gravity }>) >
<end>
<switch to costume[ #5]>
<end>
this jump programing doesn't bring back down to stage almost does is like 10-y off

Offline

 

#2 2010-10-15 17:53:20

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Game Movement

I will be able to help more if you post the project.  wink


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#3 2010-10-15 18:24:55

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: Game Movement

Not advanced. *reports*


Yawn, another boring text signature. I should really make something better.

Offline

 

#4 2010-10-15 18:46:43

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Game Movement

This doesn't look like it belongs in Advanced Topics - often, this forum is used for looking behind the scenes of Scratch and digging into how it was made.

I'll move this over to "All About Scratch."

Offline

 

#5 2010-10-16 05:15:15

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Game Movement

Could you upload the project?
Its kind of hard to tell what you mean and some bits you said did not make much sense.

"for example if hits a wall of something bounces (it is scrolling) the stage scrolls by when you push a button you change the position of the sprite."

Offline

 

Board footer