BASIC

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

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #405 on: 2013-Nov-03 »
@ Ocean
Thank you for your analysis but i want to understand why the output works with Firefox and not with other browsers.
It is clear that now html5 is not perfect and therefore it is possible that in some situations does not work. By the way, full screen firefox on my computer is ok, strange.
Instead, ask all, some news about Opera and Chrome?
thanks
Ciao
Qedo

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #406 on: 2013-Nov-03 »
I am surprised it doesn't work in IE 11, as it has HTML 5 support now...

Chrome seems fine...

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #407 on: 2013-Nov-03 »
On my computer (Win7) there is IE10.
IE11 currently is in  Release Preview. I'll try when possible



MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #408 on: 2013-Nov-03 »
IE 11 comes with Windows 8.1

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #409 on: 2013-Nov-04 »
Good news on html5.
Mandelbrot1.html (attached) without reference to "output.dat" works on Firefox 25.0, Opera 17.0 and Chrome 30.0
IE11 not tested, Safari 5.1.7 only black screen.
It is important because the program  use also MEM2SPRITE and DRAWSPRITE,

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #410 on: 2013-Nov-04 »
Now everything is clear.
the file "output.dat" contains the entire contents of the folder MEDIA. Therefore must not be deleted.
HTML5 works with files locally in Firefox because it is the only browser unlocked.
The others are blocked by default and thus do not perform the code locally for security reasons.
In Internet Firefox Chrome and Opera are OK. You can try it at:

http://web.tiscali.it/edoardobianchi/STUFF/HTML5/ETA/ETA.html

So locally for debugging, Firefox is more than enough,
Attention. At the coversion GLBasic Javascript does not like the code too long and you have to divide it into many gosub.
I hope that this information can be useful.
Great job Gernot!  :good:
Ciao
Qedo
« Last Edit: 2015-Aug-10 by Qedo »

Offline DaCarSoft

  • Community Developer
  • Mr. Polyvector
  • ******
  • Posts: 182
    • View Profile
Re: GLBasic V11 public beta
« Reply #411 on: 2013-Nov-04 »
Quote
Now everything is clear.
the file "output.dat" contains the entire contents of the folder MEDIA. Therefore must not be deleted.
HTML5 works with files locally in Firefox because it is the only browser unlocked.
The others are blocked by default and thus do not perform the code locally for security reasons.
In Internet Firefox Chrome and Opera are OK. You can try it at:

http://web.tiscali.it/edoardobianchi/STUFF/HTML5/ETA.html

For me, under Safari 7 (Mac OS X 10.9 "Mavericks") it appears to work ok.
"Si quieres resultados distintos... no hagas siempre lo mismo" - Albert Einstein.

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3366
  • Integrated Brain
    • View Profile
Re: GLBasic V11 public beta
« Reply #412 on: 2013-Nov-04 »
For me in Mavericks , Safari , Chrome and Firefox runs fine... it's curious but Firefox runs at the half + (a bit more) speed than other two.

Offline fuzzy70

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 828
  • Look left, Look right, LOOK OUT!!
    • View Profile
Re: GLBasic V11 public beta
« Reply #413 on: 2013-Nov-04 »
Work on my phone (Sony Xperia Z) using Chrome for Android

Lee

Sent from my C6603 using Tapatalk

"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10713
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Re: GLBasic V11 public beta
« Reply #414 on: 2013-Nov-05 »

@Gernot: New Version compiling is telling this:
Code: GLBasic [Select]
running glb_build.bat
Using ANDROID_TARGET="android-8"
You can use "C:Eigene ProgrammeGLBasicTest1distributeAndroidglb_android_build.bat" to change the API level and SDK path.
%ANDROIDSDK% not set. Using GLBasic's default target-8, Android 2.2
So we can now use different APIs etc.? Thats nice, is there an in deep explanation how to do this? (there is no bat at that path, do I need to create it?) Also @Spacefractal
If you make a file glb_android_build.bat at the given location, you can use another sdk.
In that file write:
Code: GLBasic [Select]
Set ANDROIDSDK=c:path to sdk
Set ANDROID_TARGET=android-16
 
That's pretty much it. If you do wrong, the output window will telly the details.
Is that OK?
Sorry for the long answering delays.

I'm glad you found out about the output.dat media package. You need a http server for other browsers. Google for tinyhttp or python http server.
Would be cool to see a macro script.


Sent from my GT-N7100 using Tapatalk


Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3678
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #415 on: 2013-Nov-06 »
did you update nsk as well? im wlll look on that feature and do a better sdk upgrade in the next version which supports this. android-14 minimum is required for androidextras and hence OUYA.

Howover im did fixed some icon issues which is required before a build (to support ouya and tables icons).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3678
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #416 on: 2013-Nov-06 »
what is missing now is simply choice which tempproject you want to uses. here its could just do a another variable in the bat file. Im are currectly looking with api 14 sdk upgrade using the new features. Howover im do still need to change the build order, but anything before have im left as its are.

EDIT:
Is being upload a new version of Android SDK upgrade. This time its only 130mb, because its seen the NDK update was not really required. The game still works nice with full control on OUYA by just the SDK change. That property its dont use API calls from NDK, but doing API calls from SDK instead.
« Last Edit: 2013-Nov-06 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #417 on: 2013-Nov-06 »
Gernot,
What do you think of renaming the file "output.dat" customized for each program?
For example:
bezier.html and bezier.dat
media.html and media.dat
This way you can enter all the programs in the same directory on the server and be able to work.
Hello
Qedo

Offline Qedo

  • Mr. Polyvector
  • ***
  • Posts: 167
  • UNUS SED LEO
    • View Profile
Re: GLBasic V11 public beta
« Reply #418 on: 2013-Nov-06 »

Quote
if those *.dat files are indeed empty, wouldn't it be better to remove the dependencies from the *.html files generated?

will not always be empty.
IF DOESFILEEXIST(\MEDIA\*.*) THEN (Len_of_File of OUTPUT.DAT)>0 ELSE (Len_of_File of OUTPUT.DAT)=0

Quote
Posted by: Qedo
« on: 2013-Nov-04 »

Now everything is clear.
the file "output.dat" contains the entire contents of the folder MEDIA. Therefore must not be deleted.
HTML5 works with files locally in Firefox because it is the only browser unlocked.
The others are blocked by default and thus do not perform the code locally for security reasons.
In Internet Firefox Chrome and Opera are OK. You can try it at:

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #419 on: 2013-Nov-06 »
Hi, Gernot!

Please CHANGE OR RENAME THE FILE FOR DOWNLOAD... ALL HAVE THE SAME NAME "glbasic_sdk.exe"  :rant:

This pots its very very crazy!!!
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic