Demo - Cubes

Everything related to 3D programming
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Demo - Cubes

Post 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)
firace
Addict
Addict
Posts: 946
Joined: Wed Nov 09, 2011 8:58 am

Re: Demo - Cubes

Post 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!
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Demo - Cubes

Post by Kwai chang caine »

Very nice works perfectly here
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply