Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / Pure Basic - Nice for 2D/3D Games?

Author
Message
Hell Dragon
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location: UK
Posted: 31st Oct 2005 02:12
Hi, I want to know if Pure Basic can make nice 2D Games(like play basic) and great 3d games(like dark basic)

Thank You!

DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 31st Oct 2005 07:59
I've used PureBASIC for almost a year by now, and I can tell you DarkBASIC (even Classic) totally owns the PureBASIC 3D way of programming.

3D:

PB uses a kinda-interpreted version of OGRE (I mean it doesn't uses it "raw", but it has its own way to handle it - kinda like DB with DirectX). The commands were wannabe-easy for the programmer but they aren't yet... still need work. It's a bit more advanced than DB in the sense you can use OpenGL, DirectX, Irrlicht 3D Engine and lots of wrappers for them, and do stuff that DB Classic can't (but can't do stuff that DBPro can ) but isn't the same - get Blitz3D then... but DB pwns it too .

DB Classic & Professional are DirectX wrappers and their programming is WAY easier than in PureBASIC, doesn't use the OGRE 3D engine and they're the best option for 3D programming. DB Pro has the functions that PB can do and can't do too, such as it can handle the program in a window with less bugs and stuff than DB Classic AND it allows to use buttons, frames, text fields, basically windows stuff inside the 3D screen - something I haven't seen PB able to do yet. Also I've seen some tweaking made in DBPro apps to make games using OpenGL instead of DirectX... which shows how expandable is DBPro - even if it's tweaking the engine a bit ^^.

2D:

This time PB owns, its way of programming 2D games is really easy (of course by using PB-made DirectX wrappers). You can also access the DirectX 7 directly and use alpha transparency, blending effects, etc. But some things are harder to do (uselessly, 'cause it could have been done in another way that somehow the PB makers didn't added functionality / commands to do so) such as getting the FPS (which I consider hard) and other simple stuff.

DB Classic has its downs on this: It has some nice (but basic) 2D functions but aren't as good as to make, let's say, a Final Fantasy 5. It's POSSIBLE, but really hard with the limited 2D functions it has. DB Professional improved on this, but both DB are focused more in 3D than in 2D game creation.

Conclusion: If you want to make the latest 2D hit (a Diablo II clone... or something similar) get PB... BUT if you want to make awesome 3D games using shaders, bump & reflection mapping, ability to use X, 3DS, MDL/MD2 models, BSP maps, simple & easy collision (using Nuclear Glory - cheap) and using a really easy programming language get DarkBASIC... it's the best thing you can do .

Hell Dragon
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location: UK
Posted: 1st Nov 2005 22:56
If I use the PB_Irrlicht.dll (open source 3D engine, don't remember the website) engine?

IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 1st Nov 2005 23:18
irrlicht? http://www.irrlicht.sf.net


amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb,xp pro sp2
Hell Dragon
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location: UK
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 2nd Nov 2005 06:20
I've seen wrappers for that in PB code samples (the code archive... shouldn't be hard for you to find ) so yes it's possible - take in note though: Not as easy as DB

Sebe
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: Munich
Posted: 10th Nov 2005 00:56
Well just wait till the Coldsteel Enginge will finally be released (http://www.coldsteelengine.com). It works with PureBasic (and BlitzMax, Blitz3D, C++, etc.) and provides the latest stuff of 3D. Together with PureBasic (which is fast, stable and flexible) this will simply rock. Or wait for the upcoming Cobra (http://www.codersworkshop.com/viewproduct.php?id=24) if you prefer something like a 'modern' Blitz3D. It's not released yet though (it should be released before the end of the year).

Login to post a reply

Server time is: 2025-05-22 03:36:25
Your offset time is: 2025-05-22 03:36:25