[Implemented] Future maintenance will be easier

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

I find it quite funny that some people say it is not possible to create games for Linux just because some commands are missing.
When I was first trying out the various graphic commands of PB I made a few games... http://www.reelmedia.org/lady
Then I downloaded the Linux version of PB just to try the crossplatform capabilities and wouldn't you know it, with very little tweeking I was able to compile and run my games under Linux.
If there was no cross compatability there, this certainly would not be possible !!

PB also offers compiler directives so you can very easily code in platform specific stuff if a command is missing.
It also makes sense to actually read through the Help file to see what commands work on what so you can do a little planning ahead of time, know what will work, and make the transition between platforms quite smooth.

All too often you hear people whine and complain about the tools they are using just so they never have to actually accomplish anything with them.
Pretty lame in my opinion :roll:
Image Image
aaron
Enthusiast
Enthusiast
Posts: 267
Joined: Mon Apr 19, 2004 3:04 am
Location: Canada
Contact:

Post by aaron »

Ok, now we are getting way off topic..... MacOS X is actually built on FreeBSD, not Linux at all. And I'd argue that OSX is a little more than just a pretty desktop environment, Shannara. :D

Also, to answer TheFool from above
and linux is anyway more attractive than macos, as it has much more users.
Personally for me, OS choice is based on what does the job for me. I could care less how many users it has. I ran linux for 7 years, FreeBSD for 1 and then finally ended up running WinXP (laptop isn't happy with *nix sadly) for the last year and bit. They've all done the job for me. I host a website on FreeBSD still though and run a FTP/SSh server at home here on Linux though. My wifes computer runs windows though and always had: she's japanese and its painful in *nix... the input editors really suck!)

That being said, if I had to choose to develop for Linux or MacOS, I'd choose OSX any day of the week. People running Macs are much more likely to buy software from the small guys (like me). If you start digging into Indie game sales, the Mac versions will outsell the PC versions 60 to 40. Linux versions will barely even register. I'd still offer Linux, but only because I want to encourage people to consider Linux.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Well Paul :) When games require Sprite3D, and it is missing, guess what? Awww.. no game..

Aaron: I knew something was off :) FreeBSD? Isnt that more secure then..... I used the Macintosh back in school for video production and photo editing. It was excellent back then (OS9), even though it required a reboot every 3 hours... Photoshop and Premier does those kind of things to an OS.

So I agree, it is more then a pretty desktop, it's excellent for Photo and Video editing, as well as audio and publishing. Now if the PB Mac version were to bypass Linux's pitfalls.... oOoOoOo
Randy Walker
Addict
Addict
Posts: 991
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Post by Randy Walker »

Paul wrote:I find it quite funny that some people say it is not possible to create games for Linux just because some commands are missing...
...All too often you hear people whine and complain about the tools they are using just so they never have to actually accomplish anything with them.
Sounds to me like Shannara has herself painted into a corner. Not as she would have it, but maybe you could illustrate an alternative approach to help her devise a new strategy. Is there a way to emulate sprite fucntionality in PBLinux?
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Well said Paul.
quidquid Latine dictum sit altum videtur
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Sprite, is implimented, Sprite3D is currently not, and that is needed for fast effects and such. You may be able to emulated it if you want to use the 3D engine for linux...

What corner?
Randy Walker
Addict
Addict
Posts: 991
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Post by Randy Walker »

Shannara wrote:What corner?
The "I can't do sprite3D in Linux" corner. I am assuming you already have functional code working in PBWindows and would like PBLinux to handle that same identical code.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Exactly :) Not really a corner, nothing have changed ;)
Randy Walker
Addict
Addict
Posts: 991
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Post by Randy Walker »

Paul wrote:PB also offers compiler directives so you can very easily code in platform specific stuff if a command is missing.
I'm still stuck with 16 bit GFA here so Windows 32 bit API's are my main incintive for switching to PB. PureBasic should also allow me to port my database code over from GFA without too much pain. Some of the people at the office want me to make my program Linux compatible so that was my 2nd incentive for going to PB. I'm hoping simple list boxes, text boxes and popups don't require too much "platform specific stuff" when I try to compile for Linux.

As you say... read and plan.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Post Reply