Motion
Looks
Sound
Events
Control
Sensing
Operators
Variables
My Blocks
notAdjust Item Min and Maxscroll_x250<250setscroll_xtoitem_minlength ofitems>item_minitemofitemsscroll_x260->or4changeitem_minbyitem_min5<item_min4-itemofitemsscroll_x260->notor-4item_min3+itemofitems0=1changenew items#byifthenchangeitem_minbyitem_max1<item_maxitemofitemsscroll_x260+<or-4changeitem_maxbyitem_max4+length ofitems>item_max4+itemofitemsscroll_x260+<notor4item_max3+itemofitems0=1changenew items#byifthenchangeitem_maxby7itemofpointsPNT#7+itemofpointst10>t210>and1360270>1000-360flipsetEventtochange360bychangeSCOREby360-270<1000360backflipsetEventtochange360bychangeSCOREbyifthenifthenelsechangeAirTimebyAirTime20>1001AirTime20-10/+floorof*changeSCOREby0setAirTimetoifthendead0=t15<t225>andt215<t25>andor1changeWheelieTimebyWheelieTime10>251WheelieTime10-10/+floorof*changeSCOREby0setWheelieTimetoifthenifthenelseifthenifthenelsesett2tosetttorepeat untilrepeat untilrepeat untilrepeat untilifthendefineMove PointlxlyisWheel?isWheel?pi1=GRAVITY0.002-changesybyGRAVITY0.003-changesybyifthenelseGRAVITYchangesybysxsyGet Touchingxytch_d-18>18x14/rounditemoflev_a-5*tch_dangsinof*0.1*tch_dangcosof*0.1*angcosof0angsinof-_Get Touchorig14t2t-14t*0sxsyt+tch_dsxsx*sysy*+sqrtof/isWheel?t0<nottch_d1.2*tch_dangsinof*tch_dangcosof*tch_d2>tch_d2-50*thump.mp3start soundset volume to%ifthenchangesybychangesxbysettch_dtodead0=Fuel0>andVehicle1=left arrowkeypressed?Wheel Accelerate0.02notright arrowkeypressed?Wheel Accelerate0.02ifthenifthenelsepi1=edit_idx0>orleft arrowkeypressed?Wheel Accelerate0.04notright arrowkeypressed?Wheel Accelerate0.04ifthenifthenelseifthenifthenelseifthenifthent0<nottch_d1.2*tch_dangsinof*tch_dangcosof*sx0.8*sy0.8*break neck0=1100crunch.mp3start soundset volume to%setbreak neckto1setHead Touchingtoifthensetsytosetsxtochangesybychangesxbysettch_dtoifthenonFloor0=sx0<0xlx-xlx-*yly-yly-*+sqrtof-setsatoxlx-xlx-*yly-yly-*+sqrtofsetsatoifthenelse0setonFloortoifthenelseifthenelsesetttosettv_ytosettv_xtochangeybychangexbysetangtochangetch_dby1isWheel?notifthenchangeonFloorbyx100+scroll_x7*+8/roundyscroll_y15*+16/roundx10<100.5setsxtosetxtoifthensetscroll_ytosetscroll_xtoifthenelsechangeybychangexbyifthenelsedefineAdd Rotation Forcedistdistabsof1>tv_xdist*sx5*+6/tv_ydist*sy5*+6/setsytosetsxtoifthendefine_Get Touchorigx2-x1y2-y1x2y1y2x1x0y0y2-y1x0*x2-x1y0*-x2y1y2x1-+tch_dy2-y1y2-y1*x2-x1x2-x1*+sqrtof/settch_dtosettch_dtodefineGet Touchingxyx14/rounditemoflev_dyx14/round1+itemoflev_dyx14/round14*_Get Touchorig14t2t-tch_d7+t*t2tch_d7-*xysettch_dtosett2tosetttodefineinitallallallRestore LevelVehicleConvert Track Codes to Bezier HeightsTranslate Heights to AnglesPopulate Level Coinsdeleteoflev_ydeleteoflev_adeleteoflev_dydefinePlot Bezierx1y1x2y2x3y3x4y40.2x4x1-/sxxx4<notGet Point on Béziert (0 to 1)x1y1x2y2x3y3x4y4sx2x2x<noty21changexbyaddtolev_dysxchangesx2byifthenrepeat untilsetsx2tosetsxtodefineGet Point on Béziert (0 to 1)x1y1x2y2x3y3x4y4t1t-t2t2t2**x1*3t2t2**tx2**+3t2*tt*x3**+tttx4***+t2t2t2**y1*3t2t2**ty2**+3t2*tt*y3**+ttty4***+sety2tosetx2tosett2todefinePopulate Level Coinsall0040x4800>1t3>0x14*xitemoflev_y98+fuel05changexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemssetttoVehicle2=x1000>andx14*xitemoflev_y98+coin_50004changexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemsx14*xitemoflev_y98+coin_10004x14*xitemoflev_y98+coin_2504x14*xitemoflev_y98+coin_504x14*xitemoflev_y98+coin_504x14*xitemoflev_y98+coin_5087changexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemschangexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemschangexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemschangexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemschangexbyaddtoitemsaddtoitemsaddtoitemsaddtoitemsifthenifthenchangetbyrepeat untilsetxtosetttosetnew items#todeleteofitemsdefine10initinitget rankCloudBest ScoreofinitCarrefresh0edit_idx0=break neck0>x490014*>or1changedeadbydead120>Fuel-1<orSCOREPersonal Best>SCOREsetPersonal Besttogame over menuresetPopulate Level CoinsinitCarbroadcastand waitbroadcastand waitifthenifthenifthen00100setSCOREtosetFueltosetbreak necktosetdeadtovkeypressed?Vehicle2mod1+resetinitget rankCloudBest ScoreofinitCarrefreshbroadcastand waitsetPersonal Besttobroadcastand waitbroadcastand waitsetVehicletorkeypressed?resetPopulate Level CoinsinitCarbroadcastand waitpkeypressed?pkeypressed?notpkeypressed?pkeypressed?notwait untilwait untilwait until0keypressed?edit_idx1=zkeypressed?orusernamegriffpatch=1editscroll_x14/roundsetedit_idxtoifthenifthenVehicle1=-0.013changeFuelby-0.01changeFuelby0tickAdjust Item Min and Max4itemofpointslsx-5*5itemofpointslsy-5*4itemofpoints5itemofpointsCount ACCELERATIONx acceleration1y acceleration+dirt0=not13pick randomto3<Dirtcreate clone ofifthentickbroadcastand waitifthensetlsytosetlsxtosety accelerationtosetx accelerationtosetHead Touchingtoifthenelseifthenifthenifthenifthenifthenelsesetdirttoforeverhidebroadcastand waitsetPersonal Besttobroadcastand waitbroadcastand waitsetedit_idxtosetVehicletowhenclickededitidxheight offset?answer =stopthis script1tlength oflevelBez>titemoflevelBezidx<notor2changetbytitemoflevelBezidx=ttdeleteoflevelBezdeleteoflevelBezanswerz=t2-t2-deleteoflevelBezdeleteoflevelBezanswerx=ttdeleteoflevelBezdeleteoflevelBezifthenifthenanswerz=answerx=ornottidx1+itemoflev_dyanswer+tidxt4+length oflevelBez>t2+idx1+itemoflev_dyanswer+replace itemofmpwithiftheninsertatoflevelBezinsertatoflevelBezallallall01itemoflevelBez2itemoflevelBez1Convert Track Codes to Bezier HeightsTranslate Heights to Anglesrefresh03t4+0t5+0t6+0t8+0PNT#changetbyreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithrepeatsetttobroadcastand waitsetttosetytosetxtosetnew items#todeleteoflev_ydeleteoflev_adeleteoflev_dyifthenifthenelserepeat untilsetttoifthenaskand waitdefineConvert Track Codes to Bezier Heightsall1titemoflevelBezt1+itemoflevelBezxy2tlength oflevelBez>titemoflevelBezt1+itemoflevelBezx0.6667*x20.3333*+y0.6667*y20.3333*+x20.6667*x0.3333*+y20.6667*y0.3333*+x2y2x2y22changetbysetytosetxtoaddtompaddtompaddtompaddtompaddtompaddtompsety2tosetx2to9tlength ofmp>t4-itemofmptitemofmp+t3-itemofmpt1+itemofmp+t2-x2/t1-y2/6changetbyreplace itemofmpwithreplace itemofmpwithsetytosetxto070tlength ofmp>Plot Beziert6-itemofmpt5-itemofmpt4-itemofmpt3-itemofmpt2-itemofmpt1-itemofmptitemofmpt1+itemofmp6changetbyalldeleteofmprepeat untilsetxtosetttosetlytorepeat untilsetttorepeat untilchangetbyaddtompaddtompsetytosetxtosetttodeleteofmpdefineTranslate Heights to Angles1itemoflev_dy2tlength oflev_dy>titemoflev_dyget directiony2y-14@Get Direction5/roundangabsof14>ang0>14setangto-14setangtoifthenelseang5*sinofang5*cosof/7*angt2y52-roundt2ty1changetbyreplace itemoflev_dywithchangeybyaddtolev_ychangeybyaddtolev_asett2toifthensetangtosety2torepeat untilsetttosetytodefineRotate Forcedirlyt2/dir*0lxt2/-dir*0lyt2/-dir*lxt2/dir*changesy2bychangesx2bychangesybychangesxbydefineget directionxyy0=0x<90set@Get Directionto270set@Get Directiontoifthenelse0y<xy/atanofset@Get Directionto180xy/atanof+set@Get DirectiontoifthenelseifthenelsedefineinitCar2014*x14/itemoflev_dy100+x100+0000008010000go90Vehicle1=Add Car52.56052.50.04setMaxRotSpeedtoAdd Car4068600.06setMaxRotSpeedto1item_minlength ofitems>item_minitemofitemsscroll_x260->or4changeitem_minbyitem_min0item_maxlength ofitems>item_maxitemofitemsscroll_x260+>oritem_max3+itemofitems0=1changenew items#by4changeitem_maxbyifthen-4changeitem_maxbyrepeat untilsetnew items#tosetitem_maxtorepeat untilsetitem_mintoifthenelsesetactual dirtosetEventtoset360tosetHead Touchingtosetbreak necktosetFueltosetSCOREtosetPNT#tosetWheelieTimetosetAirTimetosetsytosetsxtosetdeadtosetscroll_ytosetscroll_xtosetytosetxtodefine-0.06setGRAVITYto-0.06setGRAVITYtoAdd Pointxydxdyxydxdx*dydy*+sqrtof00000addtopointsaddtopointsaddtopointsaddtopointsaddtopointsaddtopointsaddtopointsaddtopointsdefineCount ACCELERATIONxyy0=0x<90setacceleration directionto270setacceleration directiontoifthenelse0y<xy/atanofsetacceleration directionto180xy/atanof+setacceleration directiontoifthenelsexx*yy*+sqrtofget directionPNT#1+itemofpoints1itemofpoints-PNT#2+itemofpoints2itemofpoints-@Get Directionactual dir-180+360mod180-Rotation Speed@Get Directionsetactual dirtochange360bysetRotation Speedtosetacceleration valuetoifthenelsedefineStore Levellevel #1 length oflevelBezt2titemoflevelBezround joinjoin1changetbysett2tolevel #length of_Levels>not addto_Levelslevel #t2replace itemof_Levelswithrepeat untilrepeatsett2tosetttodefinenotRestore Levellevel #alllevel #itemof_Levelst2 =0050000addtolevelBezaddtolevelBezaddtolevelBezaddtolevelBez1tt2length of> t2tletterof =xt2tletterofjoin1changetbysetxto1xaddtolevelBezchangetbyrepeat untilsetxtorepeat untilsetttoifthenelsesett2todeleteoflevelBezdefineRestore LevelVehicleStore LevelVehiclePopulate Level CoinsinitCarallallallalldeleteofitemsdeleteoflev_dydeleteoflev_ydeleteoflev_aWheel Acceleratemulleft?left?sa0<=saabsof6>saabsof10>0setAccForcetomul10saabsof-*setAccForcetoifthenelsemul4*setAccForcetoifthenelsemul6*setAccForcetoleft?0AccForce-setAccForcetotv_xAccForce*tv_yAccForce*pi1=tv_xAccForce*0<sx0>=saabsof4.5<orandleft?ang40+setdirttoang40-setdirttoifthenelseifthenchangesybychangesxbyifthenifthenelsedefinemul0<mul0<mul0<Add Carwhw2allAdd Pointxw-ywhAdd Pointxw2+yww2+0Add Pointxyh+w2hdeleteofpointsdefinetick3length ofpointsPNT#-1+lpipiitemofpointspi1+itemofpointspi3+itemofpointspi4+itemofpoints13piitemofpointspi1+itemofpointspi2+itemofpointspi3+itemofpointspi4+itemofpointspi7+itemofpointsx2x-y2y-lxlx*lyly*+sqrtoflpi1=lent2-len/0.3*damp0.6*-setttolent2-len/tch_d0.3>tch_d0.4*damp0.75*-setttotch_d0.15>tch_d0.3*damp0.75*-setttotch_d0.2*damp0.75*-setttoifthenelseifthenelsesettch_dtot0lxt*-0lyt*-lxt*lyt*lpi1=dead0=Fuel0>andandpi6+itemofpoints15>lpi6+itemofpoints15>left arrowkeypressed?Rotation Speed-2<Rotate Force-2.5MaxRotSpeed*Rotation Speed10<Rotate Force-1MaxRotSpeed*ifthenifthenelseright arrowkeypressed?Rotation Speed4>Rotate Force2.5MaxRotSpeed*Rotation Speed-10>Rotate ForceMaxRotSpeedifthenifthenelseifthenifthenelseifthenifthenlpix2lpi1+y2lpi3+sx2lpi4+sy2pi7+damppiPNT#xysxsysetsy2tosetsx2tosety2tosetx2tochangepibysetlpitoreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithifthenchangesy2bychangesx2bychangesybychangesxbysetdamptoifthenelsesett2tosetlytosetlxtosetdamptosetsytosetsxtosetlentosetytosetxtolpix2lpi1+y2lpi3+sx2lpi4+sy213piitemofpointspi1+itemofpointspi2+itemofpointspi3+itemofpointspi4+itemofpointspi5+itemofpointspi6+itemofpointsMove Pointxyedit_idx0>piPNT#2*<orpixpi1+ypi3+sxpi4+sypi5+sapi6+onFloorPNT#changepibyreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithsetonFloortosetsatosetsytosetsxtosetlentosetytosetxtorepeatsetpitoreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithreplace itemofpointswithrepeatsetpitosetsy2tosetsx2tosety2tosetx2tosetpitosetlpitorepeatdefineshow variablePersonal Bestwhenclickedt: 0 = no re…0 x 1 y 2 le…next backdrop25changecoloreffect by0setcoloreffect toclear graphic effectsbackdropnumberstop all sounds10changepitcheffect by100setpitcheffect toclear sound effects-10change volume by100set volume to%whenclickedwhenspacekey pressed10whenloudness>1waitseconds10repeatforeverifthenifthenelsewait untilrepeat untilWhat's your name?askand waitanswerspacekeypressed?mouse down?mouse xmouse yloudnesstimerreset timercurrentyeardays since 2000username  +  -  *  /110pick randomto 50> 50< 50=andornotapple bananajoin1appleletterofapplelength ofappleacontains?  mod round absof10movesteps15turndegrees15turndegreesrandom positiongo to00go to x:y:1random positionglidesecs to100glidesecs to x:y:90point in directionmouse-pointerpoint towards10change x by0set x to10change y by0set y toif on edge, bounceset rotation styleleft-rightx positiony positiondirectionHello!2sayforsecondsHello!sayHmm...2thinkforsecondsHmm...thinkballswitch costume tonext costumebackdrop1switch backdrop to10change size by100set size to%showhidego tofrontlayer1goforwardlayerscostumenumbersizecrunch.mp3play sounduntil donecrunch.mp3start soundvolumewhen this sprite clickedwhen backdrop switches tobackdrop1when I receivegame over menugame over menubroadcastgame over menubroadcastand waitstopallwhen I start as a clonemyselfcreate clone ofdelete this clonemouse-pointertouching? touching color?  coloris touching?mouse-pointerdistance toset drag modedraggableStagebackdrop #of@Get Direction☁ Cloud List☁ Cloud List2360acceleration directionacceleration valueAccForceactual dirAirTimeangbreak neckdampdeaddirtedit_idxEventFuelGRAVITYHead Touchingitem_maxitem_minlenlpilsxlsylxlyMaxRotSpeednew items#onFloorPersonal BestpiPNT#Rotation SpeedsasaySCOREscroll_xscroll_yspeedsxsx2sysy2tt2tch_dtv_xtv_yVehicleWheelieTimexx accelerationx2yy accelerationy20set@Get Directionto1change@Get Directionbyshow variable@Get Directionhide variable@Get Direction_Levelsitemslev_alev_dylev_ylevelBezmppointsthingaddto_Levels1deleteof_Levelsdelete all of_Levels1thinginsertatof_Levels1thingreplace itemof_Levelswith1itemof_Levelsthingitem # ofin_Levelslength of_Levelsthing_Levelscontains?show list_Levelshide list_Levels111111_Get Touchorig111Add Car1111Add Point1Add Rotation ForceAdjust Item Min and MaxConvert Track Codes to Bezier Heights11Count ACCELERATION1edit11get direction111111111Get Point on Béziert (0 to 1)11Get TouchinginitinitCar11Move Point11111111Plot BezierPopulate Level Coins1Restore Level1Rotate Force1Store LeveltickTranslate Heights to Angles1Wheel AccelerateMotionLooksSoundEventsControlSensingOperatorsVariablesMake a VariableMake a ListMy BlocksMake a Block
Backpack
Don't worry, we're on it
Switch to small stage
Switch to large stage
Enter full screen mode
0
7320
Cloud: 高分榜
1
24460 . . gordee
2
19560 . . raindrop57
3
17905 . . kbenjani
4
15205 . . hibyehobye
5
15165 . . jackelr
6
14985 . . mekizmo
7
14650 . . griffpatch
8
14290 . . dalearn
9
14115 . . sadie001
10
13855 . . alterway54
11
13345 . . interestsoul
12
13170 . . flyingblue
13
12665 . . gabplay
14
12625 . . zinfindel
15
12225 . . nklvguko
16
12070 . . dolphinman101
17
11995 . . dude_cool
18
11735 . . fruitbatty
19
11610 . . pakman10
20
11230 . . 4mathman
21
10840 . . theplatypuslord
Game
ground
car
soil
items
Message
event
Fuel
tyre3
tyre4
sound
Cloud
Level
Dirt
材质加工厂
封面
Stage
Backdrops
1