How easy is PureBasic to learn for game programming?
-
- User
- Posts: 50
- Joined: Fri Apr 25, 2003 7:21 pm
- Location: The World is my country, all mankind are my brethren, and to do good is my religion.
- Contact:
Don't forget about pointers, dll's, easy access to the win32 api.MadMax wrote:PB is perfect for any kind of 2D game, Blitz3D is very good as well.
I prefer PureBasic for the following:
-nice small executables.
-wonderful "Linked Lists"
-easy to mix 2D with 3D.
-Static, Protected, Shared variables in procedures make it very easy to make reusable code.
-fun flexible language to use.
-great comunity, loads of source around, people like to help.
-a growing language that gets better with every update.
-I could go on and on.
But my advice is download demos and try before you buy. One man's food can be another one's poison.
and multi-threading.
-Jim
i can help you with a hello world example...


( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
hi
I'm new here and i'm interesting in 2D game development with some 3D capabilities,because it's nice topic for beginers I gonna ask here,
firstly
sorry for my english it's not my native language and Im just begin to learnt
secondly
some members wrote here that PB has own 3D engine so my first question is
>what API suport this engine(OpenGL,Directx)
>does PB support SDL or Allegro game lib
>does PB support OpenGL or Directx
>is possible cross platform game developing in PB
[linux/unix;windows;apple(macintosh)]
I'm new here and i'm interesting in 2D game development with some 3D capabilities,because it's nice topic for beginers I gonna ask here,
firstly
sorry for my english it's not my native language and Im just begin to learnt
secondly
some members wrote here that PB has own 3D engine so my first question is
>what API suport this engine(OpenGL,Directx)
>does PB support SDL or Allegro game lib
>does PB support OpenGL or Directx
>is possible cross platform game developing in PB
[linux/unix;windows;apple(macintosh)]
Hi 22.
I'll try to answer a few of your questions.
The engine in itself supports both OpenGL and DirectX, though I believe PB uses the DirectX .version'.
Sadly the implementation of this engine in PB is still in it's early stages.
Fortunately, this is infact what's next on the PB team's TODO list..
I don't think PB officially supports any other game-libraries, but it's quite possible that you can write a wrapper/importer for it.
AFAIK, there is a Mac version in the works though...
I'll try to answer a few of your questions.
The 3D engine currently used in PB is called OGRE ( www.ogre3d.org ).22 wrote: some members wrote here that PB has own 3D engine so my first question is
>what API suport this engine(OpenGL,Directx)
The engine in itself supports both OpenGL and DirectX, though I believe PB uses the DirectX .version'.
Sadly the implementation of this engine in PB is still in it's early stages.
Fortunately, this is infact what's next on the PB team's TODO list..

PB uses SDL and GTK+ for the Linux version.22 wrote: >does PB support SDL or Allegro game lib
I don't think PB officially supports any other game-libraries, but it's quite possible that you can write a wrapper/importer for it.
The Windows version of PB is based on DirectX22 wrote: >does PB support OpenGL or Directx
There are versions of PB currently for windows, Linux and Amiga.22 wrote: >is possible cross platform game developing in PB
[linux/unix;windows;apple(macintosh)]
AFAIK, there is a Mac version in the works though...

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
here is the start of a 2D game that I turned into a tutorial.
not sure if it will work with the demo if not i can get a copy of
the .EXE for you to try.
it is fully commented and should be easy to read.
let me know what you think, all the graphics and sounds are in the zip
file
http://www.3dcurrman.com/tutorial.htm
have fun
Sean
not sure if it will work with the demo if not i can get a copy of
the .EXE for you to try.
it is fully commented and should be easy to read.
let me know what you think, all the graphics and sounds are in the zip
file
http://www.3dcurrman.com/tutorial.htm
have fun
Sean