roller coaster
-
-
The code, for those that are interested
img = createimage(128,128,0,0) col = [] col[1] = {29/255, 43/255, 83/255,1} col[13] = {131/255, 118/255, 156/255, 1} col[8] = {1,0,77/255,1} col[10]={131/255, 118/255, 156/255, 1} radians(true) textSize(10) _t = 18 p=0 loop cls(1)p=p+2 if p>200 then p=-10 _t=4+rnd(40) endif for x=0 to 128 loop r=64+12*sin(x/_t) plot(x,r,col[13]) if (x%8)<1 then line({x,r},{x,96},col[13]) endif repeat for t=0 to 7 loop u=p-t*8 r1=64+12*sin(u/_t) r2=64+12*sin((u-2)/_t) c(u,r1-4,3,8) line({u-2,r1-6},{u-2,r1-9},col[10]) c(u,r1-4,3,8) c(u-2,r2-4,3,8) repeat f() repeat function c(_x,_y,_r,_c)circle(_x,_y,_r,32,col[_c],0) return void function cls(_c)clear(col[_c])return void function f() setdrawtarget(framebuffer) clear() drawimageex(img, {gWidth()/2, gHeight()/2},0,{gWidth()/128,gHeight()/128}) update() setdrawtarget(img) return void
formatted especially for Dave
-
This is now available as a community share code - LOLDUDEZ11
-
@MikeDX Can the fuze team make custom codes?
-
@LinkCraft02 said in roller coaster:
@MikeDX Can the fuze team make custom codes?
Yes, and if you enter the game jam at the weekend you could win one :)
-
You should sell them (DLC)
-