SDL for windows instead of DirectX

Got an idea for enhancing PureBasic? New command(s) you'd like to see?

SDL for windows ?

Sure!
7
18%
Sure!
7
18%
No (I don't plan games for Linux)
1
3%
No (I don't plan games for Linux)
1
3%
No
7
18%
No
7
18%
Who cares ....
5
13%
Who cares ....
5
13%
 
Total votes: 40

Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

SDL for windows instead of DirectX

Post by Num3 »

The 2D Games Libraries uses DirectX under windows.

I believe it is important this library to work the same way under Windows and Linux.

What is your opinion?
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Post by plouf »

as long as the purebasic level is the same (openscreen() displaysprite() etc) are the same i see no reason to change !?
Christos
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

I don't use Linux, so I can't say. Windows Rocks :twisted: (justing getting a rise out of linux fans :lol: )
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Sorry but I don't understand the question.

PureBasic uses DirectX for Windows and SDL for Linux.
All Drawing commands are (or should be) transparent.
This means: as long you use official PureBasic commands you don't have to care how a function interacts with the OS.

Besides you can already use SDL for Windows now. A year ago I coded some stuff for it, and it seemed to work OK - but I didn't see any advantages to do it this way. Only more work...

Maybe you could explain better what you mean. :wink:

I am to provide the public with beneficial shocks.
Alfred Hitshock
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

Post by scurrier »

windows should use whats native to it. not try to make it conform to a linux world. that will just cause problems in coding. just the same this linux way should stay the same. why try to change the way an OS handles things in it's native way thats just asking for trouble. you can still make the same commands function the same way under 2 different compilers. and i have played DX games on linux and they don't look the same. can't realy make a comercial game that dosn't look right now can you.

thats my 2 cents worth


Sean
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

As fsw say; you can use however, SDL.dll functions in windows. :)
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

DirectX has to be the way to go :)

As long as the commands are the same, who cares what the compiler does with them ? As long as it's the fastest way......
Paid up PB User !
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

Ahhh but which version of dx would that be, 7, 8, 8.1 or 9? (is there now a 9.1?). I'm not getting dragged into this discussion but no matter what the merits of dx, if it's driven by marketing it's a load of **** (<< put your own ending in :wink: ). And who here owns an expensive (for the ave person) gfx card that is not compatible with dx9? Bet if you do then the card is only 12-18 months old but you now feel the urge to replace that "old fashioned piece of crap"??? :twisted:
Post Reply