Search found 935 matches

by paul doe
Oct 30, 2017 0:29
Forum: Tips and Tricks
Topic: Some kind of a Kaleidoscope [Windows only]
Replies: 2
Views: 340

Re: Some kind of a Kaleidoscope [Windows only]

Yo UEZ! Very nice! However, currently this is for fbc 32-bit only. In fbc 64-bit, you get: C:\FreeBASIC-1.05.0-win64\fbc -s console -mt -gen gcc -Wc -O3 "FbTemp.bas" C:\FreeBASIC-1.05.0-win64\inc\win\winnt.bi(336) error 122: Symbols defined inside namespaces cannot be removed, found '_rotl...
by paul doe
Oct 30, 2017 0:11
Forum: Beginners
Topic: Mouse Move
Replies: 15
Views: 1171

Re: Mouse Move

MrSwiss wrote:Hi dodicat,

a nice example of constructor / destructor use ...

Sweet examples overall. Sure wish there were a tutorial/demo section in the forum. These snippets are the perfect candidates =D
by paul doe
Oct 29, 2017 23:36
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4456

Re: Very basic process CPU load determiner

@dafhi > "I hope some of us can encourage you to join our elite squad :)" That is the nicest thing anyone has said to me since lunchtime.<chuckle> I am a crypto guy. I have an AES GUI with built in SHA2-HMAC authentication via a secondary thread of execution. It uses Microsoft's CNG and e...
by paul doe
Oct 29, 2017 20:48
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

Hi Paul, I am cleaning up a proof-of-concept demo version that will be posted very soon. In short, I have developed a 2D physics engine called SquishyPlanet that combines next-level soft-body physics and orbital mechanics. This serves as the backbone of my game Graveyard Orbit, which is an orbital ...
by paul doe
Oct 29, 2017 20:18
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

works now! [edit] 18 fps 5000 meta's GL Wow. I scratch 10 fps with 1000 XD (yeah, the craptop I use to code sucks) works now! Modified the interface yourself? (preemptive strike hahaha) =D downloaded .. my oop is very limited Mmmm... I thought that you did it manually, we cross-posted as you can se...
by paul doe
Oct 29, 2017 15:48
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

dafhi wrote:works now!

Modified the interface yourself? (preemptive strike hahaha) =D
by paul doe
Oct 29, 2017 15:46
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

There. Sorry for the inconvenience, mate.
by paul doe
Oct 29, 2017 15:39
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

Damnit, GitHub! The latest commit was NOT uploaded. Hang on, mate. I'm reuploading it now.
by paul doe
Oct 29, 2017 15:36
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

waa glRenderDevice.bi(30) error 222: Not overriding any virtual method, found 'override' in 'declare function setRes(.. glRenderDevice.bi(31) error 222: Not overriding any virtual method, found 'override' in 'declare sub setRenderer(.. You have the latest version? You need fbc 1.06.0 also ;)
by paul doe
Oct 29, 2017 15:02
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

Hi there Paul, Yeah, I just realized that the rendering was only used for setting up the demo, not in the main loop, so never mind. It's just an old habit of mine to optimize stuff :-) A good habit. No problem, it was just coded that way to be easy to tell what the code is doing. Looks like I've su...
by paul doe
Oct 29, 2017 11:41
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 4966

Re: Frame rate independent game loop

This is really nice work, points for sharing your code. I took a quick glance at your metaball drawing algorithm and got rid of the nasty doubly for-loop nested square root call in renderer.bi: Hi Mike, Glad you like it. Nice optimization here, Mike. Extra points for actually using the vec2 utility...
by paul doe
Oct 29, 2017 10:57
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4456

Re: Very basic process CPU load determiner

I get loads of up to 70% CPU Load let me down on this one. However, when I cranked up the metaball number to 5000 all four apps were in the same ball park with CPU Load maxing out at 12%. The display with this was simply a red background and a white ball. With a res of 1700x900 and 1000 meta balls ...
by paul doe
Oct 29, 2017 10:47
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4456

Re: Very basic process CPU load determiner

I get loads of up to 70% How? With 1000 metaballs Process Explorer and Process Hacker are coming in at about 6%, Task Manager at about 4% and CPU Load with a session average of 3.30. Then it must be that my 'box' is not a box, but a tin can XD Unlikely, thoug. Task manager reported that load on the...
by paul doe
Oct 29, 2017 3:51
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4456

Re: Very basic process CPU load determiner

Hi Paul. I saw your thread and download from GitHub. I don't know why but every time I go to GitHub for anything I tend to screw things up. Woe is me. I created a folder called MetaBalls and included within it MetaBalls.bas and the inc folder. However, when I try to compile MetaBalls.bas I get a li...
by paul doe
Oct 29, 2017 3:40
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 10000

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

While I was applying the suggested changes, I fixed the bug that occurs when the width is not a multiple of 4; looks like the screen buffer has no alignment, and OpenGL expected a multiple of 4. It can be fixed with glPixelStorei(GL_UNPACK_ALIGNMENT, 1), and I added it (I had to add it to the decla...

Go to advanced search