Ready for primetime?

Mac OSX specific forum
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: Ready for primetime?

Post 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
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Ready for primetime?

Post by Vera »

congradulations & good luck Image
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Ready for primetime?

Post by Fred »

Thanks for the feedback :)
Niffo
Enthusiast
Enthusiast
Posts: 504
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Re: Ready for primetime?

Post 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
Niffo
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Re: Ready for primetime?

Post 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.
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: Ready for primetime?

Post 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.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Niffo
Enthusiast
Enthusiast
Posts: 504
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Re: Ready for primetime?

Post 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
Niffo
Post Reply