Recent posts

#1
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
for my app (server-client) I will change (sigh) to Js and node.js
#2
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
for me impassable road nothing works.  Thanks anyway
#3
GLBasic - en / Re: HTML5 improvements
Last post by Paul Smith - 2024-Oct-05
I can't seem to use strings. This won't compile 
}, url$);  or {, url_Str);
The version I was supposed to show was  }); that just opens a new tab. It does compile but just a blank page.

This code does work and will open the correct page, strange thing is the // shows as comments after the https: but compiles fine.

INLINE
        EM_ASM({
       window.open('https://www.glbasic.com', '_blank');
    });
   ENDINLINE

Hope this helps
#4
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
Paul, but can you compile these 2 examples in html5?
stop compiling because;

"fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated."
#5
GLBasic - en / Re: HTML5 improvements
Last post by Kitty Hello - 2024-Oct-02
it's url_Str. The $ is replaced by _Str in C++.
#6
Announcements / ALIEN TEXT EDITOR
Last post by MrPlow - 2024-Oct-01
Hi
I am trying to create a retro ALIEN style MOTHER text editor...
I plan to add others to it...
War Games and others...

Just for fun for now :)

Currently my editor mode is a mainly char replace - and fills a page with spaces so that it allows user to place text anywhere without a new to tab or space to the cell location.

Just trying to think of good uses - I think a level designer and film script editor might work well in this way...
??!

Once I have a half-demo I will upload...


#7
GLBasic - en / Re: HTML5 improvements
Last post by Paul Smith - 2024-Sep-30
Not used that command, but others like NETWEBEND dont work.

I've been short on time this month and was looking into using alternative inline for NETWEBEND. I have two methods that need Ironing out. This code is from a google search. And needs formatting correctly.

    INLINE
    #include <emscripten.h>
    emscripten_run_script("window.open(\"" + url$ + "\", \"_blank\");");
    ENDINLINE

the other is

INLINE
    #include <emscripten.h>

    EM_ASM_({
        window.open(url, '_blank');  // Open the URL in a new tab
    }, url$);
   
    ENDINLINE

Not tried the first one but the second one opens a page, just not the right link.  :D
Hopefully someone smarter than me will fix this is seconds.


#8
I'm a little bit late, but is the party still rolling? All The Best for GLB and our community :)
btw. 20+ years, a lot of time, it means that GLB is an adult :D
#9
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Sep-29
GLOBAL a$  = NETWEBGET$("jsonplaceholder.typicode.com","/users?_limit=3",80,2048, 5000)

any idea because in GLBasic  work and in HTML5 no?  bug?
#10
This audio bundle is also interesting:

Build Your Own Hollywood Music and SFX Bundle on Fanatical.
Tiers:
1+ items -> €0.99 per item
10+ items -> €0.65 per item
18+ items -> €0.60 per item
all 35 items -> €16.20 (€0.46 per item)
End date: ??

PR info:
With all-new original content from one of the world's largest sound effects libraries and with music and SFX that has been supplied and now features in major studio films, on worldwide national television and well-known video games from giants such as Sony, Disney, 20th Century Fox, and Universal, our first collaboration with Audiohero is really one to saviour. Containing 35 all new-to-Fanatical packs: Each music pack has 10 tracks in MP3 and WAV formats and each SFX pack has 20 original sounds in MP3 and WAV formats.