Croos-platform?
-
- Enthusiast
- Posts: 121
- Joined: Fri May 28, 2004 4:16 pm
- Location: Madeira Island, Portugal
- Contact:
Croos-platform?
Hello, i am thinking in creating a game (program is the right word) to make you able to play, by email, a new chess variant i created a few months ago.
I think the variant is very good and people will like it, so i want to make a program for people play by email. Right now i will not make any engine to play against the CPU, it will be hard work because the variant is complex. So i just want to make a program to make using email, turn-based.
My big question is ... do you think it really matters if i make it cross-platform (win, mac and linux)?
I think it would be great doing it crossplatform ... but it is worth doing that?
thanks for your help
I think the variant is very good and people will like it, so i want to make a program for people play by email. Right now i will not make any engine to play against the CPU, it will be hard work because the variant is complex. So i just want to make a program to make using email, turn-based.
My big question is ... do you think it really matters if i make it cross-platform (win, mac and linux)?
I think it would be great doing it crossplatform ... but it is worth doing that?
thanks for your help
Last edited by Kaisen2100 on Mon Jan 19, 2009 1:13 am, edited 1 time in total.
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
-
- Enthusiast
- Posts: 121
- Joined: Fri May 28, 2004 4:16 pm
- Location: Madeira Island, Portugal
- Contact:
no more comments lol?
thanks
thanks
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
-
- Enthusiast
- Posts: 121
- Joined: Fri May 28, 2004 4:16 pm
- Location: Madeira Island, Portugal
- Contact:
purebasic some commands that i cant use in mac / linux 

PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
There are some commands that can only be used on a certain platform, such as DrawAlphaImage, which is only available on Win32, and WebGadgetPath which is only required on Linux. From what I can see in the help file, under the "Platform-dependant Functions" section, most, if not all of the commands, will do nothing, map to another command, or return 0 if you use them on a platform on which they are not supported.
The majority of PB commands, however, are cross-platform.
The majority of PB commands, however, are cross-platform.
Still, it would be nice to have the same behaviour on all platforms without having to make changes/exceptions in your source. Surely alpha is supported on these other platforms since my BlitzMax programs that use alpha work just fine there, so what's the reason for the non-support of alpha commands?
It would be helpful, and kind of nice too, if the IDE offered the option of indicating which parts of your code would only work on specific OSes: For example by placing a W for windows supported, L for Linux supported and/or M for Mac supported (heck, even A for Amiga...) in the column to the left of each line, or just scan the code before compilation and flag the incompatible/unsupported ones or show a command underlined if it doesn't meet the criteria your looking for (set in options of course).
Anyway, for true cross-development the command discrepancy is kind of a pain to keep track of during development...
Russell
It would be helpful, and kind of nice too, if the IDE offered the option of indicating which parts of your code would only work on specific OSes: For example by placing a W for windows supported, L for Linux supported and/or M for Mac supported (heck, even A for Amiga...) in the column to the left of each line, or just scan the code before compilation and flag the incompatible/unsupported ones or show a command underlined if it doesn't meet the criteria your looking for (set in options of course).
Anyway, for true cross-development the command discrepancy is kind of a pain to keep track of during development...
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
freak wrote:Its the normal SDL window embedded into the Gtk one. Its quite a hack but it seems to work.Cpl.Bator wrote:Sorry , it's work fine now , great freak !
What is it ? GtkGlext , gtkglarea ?

example :
PB420 : http://flaith.free.fr/public/games/inva ... vaders_420
PB430 : http://flaith.free.fr/public/games/inva ... vaders_430
compiled with the same source without changes
“Fear is a reaction. Courage is a decision.” - WC
Re: Croos-platform?
if your game is played by email, why do you need cross-platform? I mean, if your program receives and sends the players' moves via email, it shouldn't matter the platform the server is on - and the client programs would already be the players' email clients...Kaisen2100 wrote:Hello, i am thinking in creating a game (program is the right word) to make you able to play, by email, ...
there is no sig, only zuul (and the following disclaimer)
WARNING: may be talking out of his hat
WARNING: may be talking out of his hat
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
i've just added more info on my previous bugreport here :freak wrote:Did you file a bugreport about this ?
I actually didn't work on the input stuff, so Fred has to check that.
http://www.purebasic.fr/english/viewtop ... 227#271227
thanks

“Fear is a reaction. Courage is a decision.” - WC