GLBasic V12 (was formerly V11 beta)

Previous topic - Next topic

spicypixel

Can someone post a project (zipped) please that will compile to html5 because I can't get anything to work :)
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

mentalthink

HI spicypixel, I did this today, works , but only in Firefox in mac, in windows whit firefox and Chrome doesn't works....


matchy

It is very exciting to see that GLB can run on RaspberryPI for the first time at 60fps now.   :booze:   :good:  :-*

spicypixel

Quote from: mentalthink on 2013-May-17
HI spicypixel, I did this today, works , but only in Firefox in mac, in windows whit firefox and Chrome doesn't works....

Is there a windows browser this will work on?
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

erico

Dosen´t work on chrome/explorer on my end.
Strange is that some other examples did work on chrome here.

Hark0

Quote from: mentalthink on 2013-May-17
HI spicypixel, I did this today, works , but only in Firefox in mac, in windows whit firefox and Chrome doesn't works....

:D

(Casualidad de pregunta eh?) ;)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

Try this (using the latest beta) : https://dl.dropboxusercontent.com/u/25216439/HTML%205/Starfield.html

Remember that you have to use something other than  IE

spicypixel

Quote from: MrTAToad on 2013-May-18
Try this (using the latest beta) : https://dl.dropboxusercontent.com/u/25216439/HTML%205/Starfield.html

Remember that you have to use something other than  IE

Doesn't work in Chrome here. That's why I was asking for a project so I could try something I knew worked in windows and to nose at the code structure to see if there were specific things needed to set up etc..
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

MrTAToad

#278
I've included the project.  It is very weird - it was working in Chrome, but now it doesn't...

It's possible it must be run from a website rather than something like Dropbox...

spicypixel

Quote from: MrTAToad on 2013-May-18
I've included the project.  It is very weird - it was working in Chrome, but now it doesn't...

It's possible it must be run from a website rather than something like Dropbox...

Well this is your code online and it still doesn't work in Chrome? Thoughts?

http://www.spicypixel.net/HTML5/Starfield.html
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

kanonet

It works perfectly in Firefox 21.0.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

spicypixel

#281
Quote from: kanonet on 2013-May-18
It works perfectly in Firefox 21.0.

Absolutely! Looking very nice too :D Not wanting to go off-topic but in your routine MrT I was trying to add depth shading but this failed...
Code (glbasic) Select

LOCAL shaded%
shaded% = ABS (250 - (stars[i][2]/20))
DRAWRECT scx/2+stars[i][3], scy/2+stars[i][4], 1,1,RGB(shaded%,shaded%,shaded%)


Looks nice that's why I'm playing lol, sorry as this is off-topic, PM me if necessary.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

MrTAToad

#282
I don't know why it suddenly stopped working with Chrome - very weird.

But it does work fine with Firefox... 

So, when testing HTML 5, always try in Chrome, Firefox and any others you have around.

And try this : https://dl.dropboxusercontent.com/u/25216439/HTML%205/SIN_COS.html

Some sample programs currently work fine, some somewhat work and some don't at all.  The Scramble demo partly works - the main problem being the graphics aren't in the Media directory.  The 3D maze slightly works in that there is a map but no 3D...

kanonet

#283
Is this the right place for bug reports? Currently I found two:
1. Good that Samples\_Projects_\native_gui\glb_GUI_Editor got included again in this beta. But on Windows it does look strange until I resize or maximize the window. And it does not compile for Linux (of cause I defined GUI_WANT_GTK).
2. SETORIENTATION does not work on windows for mousestate, drawrect, print and probably some other 2D commands, but work fine for 3D commands. No problem under Android. was just my strange code, sorry
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Schranz0r

Wow Gernot!

thx for the Betaupdate, looking realy nice so far!
And thx for your HARD WORK on V11  <3

We need the "Buy me a Beer" button back! :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard