GLBasic V12 (was formerly V11 beta)

Previous topic - Next topic

CrystalNoir

mmmmh it seems that I have some problems. Is there a code that I could have to test with it and have a begin to make a html 5 project please ?

I try to find something in the manual but it seems that there 's nothing for now about it. Is there something to do to setup a html 5 project with GLBasic ?

Thank you

kanonet

There is no release version of GLB with HTML5 yet, so there is not much in the help file yet, only thing that I could find is the description about SETLOOPSUB, so check this command.

Also here is a working example that you may find helpful: http://www.glbasic.com/forum/index.php?topic=8696
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

CrystalNoir

Thank you ! I will try this sample !

CrystalNoir

#363
Hi,

This sample works on Firefox, but I can't get it work with Google Chrome version 30.x

I tried in html 5 and html 5 webgl. it works always in Firefox but not with Chrome version 30.x

EDIT : sorry for the double post.

MrTAToad

Are you running it from your computer or a website?

CrystalNoir

#365
I ran it from my computer first. I tried form DropBox that can load html 5 document but it stucks on "Downloading" or "Preparing".

After I tried with my Wamp server that work perfectly with Firefox and with Chrome v 30.x it stucks on "Preparing". I can't get it work with Chrome.

Also the compilation process is long.

MrTAToad

Have you got a link ?

CrystalNoir

#367
I found the problem ! this is the output.data file that is the problem. If I delete it, that works perfectly on my local server (and distant too), on Chrome.

Don't understand what is this file. The fact is that I have two places with html file, one in a folder that have the name of the project and one in a folder called "distribute" with a file "output.data".

MrTAToad

Output.data stores all sprites, music etc etc...

CrystalNoir

#369
In this example the output.data make this sample fail with google chrome may be because output.data is empty (0 ko) ?

MrPlow

Q: Where can I get latest version... didnt notice it in Bonus folder?

Q: Will installing new version cause any compiling issues for me? (purposely held off latest Java as heard it was buggy and stopped compiles working for Android - is this still the case?)


Q: Which having to trawl throo all those past posts whats the Summary of the Update in the new version...? For instance i hear theres a native GTK GUI? Is the new GUI for all or only desktop plaforms?

Sooo many questions!!!
Can you do a quick Youtube video summary or sommit - new users would appreciate that too I expect?



Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrTAToad

#371
Quote from: CrystalNoir on 2013-Oct-21
In this example the output.data make this sample fail with google chrome may be because output.data is empty (0 ko) ?
Shouldn't affect it at all...

Here is the HTML 5 (Standard) version of Gernot's now program : http://gipegu.com/HTML5/Standard/GLBasic/Snow/Snow.html
And this is the HTML 5 (WebGL) version : http://gipegu.com/HTML5/WebGL/GLBasic/Snow/Snow.html

Neither have output.data in there (un)fortunately, as I can't upload 0 byte files...

CrystalNoir

#372
That's right, that's why these examples works. But if there is the output.data with, that doesn't work anymore. But I don't know why.

On a distant server you can't upload 0 ko files but on a local you can copy it.

erico

Quote from: MrTAToad on 2013-Oct-22
...
Here is the HTML 5 (Standard) version of Gernot's now program : http://gipegu.com/HTML5/Standard/GLBasic/Snow/Snow.html
And this is the HTML 5 (WebGL) version : http://gipegu.com/HTML5/WebGL/GLBasic/Snow/Snow.html
...

Out of curiosity, the webgl version seems to run 2x the fps on chrome on my desktop. Is that a general or browser related thing?

Kyo

I understand the importance of the export to html 5, but when the problem will be fixed audio (which is delayed) in Android?  :whistle: