Markus
If i remember u use as base Wong/or Wang basic ..right and you made few
cool examples which work well in AllegroBasic as i remember.
that is why I asking.
Hi Aurel,
yes that is correct. I am using My-BASIC from Tony Wang (Github Link).
I also use that for RetroBASIC which will be compatible to AllegroBASIC but uses SDL2. (And will have a few built-in fonts...)
Sorry, no download of examples.
Do you mean something like:
' ported from a SmallBASIC example
screen (1024,960,"Spiral")
KEY_ESC = 27
cx = screenwidth/2
cy = screenheight/2
pi=3.141
setfps (120)
do
cls
key=getkey
size = 1
radius = .06
angle = sangle
cls
While radius < 400
x = cos(angle) * radius
y = sin(angle) * radius
r2 = (x ^ 2 + y ^ 2) ^ .5
size = 4 * r2 ^ .25
For r = size to 1 step - 2
cc = 160 + 95 * radius/400 - r/size*120
ink (cc, cc, cc)
fillcircle (cx + x, cy + y, r)
Next
angle =angle - .4
radius =radius + 1
Wend
sangle = sangle + pi/360
sync
until key=KEY_ESC
Yes, RetroBASIC works on macOS, too.
I'm sorry to interrupt the conversation. Maybe it is late. There are still 50 hours before the deadline of the voting period. You and Cybermonkey24 are very welcome to come to play and rate the entries of this competition: https://itch.io/jam/jam-for-all-basic-dialects-4/entries