Here is a BooBoo 'Hello World', it fills the screen with randomly changing ones and zeroes:
Code:
number ffont_load f "vga.ttf" 32 0number fwnumber fhfont_height f fhfont_width f fw "0"function draw{number colsnumber rows= cols (+ 1 (/ 640 fw))= rows (+ 1 (/ 360 fh))number xnumber yfor y 0 (< y rows) 1 next_yfor x 0 (< x cols) 1 next_xnumber dxnumber dy= dx (* x fw)= dy (* y fh)number rstring crand r 0 1if (== r 0) c_zero c_one= c "0":c_zero= c "1":c_onefont_draw f 32 32 32 255 c dx dy:next_x:next_y}
Statistics: Posted by skinmarquee — Mon Jan 22, 2024 5:37 am