Development goes on. ⚡️👟QB64 v2.0.2 released! 🤩🤩🤩🤩Get it now!
0 Members and 1 Guest are viewing this topic.
Hi here is a program made by me ,Ed Davis translated to QB64...but i don't know how to get proper effect ?I am using SWAP function in my interpreter so...is there something similar in QB64...i hope that B+ have solution(option)....Code: QB64: [Select]'Translated from: maya_motor in micro(A)SCREEN _NEWIMAGE(600, 600, 32)color _rgb(200,220,250), _rgb(0, 0, 0)pi = 3.14level = 300 : angle = 0x1=200 : y1=200 for n = 0 to 1999 angle = angle - 20 for i = 1 to 99 d=9 x2 = x1 + cos(angle/d) * (d*10) y2 = y1 + sin(angle*d) * (d*10) rr=200-d*10 : gg=190-d : bb= 220 color _rgb(rr,gg,bb) 'Line x2,y2,x1,y1 circle (x2,y2),d angle = angle + 20 d=d-1 _delay .01 nextnext
What is it you want it to do? Swap what?
The QB64 _DISPLAY statement can also be used to stop screen flicker without page flipping or CLS and is the recommended practice.