GLBasic V12 (was formerly V11 beta)

Previous topic - Next topic

Qedo

@ 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

I am surprised it doesn't work in IE 11, as it has HTML 5 support now...

Chrome seems fine...

Qedo

On my computer (Win7) there is IE10.
IE11 currently is in  Release Preview. I'll try when possible



MrTAToad

IE 11 comes with Windows 8.1

Qedo

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,

Qedo

#410
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

DaCarSoft

QuoteNow 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.

mentalthink

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.

fuzzy70

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)

Kitty Hello

Quote from: kanonet on 2013-Nov-01

@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


spacefractal

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).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#416
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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Qedo

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

Qedo


Quoteif 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

QuotePosted 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:

Hark0

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