Search found 676 matches

by UEZ
Jan 24, 2021 22:52
Forum: Libraries
Topic: raylib headers
Replies: 78
Views: 7003

Re: raylib headers

@BasicCoder2: Go to C:/FreeBasic/lib/win32 (on your HDD) and delete the file libraylib.a as a first step. The linker is trying to link against an older static build of raylib, that you yourself placed in that folder, for whatever reason. Then, try to compile an example again, with the Win32 DLL on ...
by UEZ
Jan 24, 2021 21:29
Forum: Libraries
Topic: raylib headers
Replies: 78
Views: 7003

Re: raylib headers

@paul doe: I was able to compile and run some of the examples. For some of them, e.g. core_window_flags.bas, I get also error messages: Raylib\examples\core_window_flags.o:fake:(.text+0x4fb): undefined reference to `IsWindowState' ... Raylib\examples\core_window_flags.o:fake:(.text+0xb42): more unde...
by UEZ
Jan 24, 2021 12:06
Forum: Community Discussion
Topic: VSCode extension for BASIC(modified VBS)
Replies: 14
Views: 386

Re: VSCode extension for BASIC(modified VBS)

1. Install VBS extension.(serpen.vbsvscode VBScript Language Support) What does this mean exactly? -> Got it, you mean the VBS extension VSCode. Btw, is there any tutorial how to setup VSCode editor to use it for FB? The IDE seems to be awesome. I have wrote a manual about How to use VSCode to writ...
by UEZ
Jan 23, 2021 18:57
Forum: Community Discussion
Topic: VSCode extension for BASIC(modified VBS)
Replies: 14
Views: 386

Re: VSCode extension for BASIC(modified VBS)

These are my extensions I've installed:

Image


Without the VBS extension only a menu pops up where I've to select the environment only.
by UEZ
Jan 23, 2021 18:45
Forum: Community Discussion
Topic: VSCode extension for BASIC(modified VBS)
Replies: 14
Views: 386

Re: VSCode extension for BASIC(modified VBS)

@Xusinboy Bekchanov: thanks but I cannot find the extension in 3) cppdbg Is that the correct name? Does it also work without it? I didn't find it in the installed extensions. No, it doesn't work. I'm getting an error message in the debug console when I press F5: Microsoft (R) Windows Script Host Ve...
by UEZ
Jan 23, 2021 18:14
Forum: Community Discussion
Topic: VSCode extension for BASIC(modified VBS)
Replies: 14
Views: 386

Re: VSCode extension for BASIC(modified VBS)

@Xusinboy Bekchanov: thanks but I cannot find the extension in 3) cppdbg

Is that the correct name?
by UEZ
Jan 23, 2021 15:25
Forum: Community Discussion
Topic: VSCode extension for BASIC(modified VBS)
Replies: 14
Views: 386

Re: VSCode extension for BASIC(modified VBS)

kankouhin7937 wrote:1. Install VBS extension.(serpen.vbsvscode VBScript Language Support)

What does this mean exactly? -> Got it, you mean the VBS extension VSCode.

Btw, is there any tutorial how to setup VSCode editor to use it for FB? The IDE seems to be awesome.
by UEZ
Jan 22, 2021 6:52
Forum: Community Discussion
Topic: Bug in Circle function?
Replies: 7
Views: 248

Re: Bug in Circle function?

Reduced code for showing the bug. When x=1.#INF gas32 --> nothing drawed gas64/gcc64 --> weird lines screen 18,32 randomize dim As Single x, y=300, z = 50 Do for i as integer =5 to 0 step -1 x=50.0/i circle (x, y), z, rgb(rnd*255,rnd*255,rnd*255),,,,F print x:sleep 1000:cls Next loop Until Len(Inke...
by UEZ
Jan 21, 2021 21:25
Forum: Community Discussion
Topic: Bug in Circle function?
Replies: 7
Views: 248

Re: Bug in Circle function?

fxm wrote:I have the impression that it is the concordance with the use of the 'F' flag of 'CIRCLE' that produces this behavior.

That's correct - only with fill the issue appears.
by UEZ
Jan 21, 2021 19:40
Forum: Community Discussion
Topic: Bug in Circle function?
Replies: 7
Views: 248

Re: Bug in Circle function?

The fault appears while circles are drawn entirely outside the screen (dangerous behavior to be corrected in my opinion). If we remove the drawing of the circles which necessarily are completely outside the screen, it seems to work well: If x - z < w And y - z < h Then Circle (x, y), z, HSL...
by UEZ
Jan 21, 2021 15:12
Forum: Community Discussion
Topic: Bug in Circle function?
Replies: 7
Views: 248

Bug in Circle function?

I have an odd phenomenon when I compile this code as x64: 'Ported https://www.dwitter.net/d/21330 by rodrigo.siqueira to FB by UEZ build 2021-01-21 #Include "fbgfx.bi" #Include "crt/math.bi" Using FB Dim As Integer w = 1920 Shr 0, h = 1080 Shr 0, w2 = w Shr 1, h2 = h Shr 1 Screen...
by UEZ
Jan 19, 2021 18:30
Forum: Tips and Tricks
Topic: Ray Tracer
Replies: 2
Views: 238

Re: Ray Tracer

angros47 wrote:I tried compiling your code back to JavaScript using the Emscripten version of FreeBasic

I "heard" about Emscripten here in this forum only. I never used it but sounds interesting.
by UEZ
Jan 19, 2021 14:48
Forum: Tips and Tricks
Topic: Ray Tracer
Replies: 2
Views: 238

Ray Tracer

I've converted the very cool JavaScript code from here to FB: " pure js ray tracer " by Igor Sbitnev It took me awhile to understand the JS code but here the result: 'Ported from https://js1k.com/2017-magic/demo/2648 by Igor Sbitnev To FB by UEZ build 2021-01-19 #Include "crt/math.bi&...
by UEZ
Jan 08, 2021 19:34
Forum: Tips and Tricks
Topic: Example using WinHTTP API to read out web page's code [Windows only]
Replies: 15
Views: 514

Re: Example using WinHTTP API to read out web page's code [Windows only]

dodicat wrote:This is approximately it with disphelper.


It works properly.

Thanks for sharing. :-)

Go to advanced search