Weekly Qbasic and Qb64 Lesson Topics
October 12, 2024, 06:11:29 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

What is SFML and .h file

Pages: [1]
  Print  
Author Topic: What is SFML and .h file  (Read 749 times)
659_minifly
Guest
« on: June 26, 2011, 03:13:11 am »

I have an foggy idea of what is SFML. So if someone can explain.

What is SFML
What can we do with it
What need in QB64 for programming with SFML.
------------------------------------------------------------
What is the purpose of the .h file

Why do we need them for using SFML
How to program them
Report Spam   Logged

Share on Facebook Share on Twitter

Unseen Machine
Post Demos
*
Posts: 46


« Reply #1 on: June 26, 2011, 07:56:58 pm »

What is SFML

A C++ Library _ Basically a Object Orientated version of SDL.

What can we do with it

OpenGL, Gamepad, Mouse, Keyboard, Microphone, etc...

What need in QB64 for programming with SFML.

SFML Package for QB64 : http://dl.dropbox.com/u/8822351/SFML.rar
An audio wrapper for SFML : http://dl.dropbox.com/u/8822351/SFML_Audio.zip
An OpenGL wrapper for SFML : http://dl.dropbox.com/u/8822351/GL_Wrapper.rar
Screen shot of what you can do with it if you work REALLY hard!  Wink http://dl.dropbox.com/u/8822351/OBJ_MTL.PNG
What is the purpose of the .h file

To use SFML you have to use a external C++ library and then use DECLARE LIBRARY in QB64 to use the functions you create. The .h file is the file that contains the C++ code.

How to program them  

Tell me what you want to code and i will happilty help as best i can.

Unseen
Report Spam   Logged
659_minifly
Guest
« Reply #2 on: June 26, 2011, 11:16:26 pm »

@Unseen

Thanks for your answer.

About .h file

They are write in C++.
Does it mean that we can write c++ programs by the way of .h file in QB64.
Report Spam   Logged
Unseen Machine
Post Demos
*
Posts: 46


« Reply #3 on: June 27, 2011, 06:53:21 am »

Yes and no. Currently only the windows version of Qb64 supports DECLARE LIBRARY/DECALRE DYNAMIC LIBRARY. Have a look in the Library discussion area at QB64 forums http://www.qb64.net/forum/index.php?board=18.0, you should get a good idea of what you can do from all that lot. I'm happy to help if i can though.

John
Report Spam   Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy