Page 1 of 1

What to use?

Posted: Wed Jul 08, 2009 7:05 am
by WarHampster
Hey everyone, I'm new to PureBasic but not to programming in general.

I've got a few questions:

Are PB's built in commands good enough to make an advanced 2d game (containing collisions, lots of scrolling, ect.), or would I be better off using some dll?

Is the PureBasic version of Ogre3d any good, or should I use something else?

What graphics dlls are recommended?

Thanks, WarHampster.

Posted: Wed Jul 08, 2009 11:04 am
by Kaeru Gaman
for 2D: PB is absolutely capable of anything you need.

scrolling normally is a question of altering display, not like years ago when you needed to read and rewrite pixels.
example for 2D Tilemap:
http://www.purebasic.fr/german/viewtopi ... 634#116634

the built-in pixel collision is as fast as can, but for most tasks it's better to use a coordinates calculation.
routines for collisions:
http://www.purebasic.fr/german/viewtopic.php?t=9093

for 3D:
the OGRE implementation is - sad to say - not at it's best.
but you can also use a lot of other 3D engines, for Irrlicht and DreaMotion there are free Wrappers,
and if you buy LeadWerks, a PureBasic Wrapper comes with it.

Posted: Wed Jul 08, 2009 5:40 pm
by Paul
All the games on this page were made using PB's built in commands...
http://reelmedia.org/hs/

Posted: Wed Jul 08, 2009 9:28 pm
by WarHampster
Alright, thanks.

Can PureBasic mix 3d stuff with 2d sprites well?

Posted: Thu Jul 09, 2009 3:57 am
by Rook Zimbabwe
WarHampster wrote:Alright, thanks.

Can PureBasic mix 3d stuff with 2d sprites well?
Yes, if you use BILLBOARDS to hold the sprites... Usually you would use 2D in 3D for somple effects that take less processor time like explosions etc.