Pages: 1
Topic closed
you should start smaller; that is complex physics scritping
Offline
try looking at some projects that use this and remix theirs or use some of their scripts. a good classic i know of is Chop Shop.
remember to give credit to the creator!
Offline
If you have 2 variables, X and scrollx, where x is how fast the player is going then do this:
You colour the wall a certain colour and program it like this:
<forever>
<if><touching color[ ]
<set{ x }to( (( x <*> -1 ))
<end>
<end>
Last edited by subzerostig (2010-11-30 14:57:58)
Offline
ummmm this is the wrong thread topic thing you should look in the requests one
Offline
stickdude123 wrote:
ummmm this is the wrong thread topic thing you should look in the requests one
Actually this should be in all about Scratch.
Say this:
If Key right arrow
11If not touching color whatever
11Change ScrollX by whatever
11Else
11Change Scrollx by opposite of whatever.
1111111111111111111111111111111
111111111111111111111111111111
Offline
subzerostig wrote:
If you have 2 variables, X and scrollx, where x is how fast the player is going then do this:
You colour the wall a certain colour and program it like this:
<forever>
<if><touching color[ ]
<set{ x }to( (( x <*> -1 ))
<end>
<end>
This answer is correct given that you have a variable that tracks horizontal momentum, which you should. Other answers to this question hint at making a sprite stop at a wall which doesn't address the problem.
Offline
[blocks]<forever><repeat(
<turn cw( 180 )degrees><touching[ <if>
<move( )steps>[/blocks]
I dunno if these will even show up as blocks...but just an idea.
Offline
Topic closed
Pages: 1