Well, I haven't looked at the scripts, but I'd imagine you would do something ike this:
<if><touching color[ Black
<point in direction( (( 180 <-> <direction> ))
<move( (( -1 <*> <{ friction }> )) )steps>
Jus something to reverse the variable (I don't think you need the point in direction though)
Offline
keroro645 wrote:
It uses x and y velocity.
Alright. do this script:
<if><touching color[ black
<set{ velocities }to( (( -1 <*> <{ velocity }> ))
But coorespond each variable to the proper key. I.E., Y velocity to up arrow
Offline
keroro645 wrote:
Bluestribute wrote:
But coorespond each variable to the proper key. I.E., Y velocity to up arrow
What do you mean?
Well, you don't want X velocity with the up arrow.
Offline
Keroroo. I have been searching for a similiar way to make something like this. I have finally found the simplest way to do so. First of all You want to Forever move x / Friction Steps. Then you want to make the vertical and horizantal walls different colors. Then make it so if touching (Horizantal wall color) Point in Direction 180-direction. if touching (vertical wall color) Point in Direction Direction*-1.
Offline
I just tested my way. I works perfectly! Just set each variable to itself times -1!
Offline
keroro645 wrote:
I like Bluestributes way.
Creates that nice bouncing effect, huh? And looks awesome too!
Offline
Whats a gravity ball in the first place? You mean it has no gravity acted upon it until it hits the black?
Offline