Qbasicnews.com

Full Version: Favorite References for BASIC, sound, and graphics?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Basic was the first language I learned
a long time ago. TRS-80, Apple ][+...

I have been intriged by the idea of
a basic compilier that works on both
windows and linux. This is going to be great!

I have been watching on the freeBasic forum, and
there are some things going on with the
BASIC language that I am unfamiliar.

I have experience programing. ( I can
program FORTRAN in any language Smile )
Seriously, what I am interested in are the
references/books that you as a community have
found most promising for BASIC/freeBasic, and the
various forms of graphics and sound, (opengl...etc),
that you have found useful with FB.

If I missed this question being answered elsewhere,
I do apologize for asking it again.

Thanks in advance.
just google SDL and openGL there already very well documented the only catch is all the example code is in C. but you should be able to get the basic idea of how some of this works.


if you looking for Freebasic tutorials on things like SDL, openGL , Fmod , ect then your in for a long wait FB is just to new for any tutorials like that to pop up.
There is no official, elaborate documents on fbc itself, on grafx and sound in fbc. Experience in other languages, especially in BASIC, can help you learning fbc. But I would like to think fbc is neither BASIC/QB nor C+QB, so I post questions in the forum everytime.
As for SDL, openGL, Fmod, the original tutorials are almost in C/C++, they may be helpful if you are used to C/C++, VB and windows programming, but not for newbies like me Sad
The best one I've found is SDL, I like it, and it's not too hard of a transition from QB to FB+SDL

I find OpenGL to be confusing, even though other people say it's really easy.

I guess it all comes down to taste, and how fast you can adapt/pick-up a new pogramming style/language.
Quote:Basic was the first language I learned
a long time ago. TRS-80, Apple ][+...
...
I have been watching on the freeBasic forum, and
there are some things going on with the
BASIC language that I am unfamiliar.
...
Seriously, what I am interested in are the
references/books that you as a community have
found most promising for BASIC/freeBasic, and the
various forms of graphics and sound, (opengl...etc),
that you have found useful with FB.

I began with the Apple][ and Integer Basic. That was quite some time ago...

If you are familiar with the QBasic language itself, then you have a good start. If you have not done a lot with QBasic then try any book and/or site dedicated to QBasic. After all, under the api calls and cross platform, freeBASIC is still trying to be as compatible with QBasic/QuickBASIC as possible.

After that, I would look at some VisualBASIC examples of calling DLLs and handling API calls directly, as the GUI designer stuff wouldn't really help...
...until the slowpokes working on a gui for fb get it into gear... Tongue

Finally, the C code and examples for some of the newer SDL, GL, etc. should work fairly well in getting an idea of the setup and flow as an API call pretty much works the same all around.
Quote:The best one I've found is SDL, I like it, and it's not too hard of a transition from QB to FB+SDL

I find OpenGL to be confusing, even though other people say it's really easy.

I guess it all comes down to taste, and how fast you can adapt/pick-up a new pogramming style/language.

These(SDL and OGL) two are very different anumals. Although both are multiplatform(shakes fists to M$) and does things via hardware(but sofware if not possible), SDL is a wrapper that makes is easier to make games while OpenGL uses a direct API call. Of course you can make your own wrapper but why would you when you can use *both* of them in one program.?