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

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #270 on: 2013-May-17 »
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.

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: GLBasic V11 public beta
« Reply #271 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....


Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1545
    • View Profile
Re: GLBasic V11 public beta
« Reply #272 on: 2013-May-17 »
It is very exciting to see that GLB can run on RaspberryPI for the first time at 60fps now.   :booze:   :good:  :-*

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #273 on: 2013-May-18 »
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.

Online erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4448
    • View Profile
    • FUED
Re: GLBasic V11 public beta
« Reply #274 on: 2013-May-18 »
Dosen´t work on chrome/explorer on my end.
Strange is that some other examples did work on chrome here.

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 #275 on: 2013-May-18 »
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

  • Guest
Re: GLBasic V11 public beta
« Reply #276 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

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #277 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

  • Guest
Re: GLBasic V11 public beta
« Reply #278 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...
« Last Edit: 2013-May-18 by MrTAToad »

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #279 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.

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1137
    • View Profile
    • My GLBasic code archiv
Re: GLBasic V11 public beta
« Reply #280 on: 2013-May-18 »
It works perfectly in Firefox 21.0.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #281 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.
« Last Edit: 2013-May-18 by spicypixel »
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

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

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1137
    • View Profile
    • My GLBasic code archiv
Re: GLBasic V11 public beta
« Reply #283 on: 2013-May-21 »
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
« Last Edit: 2013-Oct-13 by kanonet »
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5116
  • O Rly?
    • View Profile
Re: GLBasic V11 public beta
« Reply #284 on: 2013-May-21 »
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