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

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4331
    • View Profile
    • FUED
Re: GLBasic V11 public beta
« Reply #345 on: 2013-Oct-10 »
Really great!

It will be a couple weeks before I´m stable enough to check this out...but I will 8)
Thanks Gernot!

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #346 on: 2013-Oct-10 »
At the moment, XP still has the infinite clang loop - I'm going to see if it has a problem with spaces now...

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #347 on: 2013-Oct-11 »
Good news!  It isn't a loop - it just takes a very long time to complete...

3D works sort of - however, GLBasic uses various gl functions which aren't in HTML5-WebGL (glColorMaterial) being the main one.

I found very quickly that I was reaching a memory limit imposed by Emscripten - this was "easily" dealt with by adding -s TOTAL_MEMORY to the HTML 5 parameters list.  What took so long was the fact that I didn't realise it required a value in bytes and not megabytes...  I currently use -s TOTAL_MEMORY=33554432 which got my 3D program displaying (if not actually running).

There does look like some quite striking visual (and speed differences) between WebGL and the "standard" - I'll cover that later once I've updated my test program to the proper ALPHAMODE values.


Offline aroldo

  • Mr. Polyvector
  • ***
  • Posts: 143
    • View Profile
    • APD Consulting, Inc.
Re: GLBasic V11 public beta
« Reply #348 on: 2013-Oct-11 »
Gernot,

  :nw: Dankeschön !!!! for the new Beta V11.559 and for your hard work. I downloaded and compiled one of  my games, Brick Buster http://www.apd-games.com ,  on Windows XP , it works fine but I have to test it further , so far so good.

today I will generate iOS and WebOS and let you know the results.
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3372
  • Integrated Brain
    • View Profile
Re: GLBasic V11 public beta
« Reply #349 on: 2013-Oct-11 »
Thanks a lot Gernnot really apreciate the effort...

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3919
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #350 on: 2013-Oct-11 »
Here in firefox, the game lockup while loading. Firefox say this script take very long time and then stops it. Its seen glbasic missing some sort to refresh the screen after loading something.

So its seen things like that property requirede to been doing in a thread to prevent that?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10746
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBasic V11 public beta
« Reply #351 on: 2013-Oct-11 »
for HTML5 you must use the SUB GLB_ON_LOOP. or SETLOOPSUB. You can't do infinite loops with HTML5.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3919
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #352 on: 2013-Oct-11 »
im allready doing that of course, but the loop fails reach back, due images & sound is often allways load from one function to keep it simple, and that take time..... But you can only one item at time now, which can complicered things, which can been out of the basic stuff?

So you should tell around that in the help file.

Howover loading stuff should been threaded eventuelly.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3919
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #353 on: 2013-Oct-11 »
im got workaround this issue in the loading rutine.

im do got one issue im are not sure what it means:
Cannot enlarge memory arrays in asm.js. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, or (2) set Module.TOTAL_MEMORY before the program runs.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline mrplant

  • Mr. Polyvector
  • ***
  • Posts: 233
    • View Profile
Re: GLBasic V11 public beta
« Reply #354 on: 2013-Oct-13 »
Beta 11.559 is testing well here!! :P

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #355 on: 2013-Oct-13 »
See my previous post about that TOTAL_MEMORY problem - hopefully Gernot will add in an option to let you change it in project settings.

Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #356 on: 2013-Oct-19 »
Hi there !

Just play with html 5 and I have little problems. The compiling process is ok but very long (about 4-5 mns). After uploaded it on DropBox for example, I can see the canvas with somes options but nothing happens, or, it's very long to launch. Is it normal ?

Sorry for my approximative english :)

Thank you.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10746
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBasic V11 public beta
« Reply #357 on: 2013-Oct-19 »
For html5 firefox and chrome work. Safari works too. IE10 and below do not. Also, use GLB_ON_LOOP instead of while true .... wend

Sent from my GT-N7100 using Tapatalk


Offline CrystalNoir

  • Mc. Print
  • *
  • Posts: 33
    • View Profile
Re: GLBasic V11 public beta
« Reply #358 on: 2013-Oct-19 »
Oki I have to see because I just tested with an example of GLBasic, I didn't see an html 5 specific example.

I tried in Firefox. May be I should write an simple example myself to see. Thank you I will try
« Last Edit: 2013-Oct-19 by CrystalNoir »

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #359 on: 2013-Oct-19 »
IE 11 (in Windows 8.1) should work for non-WebGL stuff...  Haven't tried it yet though...