SFML v2 with FreeBasic
SFML v2 with FreeBasic
Dear Gentlemen,
i'm looking for complete headers of SFML v2 for FreeBasic. FreeBasic is such a great language and SFML v2 a great GfxLib for 2D stuff.
But i coudn't find anything in the net!
Can you help me out with links, headers and/ or some tutorials, snippets, sources...?
Best regards and many thanx for your help in advance,
Equal
i'm looking for complete headers of SFML v2 for FreeBasic. FreeBasic is such a great language and SFML v2 a great GfxLib for 2D stuff.
But i coudn't find anything in the net!
Can you help me out with links, headers and/ or some tutorials, snippets, sources...?
Best regards and many thanx for your help in advance,
Equal
Re: SFML v2 with FreeBasic
Here is a thread about it from long ago. Not sure if any of the links are going to work, but its a place to start.
Pro Tip: Use google to search for things like this. Search "freebasic SFML".
Pro Tip: Use google to search for things like this. Search "freebasic SFML".
Re: SFML v2 with FreeBasic
@Sancho3
I used Dr.Google but i found nothing concerning SFML version 2.
And the thread you posted is about SFML version 1.4.
In the net i only found incomplete headers of a SFML v2 port ==> CSFML v2 for FreeBasic!
So i hoped the community knows more ad could possibly help me!
Best regards,
Equal
I used Dr.Google but i found nothing concerning SFML version 2.
And the thread you posted is about SFML version 1.4.
In the net i only found incomplete headers of a SFML v2 port ==> CSFML v2 for FreeBasic!
So i hoped the community knows more ad could possibly help me!
Best regards,
Equal
Re: SFML v2 with FreeBasic
I counted 78 c header files in https://github.com/SFML/CSFML
That quite some work to convert to freebasic .bi files, I think.
That quite some work to convert to freebasic .bi files, I think.
Re: SFML v2 with FreeBasic
@badidea
Yes, that's right what you say, here is the beginning:
https://github.com/seanhaydongriffin/FB-CSFML-V2
But somebody told me that these headers are incomplete?!
I'm not able to appreciate this statement!
Best regards,
Equal
Yes, that's right what you say, here is the beginning:
https://github.com/seanhaydongriffin/FB-CSFML-V2
But somebody told me that these headers are incomplete?!
I'm not able to appreciate this statement!
Best regards,
Equal
Re: SFML v2 with FreeBasic
I'm no expert on this, but it looks that 'seanhaydongriffin' started converting 1 header file and decided that the other 77 files was too much work :-)
This SDL2 an alternative for you? You can find more info on that in this forum (including people complaining about examples not working). SDL2 probably is a better match for freebasic as the library it is written in C instead of C++.
This SDL2 an alternative for you? You can find more info on that in this forum (including people complaining about examples not working). SDL2 probably is a better match for freebasic as the library it is written in C instead of C++.
Re: SFML v2 with FreeBasic
Hi Equal. Welcome to the forum.Equal wrote:...
Can you help me out with links, headers and/ or some tutorials, snippets, sources...?
...
See if this helps: https://github.com/seanhaydongriffin/FB-CSFML-V2. It seems to me that's a work in progress, but perhaps it could serve as a starting point.
If that doesn't help, I'll give it a go, as it looks like a very interesting lib, and also includes static bindings (so you don't need to distribute a crapton of DLLs with your code). However, you'll have to wait, as I'm juggling far too much stuff at the moment.
See you later.
Re: SFML v2 with FreeBasic
Hi, there is:
CSFML-Audio by D.J.Peters, in Libraries Sub-Forum. Maybe a starting point ...
CSFML-Audio by D.J.Peters, in Libraries Sub-Forum. Maybe a starting point ...
Re: SFML v2 with FreeBasic
Hi,
thanx for your fas replies and yes SDL2 seems to be an alternative.
The SFML2 audio headers seem to be finished (MrSwiss found out )and the gfx headers are perhaps a work in progress like paul doe mentioned
Perhaps the SFML2 headers will be finished soon.
Best regards and again thanx a lot for your help,
Equal
thanx for your fas replies and yes SDL2 seems to be an alternative.
The SFML2 audio headers seem to be finished (MrSwiss found out )and the gfx headers are perhaps a work in progress like paul doe mentioned
Perhaps the SFML2 headers will be finished soon.
Best regards and again thanx a lot for your help,
Equal
Re: SFML v2 with FreeBasic
Oh, I totally missed that, thanks.MrSwiss wrote:Hi, there is:
CSFML-Audio by D.J.Peters, in Libraries Sub-Forum. Maybe a starting point ...
So, Joshy is working on this one? In that case, perhaps we should use that instead (lest we end up with duplicated work). I translated the bulk of the headers (of SFML 2.4) yesterday with the help of fbfrog. Most of the declarations don't get translated but they are pretty straightforward. However, there are several so this could take me a little more time.
@Equal: I have to tell you that the library is pretty meh, however. Nothing you can't do with FreeBasic alone (there are many examples of how to do the things the library does, scattered through the forum)
Re: SFML v2 with FreeBasic
Turns out they already are. Look here: FB SFML V2Equal wrote:...Perhaps the SFML2 headers will be finished soon...
Re: SFML v2 with FreeBasic
That guy never sleeps or can write code while sleeping :-)
edit:
edit:
Code: Select all
while(sleep(1,1) = false) or sleep(0,0): ? "coding": wend
Last edited by badidea on May 08, 2018 18:55, edited 2 times in total.
Re: SFML v2 with FreeBasic
Hahaha indeed =Dbadidea wrote:That guy never sleeps or can write code while sleeping :-)
Re: SFML v2 with FreeBasic
@Paul Doe
Best regards and many thanx for your help,
Equal
What's the meaning of meh,Sir?...pretty meh
That's really cool!Turns out they already are. Look here: FB SFML V2
Best regards and many thanx for your help,
Equal
Re: SFML v2 with FreeBasic
Something unimpressive, or something boring. But that's a matter of taste, mind you =DEqual wrote:@Paul DoeWhat's the meaning of meh,Sir?...pretty meh