Search found 489 matches

by BasicScience
Mar 29, 2020 5:54
Forum: General
Topic: Corona virus simulator
Replies: 44
Views: 2201

Re: Corona virus simulator

Pseudo-random movement within a circle for "safer at home" simulation Type __person dim as single x_init, y_init, x , y, sqradius dim as single Vx, Vy dim as ulong c END TYPE DIM as integer N_people = 2, iPsize = 5 ScreenRes 640, 480, 32 DIM Shared as __person person(N_people-1) Randomize ...
by BasicScience
Mar 29, 2020 1:13
Forum: General
Topic: Corona virus simulator
Replies: 44
Views: 2201

Re: Corona virus simulator

@Badidea - mesmerizing. I see you are planning to implement a maximum radius of motion for each person. I guess the initial position should be a random location in the personal circle. Otherwise the motion vector will be along a radius line, and the reflection at the circle boarder will just be an o...
by BasicScience
Mar 29, 2020 1:06
Forum: General
Topic: Corona virus simulator
Replies: 44
Views: 2201

Re: Corona virus simulator

@UEZ the changes I suggested could be added to any of the posted simulations. Would be interesting with yours, for example.
by BasicScience
Mar 28, 2020 19:11
Forum: Projects
Topic: FB_GUI V1.20.5 (New Release Dec 19, 2019)
Replies: 103
Views: 41454

Re: FB_GUI V1.20.5 (New Release Dec 19, 2019)

After a Long hiatus of 8 years, an update to FB_GUI is available (version 1.20.5). Various bugs have been fixed and the code is more stable. The most important change is that FB_GUI is now compatible with fb-1.07.1-win32 and fb.1.07.1-win64. FB_GUI uses xFont to generate custom fonts. Be aware that ...
by BasicScience
Mar 28, 2020 17:31
Forum: General
Topic: Corona virus simulator
Replies: 44
Views: 2201

Re: Corona virus simulator

Nice work. Could be interesting to add two new features: 1) Motion is restricted to a maximum distance from initial position. This is a crude simulation of "stay home". 2) Simulate imperfect PPE. So each collision with an infected person has a defined probability of infecting the healthy o...
by BasicScience
Jan 03, 2020 0:34
Forum: Libraries
Topic: disphelper.a FB-1.07.1-win64
Replies: 18
Views: 1079

Re: disphelper.a FB-1.07.1-win64

Thanks for the offer. Unfortunately I don't have mingw 64 bit installed.
by BasicScience
Dec 31, 2019 18:41
Forum: Libraries
Topic: disphelper.a FB-1.07.1-win64
Replies: 18
Views: 1079

Re: disphelper.a FB-1.07.1-win64

My prior post wasn’t very clear.

I’m trying to find disphelper.a that is compatible with FB-1.07.1-win64. Does anyone know of an available download?
by BasicScience
Dec 31, 2019 2:43
Forum: Libraries
Topic: disphelper.a FB-1.07.1-win64
Replies: 18
Views: 1079

disphelper.a FB-1.07.1-win64

Has anyone recompiled the disphelper library for win64?

I verified the (old) win 32 bit version works with FB-1.07.1-win32.
by BasicScience
Dec 31, 2019 2:25
Forum: General
Topic: [SOLVED] Undefined Reference with xFont FB-1.07.1
Replies: 11
Views: 539

Re: [SOLVED] Undefined Reference with xFont FB-1.07.1

@badidea,

Many thanks. Verified everything works on win32 and win64.
by BasicScience
Dec 28, 2019 22:41
Forum: General
Topic: [SOLVED] Undefined Reference with xFont FB-1.07.1
Replies: 11
Views: 539

Re: [SOLVED] Undefined Reference with xFont FB-1.07.1

@ Badidea, thanks. You might also consider fixing an annoying bug in xFont. The LoadFont function always closes file #1 instead of using FreeFile to identify an open file #. This glitch can be difficult to track down when your project is experiencing unexpected closures of File #1.
by BasicScience
Dec 28, 2019 15:27
Forum: Libraries
Topic: xfont complie error
Replies: 4
Views: 5016

Re: xfont complie error

I had the same problem with FB-1.07.1. The error was fixed by recompiling the xfont library.
by BasicScience
Dec 27, 2019 18:03
Forum: General
Topic: [SOLVED] Undefined Reference with xFont FB-1.07.1
Replies: 11
Views: 539

Re: [SOLVED] Undefined Reference with xFont FB-1.07.1

Indeed, recompiling the library with the 1.07.1 version of FBC solved the problem. Others may want to use xfont, but the source code is needed to recompile the library. LeonHeart made the source public, but the URL is no longer active. I would be happy to share the code. Perhaps someone can post it ...
by BasicScience
Dec 27, 2019 16:18
Forum: General
Topic: [SOLVED] Undefined Reference with xFont FB-1.07.1
Replies: 11
Views: 539

Re: Undefined Reference with xFont FB-1.07.1

Yes, the library was created in 2010. That said, I thought "old" libraries were backward compatible with Win-32 versions of the compiler.
by BasicScience
Dec 27, 2019 8:46
Forum: General
Topic: [SOLVED] Undefined Reference with xFont FB-1.07.1
Replies: 11
Views: 539

[SOLVED] Undefined Reference with xFont FB-1.07.1

I have used xFont by LeonHeart for years, up through FB-1.03.0 for Win. Today, I finally upgraded to FB-1.07.1 and now I get a compiler error undefined reference to 'XFONT::INTERFACE::FORECOLOR__SET__(unsigned long)@8' whenever I try to set the ForeColor as shown in the code below. The same problem ...
by BasicScience
Aug 11, 2019 22:31
Forum: Community Discussion
Topic: Print Screen Command?
Replies: 3
Views: 5136

Re: Print Screen Command?

I just save the screen to a BMP file. You can the print, edit, or perform any other modification.

Code: Select all

BSave "ScreenShot.BMP", 0

Go to advanced search