-
Notifications
You must be signed in to change notification settings - Fork 7
/
bounce.xml
1 lines (1 loc) · 12.1 KB
/
bounce.xml
1
<project name="bounce" app="Snap! 4.0, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAC50lEQVR4Xu3VMS6tYRSG0X1oiEKhlShRqQxAYwCiVhqAwjwkRmEGCkMwD9EqRY5QXe2veJJrnX5/b/L8Kzmr9Xq9Hj8FogIrAKPyZr8LAAhCWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3ziADKQFAEzzGweQgbQAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABcYeHx8nIODgzk6Olpw7eTfAgAu9HB5eTkfHx/z8vIyNzc3c3Z2Nnt7e7NarRa++DfPAFz43V9fX+f6+voHuLe3tzk5OZnDw8O5urqara2tha//nTMAf/Gtz8/PZ2dn58cL6/V6NjY25v39fR4eHmZ7e/sXC///KYALv/H9/f08PT19X3/9Fe/u7s7FxcWcnp7O/v7+wlf/3hmAC7758/Pz3N3dzfHx8dze3s7m5uaCV5x8FQCQg7QAgGl+4wAykBYAMM1vHEAG0gIApvmNA8hAWgDANL9xABlICwCY5jcOIANpAQDT/MYBZCAtAGCa3/gnvKMLt5T2QSkAAAAASUVORK5CYII=</thumbnail><stage name="Stage" width="480" height="360" costume="0" tempo="60" threadsafe="false" lines="round" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAA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gABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</pentrails><costumes><list id="2"></list></costumes><sounds><list id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><watcher var="y-speed" style="normal" x="8.354166666666629" y="8.354166666666643" color="243,118,29" hidden="true"/><watcher var="x-speed" style="normal" x="8.354166666666629" y="25.897918337499974" color="243,118,29" hidden="true"/><watcher var="gravity" style="normal" x="8.354166666666629" y="43.44167000833336" color="243,118,29" hidden="true"/><watcher var="drag" style="normal" x="8.354166666666629" y="60.98542167916669" color="243,118,29" hidden="true"/><watcher var="elasticity" style="normal" x="8.354166666666629" y="78.52917334999998" color="243,118,29" hidden="true"/><watcher var="floor" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher scope="Sprite" s="yPosition" style="normal" x="10" y="31.000001999999995" color="74,108,212" hidden="true"/><watcher var="max y position" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="max y speed" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="damper" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><sprite name="Sprite" idx="1" x="-5.032386145371006e-10" y="-130.39898555901482" heading="90" scale="1" rotation="1" draggable="true" costume="0" color="80,80,80" pen="middle" id="18"><costumes><list id="19"></list></costumes><sounds><list id="20"></list></sounds><variables></variables><blocks></blocks><scripts><script x="30" y="30"><block s="receiveGo"></block><block s="doBroadcastAndWait"><l>initialize</l></block><block s="doForever"><script><block s="doIf"><block s="reportKeyPressed"><l><option>right arrow</option></l></block><script><block s="doChangeVar"><l>x-speed</l><l>1</l></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>left arrow</option></l></block><script><block s="doChangeVar"><l>x-speed</l><l>-1</l></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>up arrow</option></l></block><script><block s="doChangeVar"><l>y-speed</l><l>1.5</l></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>space</option></l></block><script><block s="gotoXY"><l>0</l><block var="floor"/></block><block s="doBroadcastAndWait"><l>initialize</l></block></script></block><block s="changeXPosition"><block var="x-speed"/></block><block s="changeYPosition"><block var="y-speed"/></block><block s="doIf"><block s="reportGreaterThan"><block s="yPosition"></block><block var="max y position"/></block><script><block s="doSetVar"><l>max y position</l><block s="yPosition"></block></block></script></block><block s="doIfElse"><block s="reportLessThan"><block s="yPosition"></block><block var="floor"/></block><script><block s="doIf"><block s="reportGreaterThan"><block var="max y position"/><block var="floor"/></block><script><block s="bubble"><l></l></block></script></block><block s="doSetVar"><l>max y position</l><block var="floor"/></block><block s="doChangeVar"><l>y-speed</l><block s="reportDifference"><block s="reportProduct"><block var="elasticity"/><block s="reportDifference"><block var="floor"/><block s="yPosition"></block></block></block><block s="reportProduct"><block var="damper"/><block var="y-speed"/></block></block></block></script><script><block s="doChangeVar"><l>y-speed</l><block var="gravity"/></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="xPosition"></block><block var="sides"/></block><script><block s="doChangeVar"><l>x-speed</l><block s="reportDifference"><block s="reportProduct"><block var="elasticity"/><block s="reportDifference"><block var="sides"/><block s="xPosition"></block></block></block><block s="reportProduct"><block var="damper"/><block var="x-speed"/></block></block></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="reportDifference"><l>0</l><block var="sides"/></block><block s="xPosition"></block></block><script><block s="doChangeVar"><l>x-speed</l><block s="reportDifference"><block s="reportProduct"><block var="elasticity"/><block s="reportDifference"><block s="reportDifference"><l>0</l><block var="sides"/></block><block s="xPosition"></block></block></block><block s="reportProduct"><block var="damper"/><block var="x-speed"/></block></block></block></script></block><block s="doSetVar"><l>x-speed</l><block s="reportProduct"><block var="x-speed"/><block var="drag"/></block></block></script></block></script><script x="234.12109775" y="433.83333733333336"><block var="max y position"/></script><script x="262" y="88"><block s="receiveMessage"><l>initialize</l></block><block s="doSetVar"><l>y-speed</l><l>0</l></block><block s="doSetVar"><l>x-speed</l><l>0</l></block><block s="doSetVar"><l>gravity</l><l>-.5</l></block><block s="doSetVar"><l>drag</l><l>.99</l></block><block s="doSetVar"><l>elasticity</l><l>.5 </l></block><block s="doSetVar"><l>floor</l><l>-130</l></block><block s="doSetVar"><l>max y position</l><block var="floor"/></block><block s="doSetVar"><l>damper</l><l>.07</l></block><block s="doSetVar"><l>sides</l><l>220</l></block><block s="bubble"><l></l></block></script></scripts></sprite><watcher var="sides" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks></blocks><variables><variable name="y-speed"><l>-0.15332965279934624</l></variable><variable name="x-speed"><l>0</l></variable><variable name="gravity"><l>-.5</l></variable><variable name="drag"><l>.99</l></variable><variable name="elasticity"><l>.5 </l></variable><variable name="floor"><l>-130</l></variable><variable name="max y position"><l>-130</l></variable><variable name="max y speed"><l>0</l></variable><variable name="damper"><l>.07</l></variable><variable name="sides"><l>220</l></variable></variables></project>