Author Topic: 123 basic - HTML5 for GLBasic  (Read 64099 times)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5009
  • O Rly?
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #15 on: 2012-May-06 »
 <3 it!
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline djtoon

  • Dr. Type
  • ****
  • Posts: 290
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #16 on: 2012-May-06 »
3d?

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5009
  • O Rly?
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #17 on: 2012-May-06 »
no
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline metzzo

  • Mr. Polyvector
  • ***
  • Posts: 140
  • Coolo ist cool!
    • View Profile
    • programming with design
Re: GLBScript - HTML5 for GLBasic
« Reply #18 on: 2012-May-06 »
Thanks for your replies!!

3d?
As Schranz0r already said: Not yet. But when 2D commands are implemented I will of course implement 3D via WebGL (WebGLBScript  =D). WebGL is OpenGL ES 2.0 for the web. I will offer this as an Add-on for GLBScript.

Great work! I want this! What are the terms? :-)
GLBScript won't be free / open source. Mainly because I spent so much of my time into this project - and I will continue spending time ;). I think the online version (with limited lines of code) will be free and the 2D version will cost in the first month around 30€ and then I will increase the price).
Please understand, I've spent a lot of time into this project and the price is quite reasonable I think.

When do we get to play with it :D
Soon! I think in around 2- 3 months a first test version of GLBScript is available.
« Last Edit: 2012-May-06 by coolo »
That's no Bug, that's my project!

http://programming-with-design.at/

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1766
    • View Profile
    • Homepage
Re: GLBScript - HTML5 for GLBasic
« Reply #19 on: 2012-May-06 »
Great work! I want this! What are the terms? :-)
GLBScript won't be free / open source. Mainly because I spent so much of my time into this project - and I will continue spending time ;). I think the online version (with limited lines of code) will be free and the 2D version will cost in the first month around 30€ and then I will increase the price).
Please understand, I've spent a lot of time into this project and the price is quite reasonable I think.
That's perfectly understandable, that's why I asked about the terms :-)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5009
  • O Rly?
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #20 on: 2012-May-06 »
about 50 Euro per license could be OK :)
I like the idea and if there are no major bugs... why not :P
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline TI-994A

  • Community Developer
  • Mr. Polyvector
  • ******
  • Posts: 112
  • You can do it in BASIC!
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #21 on: 2012-May-07 »
Very interesting; good job!

How do you handle the libraries and dependencies? I'm assuming that these must be included as distributables.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!

Offline metzzo

  • Mr. Polyvector
  • ***
  • Posts: 140
  • Coolo ist cool!
    • View Profile
    • programming with design
Re: GLBScript - HTML5 for GLBasic
« Reply #22 on: 2012-May-07 »
HTML5 is an all in one thing. You have all 2d commands included and all the other stuff. So on the JavaScript side there won't be any problems, because I also don't use any third party libraries (jQuery, Prototype, ...). So there are no "real" dependencies.

On the GLBScript side: GLBScript only compiles used functions, so your "executable" keeps small.
That's no Bug, that's my project!

http://programming-with-design.at/

MrTAToad

  • Guest
Re: GLBScript - HTML5 for GLBasic
« Reply #23 on: 2012-May-07 »
How will you deal with IMPORT and INLINE stuff ?

Offline metzzo

  • Mr. Polyvector
  • ***
  • Posts: 140
  • Coolo ist cool!
    • View Profile
    • programming with design
Re: GLBScript - HTML5 for GLBasic
« Reply #24 on: 2012-May-07 »
INLINE throws a syntax error and IMPORT simply imports javascript files instead of c++/mm files.

I could implement INLINE with JavaScript instead of C++, but this would not be very useful, because variable/function names are changed by the compiler (so they don't interfere with JavaScript keywords).

If you don't want a function to be changed you can use "EXPORT" which basically says the compiler "hey dude, I want this function untouched!"
« Last Edit: 2012-May-07 by coolo »
That's no Bug, that's my project!

http://programming-with-design.at/

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3356
  • Integrated Brain
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #25 on: 2012-May-07 »
It´s possible know aproximately when launch the "Plugin" Coolo?¿...

Thanks in advance...

Offline metzzo

  • Mr. Polyvector
  • ***
  • Posts: 140
  • Coolo ist cool!
    • View Profile
    • programming with design
Re: GLBScript - HTML5 for GLBasic
« Reply #26 on: 2012-May-07 »
Nope sorry... GLBScript is a freetime project and so it's very unpredictable when it's done. Especially when it's about something as big as a 3D engine with WebGL...

Currently making the 2D part up and running has a much higher priority than 3D stuff...
« Last Edit: 2012-May-07 by coolo »
That's no Bug, that's my project!

http://programming-with-design.at/

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3589
    • View Profile
    • Space Fractal
Re: GLBScript - HTML5 for GLBasic
« Reply #27 on: 2012-May-08 »
not all examples works with IE10, but works in Firefox. But its look awesome and its kind like that there is NO problemos as its would cost some money, its fully acceptable and should been sold throught glbasic.com of course, so do a license with Gernot about it.

Same could do that if GlBasic got ported to C# of course.

I wonder if its can run Greedy Mouse, which I have used 2d layeres and scaling very much (but some graphics can been disabled eventuelly).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline hardyx

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 489
    • View Profile
Re: GLBScript - HTML5 for GLBasic
« Reply #28 on: 2012-May-08 »
This is a very cool project!! I can't believe. :blink:

MrTAToad

  • Guest
Re: GLBScript - HTML5 for GLBasic
« Reply #29 on: 2012-May-10 »
From those examples given it does look as though there is little, if any, speed loss too, which is good...