Page 2 of 2

Re: Demo - Cubes

Posted: Tue Oct 31, 2023 1:46 pm
by Fred
Just tested on OS X and it work only if add a threshold for the font picking, as there is a lot of anti-aliasing on the font (so it's rarely 0)

Code: Select all

 If Point(x, y) < $CCCCCC
You should also use WindowWidth()/Height() instead of DesktopWidth/Height

Code: Select all

 OpenWindowedScreen(WindowID(0), 10,10, WindowWidth(0)-20, WindowHeight(0)-20, #True, 0, 0)


(you also need to remove the BorderLess flag on OSX or the window doesn't maximize, will be fixed for next release)

Re: Demo - Cubes

Posted: Tue Oct 31, 2023 4:55 pm
by firace
Fred wrote: Tue Oct 31, 2023 1:46 pm Just tested on OS X and it work only if add a threshold for the font picking, as there is a lot of anti-aliasing on the font (so it's rarely 0)

Code: Select all

 If Point(x, y) < $CCCCCC
You should also use WindowWidth()/Height() instead of DesktopWidth/Height

Code: Select all

 OpenWindowedScreen(WindowID(0), 10,10, WindowWidth(0)-20, WindowHeight(0)-20, #True, 0, 0)


(you also need to remove the BorderLess flag on OSX or the window doesn't maximize, will be fixed for next release)
Thanks for the testing Fred!

Re: Demo - Cubes

Posted: Thu Nov 02, 2023 8:10 pm
by Kwai chang caine
Very nice works perfectly here
Thanks for sharing 8)