Page 2 of 2

Re: Ready for primetime?

Posted: Sun Sep 12, 2010 4:11 pm
by dhouston
Some three weeks (of part-time effort) after starting with my Mac Mini, I have my app running under Windows, Linux and OSX. There were 2-3 issues (as there had been with Windows and Linux) but all have been resolved with input from other users and with an OSX API function graciously provided by freak.

So, my answer to my question is - YES! the OSX version of PB is definitely ready for primetime. I am tickled pink. :D

Re: Ready for primetime?

Posted: Sun Sep 12, 2010 7:50 pm
by Vera
congradulations & good luck Image

Re: Ready for primetime?

Posted: Mon Sep 13, 2010 9:11 am
by Fred
Thanks for the feedback :)

Re: Ready for primetime?

Posted: Wed Sep 15, 2010 12:46 pm
by Niffo
I just discover this thread and i can confirm that since few versions PB is "ready for primetime" for MacOX.

For information, we are working on a multi-platform (Windows, MacOS) application that counts more than 50000 lines in wich less than 1000 lines are platform dependent (OS API). You can see some (outdated :( ) screenshots on the website : http://sweetlight-controller.com/english/home.html

Re: Ready for primetime?

Posted: Sat Oct 23, 2010 10:56 pm
by OrangeJuice
I would say that strongly depends on what you are trying to do. I wanted to write a level editor for the game engine I'm working on. It is impossible IMHO to do that in an acceptable manner for mutiple platforms. A major problem is the fact that you have no way of getting events you would require windows constants for, like #WM_MOUSEMOVE, #WM_LMB, etc.

If your GUI consists only of PB gui components that is fine, but if you drawing part of your Window yourself i would stay away.
You could of course use an Screen, but that doesn't play nice with GUI and it would make for a very sucky aplication. You would have to have your own GUI functionality on a very high level (you can get away with an game gui that basically only is comprised of menues but that isn't much of a model for a gui app) and you couldn't resize your windows without reloading all your assets.

So my opinion: not ready for primetime, except for apps that only need a trivial gui.

Re: Ready for primetime?

Posted: Sat Oct 23, 2010 11:44 pm
by dhouston
As I neither program nor play games, my GUI is very straightforward - there were links to my user manuals earlier in the thread. Also, as I noted earlier in the thread, porting my code to OSX (Intel) went very well.

However, the same code, which runs under Windows, Linux and OSX (Intel), crashes under OSX (PPC) and, so far, I'm clueless as to the cause.

Re: Ready for primetime?

Posted: Sun Oct 24, 2010 10:13 am
by Niffo
OrangeJuice wrote: A major problem is the fact that you have no way of getting events you would require windows constants for, like #WM_MOUSEMOVE, #WM_LMB, etc.
...
If your GUI consists only of PB gui components that is fine, but if you drawing part of your Window yourself i would stay away.
To do that, you have to use the OS API. That's true on Linux, MacOS and EVEN Windows : "#WM_MOUSEMOVE" is part of Windows API.
Waiting PB integrates a complete event management (may be one day ?), you have to use GTK API under Linux and Carbon API under MacOS.
For MacOS, you can find an example here :
http://www.purebasic.fr/english/viewtop ... 83#p285283