Search found 23 matches

by linuxanddos
Dec 07, 2024 8:05
Forum: Linux
Topic: Is Wayland support available?
Replies: 2
Views: 5842

Re: Wayland support

It is a long time since my first post: Does someone know if (and how) Wayland is supported by FreeBASIC?
by linuxanddos
Jul 26, 2024 13:47
Forum: Libraries & Headers
Topic: FBTrueType static Win/Lin 32/64-bit
Replies: 71
Views: 73901

Re: FBTrueType static Win/Lin 32/64-bit

I'm living in Europe and here it is not possible to put a software under public domain without waiting that all its programmers are dead and then waiting 70 more years :cry: Because I'm considering to use this library, I would suggest their author(s) to choose a public domain like software license t...
by linuxanddos
Jul 25, 2024 6:44
Forum: Linux
Topic: Is Wayland support available?
Replies: 2
Views: 5842

Is Wayland support available?

My app https://flathub.org/apps/page.codeberg. ... Pfeilspiel is listed as

Code: Select all

potentially unsafe
because it is using X11 instead of Wayland.

Does FreeBasic include Wayland support?
How to enable it including an fallback mode to use X11 if Wayland is not supported?
by linuxanddos
Jul 25, 2024 6:35
Forum: Emscripten
Topic: Prebuild fbc+emscripten installer
Replies: 11
Views: 14204

Re: Prebuild fbc+emscripten installer

Sorry, but I am searching for an option to call JavaScript code included in an .html file from an enscriptem FreeBasic build to use the capabilities of the browser. Like I stated here: Instead, I found this: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html...
by linuxanddos
May 11, 2024 12:51
Forum: General
Topic: [SOLVED] Get does not save current screen work page
Replies: 8
Views: 1719

Re: Get does not save current screen work page

With your help and information I found some other, similar errors in my code.
by linuxanddos
May 11, 2024 11:18
Forum: General
Topic: [SOLVED] Get does not save current screen work page
Replies: 8
Views: 1719

Re: Get does not save current screen work page

get (0,0)-(breite-1, hoehe-1), menubild_statischer_teil Thank you, this solution is working. Aborting due to runtime error 1 (illegal function call) at line 54 There did you see this error? If I compile and run it on Linux, this is not shown. EDIT: Neither while compiling nor at runtime at the term...
by linuxanddos
May 11, 2024 9:00
Forum: General
Topic: [SOLVED] Get does not save current screen work page
Replies: 8
Views: 1719

Re: Get does not save current screen work page

This code should generate a moving black rectangle with a white background. But the background is pink - so this does not seems to work. I know there are easier ways to generate a white background - but this is just a part of something more complex there it is necessary to save the background (for s...
by linuxanddos
May 11, 2024 7:22
Forum: General
Topic: [SOLVED] Get does not save current screen work page
Replies: 8
Views: 1719

[SOLVED] Get does not save current screen work page

After running ScreenCopy 0, 1 ScreenSet 1, 0 I draw something at the hidden screen page. Than I use the following line to save what I have drawn: get (0,0)-(width, hight), imagebuffer Then I continue drawing. Somewhere in the future, I try to reuse my saved imagebuffer: Put (0,0), imagebuffer, PSet ...
by linuxanddos
May 05, 2024 14:00
Forum: Projects
Topic: My game: Pfeilspiel TNG international
Replies: 2
Views: 3832

Re: My game: Pfeilspiel TNG international

I have updated the translation and include a red X button in the upper right corner... https://maerchenfeeimgarten.codeberg.page/pfeilspiel/ Can someone help me with one of these problems? - The background seems to be made of horizontal stripes instead of being a smooth gradient. Tools like Gimp wit...
by linuxanddos
Apr 13, 2024 5:53
Forum: Emscripten
Topic: Prebuild fbc+emscripten installer
Replies: 11
Views: 14204

Re: Prebuild fbc+emscripten installer

Somewhere in this forum I have read that it is possible to run JS code from your FreeBasic app. Sadly, I don't find this message again. Instead, I found this: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#interacting-with-code-call-javascript-from-nativ...
by linuxanddos
Feb 24, 2024 13:18
Forum: Projects
Topic: My game: Pfeilspiel TNG international
Replies: 2
Views: 3832

My game: Pfeilspiel TNG international

Hi, this is my new game, playable with a browser (desktop and mobil! ): https://maerchenfeeimgarten.codeberg.page/pfeilspiel/ or downloadable for DOS, Linux or Windows: https://codeberg.org/MaerchenfeeimGarten/Pfeilspiel/releases I created this a long time ago and now after a lot of additional work ...
by linuxanddos
Feb 11, 2024 13:04
Forum: Emscripten
Topic: Open/Enable keyboard input on smartphones
Replies: 1
Views: 4074

Re: Open/Enable keyboard input on smartphones

Ok, it seems like the best answer for this is to implement my own build-in keyboard for my application.

All other solutions I found online are just dirty hacks that does not work on modern browsers.
by linuxanddos
Dec 09, 2023 13:28
Forum: Emscripten
Topic: Open/Enable keyboard input on smartphones
Replies: 1
Views: 4074

Open/Enable keyboard input on smartphones

Hallo FreeBasic community, First things first: Thank you for all the support and for creating and improving FreeBasic! How can I tell a Android/iOS device to open the build in keyboard when my program is waiting for some keyboard input? The scenario: * You open the emscripten version of my program i...
by linuxanddos
Nov 25, 2023 10:14
Forum: Emscripten
Topic: Prebuild fbc+emscripten installer
Replies: 11
Views: 14204

Re: Prebuild fbc+emscripten installer

Now my software is almost working.

But I need some conditional compiling distinguishing between emscripten and the other platforms.
Is there something like

Code: Select all

#ifdef __FB_DOS__ 
	'code here
#endif
for emscripten/wasm?
by linuxanddos
Nov 25, 2023 6:07
Forum: Emscripten
Topic: Prebuild fbc+emscripten installer
Replies: 11
Views: 14204

Re: Prebuild fbc+emscripten installer

I have found the folder: /usr/local/lib/freebasic/
Now it is compiling, but it seems like I have to enable async support...