Search found 610 matches

by h4tt3n
Jul 12, 2017 5:05
Forum: Game Dev
Topic: Liquidish 3d Terrain
Replies: 6
Views: 395

Re: Liquidish 3d Terrain

Ah, these are nice! Reminds me of a 2d elastic grid I made way back. There's something to work on with your rope sim in that code :-) Cheers, Mike '******************************************************************************' ' ' Michael "h4tt3n" Nissen, November 2009 - edited july 2017 ...
by h4tt3n
May 02, 2017 3:28
Forum: Projects
Topic: Vote for Toad On Fire on Steam Greenlight!
Replies: 42
Views: 2523

Re: Vote for Toad On Fire on Steam Greenlight!

Please do keep on the good work! As Boromir says, it's very inspiring - I think most people would like to achieve a nice project like this, but not all (so far, including myself) will put in the effort to reach it. Also, I found it pretty cool of you to share your entire game project including sourc...
by h4tt3n
Apr 02, 2017 14:40
Forum: Libraries
Topic: Advice needed with DevIL / OpenIL image library
Replies: 2
Views: 350

Re: Advice needed with DevIL / OpenIL image library

I'll take a look at it and leave this other mess alone.
by h4tt3n
Apr 01, 2017 11:21
Forum: Libraries
Topic: Advice needed with DevIL / OpenIL image library
Replies: 2
Views: 350

Advice needed with DevIL / OpenIL image library

Hello folks, TL;DR - If you have a complete, working code sample using the DevIL image library, I'd really like to see it. I'm currently looking at different image librarys for OpenGL texture loading and noticed the DevIL (previously OpenIL) library. I can see that the necessary headers are included...
by h4tt3n
Mar 26, 2017 19:29
Forum: Community Discussion
Topic: Is anyone here purely for nostalgia?
Replies: 38
Views: 2766

Re: Is anyone here purely for nostalgia?

I will agree that making 2d games in freebasic is no problem, but when it comes to 3d games we don't have a good 3d engine such as ogre3d or unity3d. I've started a few games with the Irrlicht wrapper but I cannot get nice graphics in it because it won't allow me to use a normal map and specular te...
by h4tt3n
Mar 26, 2017 10:13
Forum: Community Discussion
Topic: Is anyone here purely for nostalgia?
Replies: 38
Views: 2766

Re: Is anyone here purely for nostalgia?

So for the last 10 or so years FreeBasic has not been the best or even a good enough choice for a game programmer? I notice that in the early years it was used a lot for writing games. Over the years FreeBasic failed to evolve as a BASIC game playing language. . I respectfully disagree. FB has full...
by h4tt3n
Mar 21, 2017 17:41
Forum: Libraries
Topic: OpenGL 3.x need help with syntax
Replies: 3
Views: 427

Re: OpenGL 3.x need help with syntax

The example is from this SDL2 tutorial. It's lesson 51 on advanced opengl. By searching the forum I've dug out a few similar examples that I think will help me solve the issue. Check out these GLSL shader examples, they're actually pretty cool and deserve some attention: http://www.freebasic.net/for...
by h4tt3n
Mar 20, 2017 14:02
Forum: Libraries
Topic: OpenGL 3.x need help with syntax
Replies: 3
Views: 427

OpenGL 3.x need help with syntax

Hello folks, I am currently translating the sample code for a couple of SDL2 and OpenGL tutorials from different c dialects to freebasic, and I could use a bit of advice on getting the syntax right. For instance, when translating these lines: //Get vertex source const GLchar* vertexShaderSource[] = ...
by h4tt3n
Mar 12, 2017 17:58
Forum: Libraries
Topic: OpenGL Extension Wrangler Library / GLEW in FreeBASIC?
Replies: 7
Views: 586

Re: OpenGL Extension Wrangler Library / GLEW in FreeBASIC?

D.J.Peters wrote:
h4tt3n wrote:Joshy, you are incredible!
I know this is my problem :lol:

Joshy


You would be perfect if you weren't so modest :-)
by h4tt3n
Mar 12, 2017 17:16
Forum: Libraries
Topic: OpenGL Extension Wrangler Library / GLEW in FreeBASIC?
Replies: 7
Views: 586

Re: OpenGL Extension Wrangler Library / GLEW in FreeBASIC?

Thanks, got it!

I did see it come up in the forum search, but I couldn't find the darn link in the haystack.

As you say, it's an older version. I might give TJF's h_2_bi converter a go on the latest version. It's 4 x ~1500 lines, a bit too much for a translation by hand...

Cheers, Mike
by h4tt3n
Mar 12, 2017 15:09
Forum: Libraries
Topic: OpenGL Extension Wrangler Library / GLEW in FreeBASIC?
Replies: 7
Views: 586

OpenGL Extension Wrangler Library / GLEW in FreeBASIC?

Hello Folks,

Has anyone here translated the header file for The OpenGL Extension Wrangler Library, GLEW, to FreeBASIC?

Cheers, Mike
by h4tt3n
Mar 12, 2017 14:47
Forum: Libraries
Topic: SDL2: Translate "const Uint8*" from c to fb?
Replies: 2
Views: 279

Re: SDL2: Translate "const Uint8*" from c to fb?

Thanks fxm, that did the trick!

I will be posting the SDL2 tutorials and samples when I'm finished, but it may take a little while yet.
by h4tt3n
Mar 12, 2017 13:58
Forum: Libraries
Topic: SDL2: Translate "const Uint8*" from c to fb?
Replies: 2
Views: 279

SDL2: Translate "const Uint8*" from c to fb?

Hello folks, Quick question. I am translating a SDL2 tutorial series from c/cpp to fb, and after having translated the first many examples without any trouble I ran into this peculiar problem. I need to translate this line: const Uint8* keys = SDL_GetKeyboardState( NULL ); to freebasic dialect, whic...
by h4tt3n
Mar 11, 2017 15:44
Forum: Game Dev
Topic: Fluid Simulation
Replies: 15
Views: 969

Re: Fluid Simulation

This thread reminded me of an old project I had lying around... This body of water has a constant surface area. The 4th order Runge-Kutta integrator is totally overkill and can be replaced with simple symplectic Euler. Cheers, Mike '*******************************************************************...

Go to advanced search