Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
GLBasic - en / Re: Compiling to html5?
« Last post by Kitty Hello on 2019-Nov-29 »
Oh. I should do that. I'm sorry.
32
Lol, you had me going for a bit, when I stuck in 99 and it looked like it worked, a quick...  :O =D :o :(
33
GLBasic - en / Re: Compiling to html5?
« Last post by spacefractal on 2019-Nov-28 »
V16 does a good job for me. GACK compiles and runs fine.

its isent released. plan to release a beta. Steam has a beta labal to do it. Im wish how well its compile Greedy Mouse, which use a lots of Polyvectors in that game.
34
GLBasic - en / Re: Compiling to html5?
« Last post by MrPlow on 2019-Nov-28 »
I was curious and just extracted HTML.7z to platform folder and got an empty folder and message in compiler window

So I an assuming I missed some steps to install this emscripten thingy?


%EMSDK% is set, or SDK is not installed or can't be found at:
C:\Program Files\Emscripten
Get and install the (prebuilt) SDK from: https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html-----------------------------------------

'emsdk_env.bat' is not recognized as an internal or external command,
operable program or batch file.
'em++.bat' is not recognized as an internal or external command,
operable program or batch file.
35
Lol!
I didn't know about that 0 - 31 limit for CREATESCREEN :)
 :good:
36
GLBasic - en / Re: Compiling to html5?
« Last post by Kitty Hello on 2019-Nov-28 »
V16 does a good job for me. GACK compiles and runs fine.
37
V16 includes an x64 Windows compiler.
For Mac and Linux I'm working on a cmake project.
38
Use screenID% = 99 .... then it works

Unfortunately CREATESCREEN ID%, ID% is limited from 0 to 31, so going above 31, is the same as -1, which is the backbuffer, so 99, is basically just normal rendering to the screen, not buffering it to a sprite. This can be illustrated by adding a CLEARSCREEN before the first  X_MAKE_2D. If it was copied properly via an FBO it should still reside within the spriteID% which unfortunately it doesn't, and drawing the sprite should show the screen but as it was  USESCREEN  99 (same as -1) , its simply drawing  to the screen and not drawing/buffering it.  :( TBH I'm kinda surprised it did not throw an error.

Its good to know that this was working at some point (version) so maybe its an easy fix for Gernot?
39
v10 and 14 seems to work fine on my end, v15 and v16 have the strange behavior.
40
Issue happening in v16.252

Use screenID% = 99 .... then it works

:)
Pages: 1 2 3 [4] 5 6 ... 10