Search found 2813 matches

by Tourist Trap
Apr 04, 2020 11:38
Forum: Beginners
Topic: I started a blog to learn FreeBASIC through videogames
Replies: 9
Views: 499

Re: I started a blog to learn FreeBASIC through videogames

redroosterbcn wrote:I hope you like it, See you!

Yes, it's a nice start. I hope you will make this all grow up well and big. Good work so far.
by Tourist Trap
Apr 03, 2020 19:18
Forum: Community Discussion
Topic: My issues about freebasic
Replies: 23
Views: 1510

Re: My issues about freebasic

The basic part works great, but when it comes to displaying things I am having difficulties. Hi John. My opinion is that what you find lacking today is not bound to freebasic core. Freebasic core language is really clean and powerful. It has basic syntax with the power of C. I use in a regular basi...
by Tourist Trap
Mar 31, 2020 19:19
Forum: Tips and Tricks
Topic: fbgfx versus opengl graphics
Replies: 17
Views: 617

Re: fbgfx versus opengl graphics

BasicCoder2 wrote:@Tourist Trap
Remove the comment symbol from

It confirms that there is not any difference.
The thing that is really nice, is that we can mix up both, fbgfx and openGl.
by Tourist Trap
Mar 31, 2020 19:01
Forum: Tips and Tricks
Topic: fbgfx versus opengl graphics
Replies: 17
Views: 617

Re: fbgfx versus opengl graphics

Very nice. Hard to say what side is what graphics.
by Tourist Trap
Mar 30, 2020 19:12
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

A good solution for 5 grid zones might look this way: http://puzzle.queryhome.com/?qa=blob&qa_blobid=825835723145098172 I'm still not there but I started rearranging stacked columns. 'we want R rectangles covering the screen in a most balanced way const R => 5 const W => 800 const H => 600 scre...
by Tourist Trap
Mar 30, 2020 8:25
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

SARG wrote:Mar....ch

Yep, so I need a big coffee!
by Tourist Trap
Mar 30, 2020 7:27
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

[quote="UEZ"]
A good solution for 5 grid zones might look this way/quote]
Yes it's what I'm looking for. Still having to figure out how do that.

Has someone noticed that the forum tells Mar. 30/03, while this is Monday?
by Tourist Trap
Mar 29, 2020 23:11
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

'we want R rectangles covering the screen in a most balanced way const R => 114 const W => 800 const H => 600 screenRes W, H, 32 type RECTANGLE as integer x as integer y as integer index as integer direction as integer horizontalLength as integer verticalLength declare sub DrawRectangle() end type ...
by Tourist Trap
Mar 29, 2020 21:57
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

Of course it depends on the image resolution and the amount of zones how the partition will be created. Ok thanks. As I understand it now, there is one first most obvious configuration, the regular grid. In this case, let's the screen have a rectangle area of NxM, then we want to cover it by r rect...
by Tourist Trap
Mar 29, 2020 18:32
Forum: General
Topic: Best approach to fit n rectangles into a screen
Replies: 15
Views: 463

Re: Best approach to fit n rectangles into a screen

During the coding of Corona Infection Simulation I split the screen into 256 rectangle to have a better collision detection performance which seems to work properly. But during the change of the n rectangles I saw that to solve it properly is not a easy task. What is the best approach to fit n as e...
by Tourist Trap
Mar 29, 2020 0:39
Forum: General
Topic: Corona virus simulator
Replies: 41
Views: 1460

Re: Corona virus simulator

badidea wrote:After exactly 350 seconds it return to initial state.

I can't say what exactly we are supposed to see. Impressive anyway :)
by Tourist Trap
Mar 28, 2020 17:08
Forum: Windows
Topic: win7 vs 8
Replies: 10
Views: 654

Re: win7 vs 8

I use ShellFolderFixUI as a startup program to remember how I want each folder to show. Works great. Thank you very much. Unfortunately here is what I obtain when googling it : https://www.file.net/process/shellfolderfixui.exe.html If ShellFolderFixUI.exe is located in a subfolder of the user's &qu...
by Tourist Trap
Mar 28, 2020 17:03
Forum: Community Discussion
Topic: Multiplatform coroutines in C and also in FreeBasic
Replies: 6
Views: 327

Re: Multiplatform coroutines in C and also in FreeBasic

Just for those who may want to test this, more precision: The thing may have to be compiled this way in a batch file: @echo on "C:\Program Files (x86)\FreeBasic\Freebasic7\FreeBASIC-1.07.1-win64/fbc" libco.o test.bas test.exe pause No need of any include here. Just put every declaration at...
by Tourist Trap
Mar 28, 2020 15:33
Forum: Windows
Topic: How can I force my program use this or this core?
Replies: 6
Views: 295

Re: How can I force my program use this or this core?

j'aime bien ce genre de chose :-) Alors je me permets poser une autre question ;) For doing by program use SetProcessAffinityMask(ProcInfo.hProcess, dword(cpuset)) I'll have to test this one first, but I have in fact more questions in the same domain. Sometimes we have a child process that gets stu...
by Tourist Trap
Mar 28, 2020 15:14
Forum: Windows
Topic: How can I force my program use this or this core?
Replies: 6
Views: 295

Re: How can I force my program use this or this core?

Hi TT, Found that : the first trick is via task manager https://www.howtogeek.com/121775/how-to-force-windows-applications-to-use-a-specific-cpu/ The second one via line command c:\windows\system32\cmd.exe /C start /affinity 1 notepad.exe Maybe it could possible programatically. Thanks a lot for th...

Go to advanced search