0 Members and 1 Guest are viewing this topic.
"Text"->Str10->X 40->V While V //While it has some velocityText(X/8,Y,Str1) //We'll use *8 precisionV-1->V+X->X //Decrease velocity by 1 and add it to the positionEnd
Rect(x,y,w,h)RectI(x+1,y+1,w-2,h-2)Rect(x,y,w,h)^^rRectI(x+2,y+2,w-4,h-4
Rect(x,y,w,h)RectI(x+2,y+2,w-4,h-4)Pxl-off(x,y)Pxl-off(x+w,y)Pxl-off(x,y+h)Pxl-off(x+w,y+h)
.Let's pretend that the fontset is stored in Pic1Lbl W //write routine, arguments are x, y and pointer to textFor(E,0,length(r3)-1) //For the length of the wordPt-On(E*8+r1,r2,{r3+E}-$41*8+Pic1) //Take value of text character and use it to draw the letter.End
Wow, nice tutorial, squidgetx.The only thing I don't understand is the dollar sign in the Pt-On()-Function in the last example. Is this new to axe in 1.0.x, in which menu can I get it, or is it just a typing mistake?