Author Topic: GLBasic V12 (was formerly V11 beta)  (Read 116424 times)

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #360 on: 2013-Oct-19 »
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

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: GLBasic V11 public beta
« Reply #361 on: 2013-Oct-20 »
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

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #362 on: 2013-Oct-20 »
Thank you ! I will try this sample !

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #363 on: 2013-Oct-20 »
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.
« Last Edit: 2013-Oct-20 by CrystalNoir »

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #364 on: 2013-Oct-21 »
Are you running it from your computer or a website?

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #365 on: 2013-Oct-21 »
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.
« Last Edit: 2013-Oct-21 by CrystalNoir »

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #366 on: 2013-Oct-21 »
Have you got a link ?

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #367 on: 2013-Oct-21 »
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".
« Last Edit: 2013-Oct-21 by CrystalNoir »

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #368 on: 2013-Oct-21 »
Output.data stores all sprites, music etc etc...

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #369 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) ?
« Last Edit: 2013-Oct-21 by CrystalNoir »

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1559
    • View Profile
Re: GLBasic V11 public beta
« Reply #370 on: 2013-Oct-21 »
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

  • Guest
Re: GLBasic V11 public beta
« Reply #371 on: 2013-Oct-22 »
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...
« Last Edit: 2013-Oct-22 by MrTAToad »

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #372 on: 2013-Oct-22 »
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.
« Last Edit: 2013-Oct-22 by CrystalNoir »

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4240
    • View Profile
    • Portfolio
Re: GLBasic V11 public beta
« Reply #373 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?

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: GLBasic V11 public beta
« Reply #374 on: 2013-Oct-22 »
I understand the importance of the export to html 5, but when the problem will be fixed audio (which is delayed) in Android?  :whistle: