Blitzmax NG For Web

Started by Hardcoal, December 21, 2020, 06:28:48

Previous topic - Next topic

Hardcoal

hi.. as i understand blitzmax ng is capable of making a web browser output..
is that right?
well i tried it and i got an error

[Compiler error

unrecognized calling convention 'os']

can anyone guide me what should i do to make it work.. if its even possible?

thanks
Code

Derron

Quote from: Hardcoal on December 21, 2020, 06:28:48
hi.. as i understand blitzmax ng is capable of making a web browser output..
if that right?

Nope.
Emscripten has/had trouble with nesting depths and GC....so for now and the foreseeable future this is no working target.

Bye
Ron

Hardcoal

shame..  because i tried cerebusx and its annoyed me.. for various reasons..
for example.. when it gets an error sometimes i just get stuck.. telling nothing about the error type..

like when its missing an image..

well i guess ill have to find another way to make browser apps..
although i feel most comfortable with blitzmax
Code

DruggedBunny

Monkey 2 did it well (including 3D) but it is quite a different beast to BlitzMax, and, of course, no longer supported. Still works though!

https://github.com/blitz-research/monkey2
http://hi-toro.com/thisdrivel/ [Some blog posts from me about creating a 3D 'game'.]
http://www.hi-toro.com/monkey2/island/Island.html [Said 3D game.]

Note that MX2 was a work-in-progress.

MX1 will let you do web, too, in 2D only, was a bit more like BlitzMax, but more structured. (I preferred the more freeform BMX.)

https://github.com/blitz-research/monkey

DruggedBunny

Oh, SpiderBasic is pretty cool, but you need to pay for it, only 49EUR, though -- from the author of PureBasic.

https://www.spiderbasic.com/

Not frequently updated but very capable.

Hardcoal

ok interesting thanks ill check it
Code

Steve Elliott

Quote
Oh, SpiderBasic is pretty cool, but you need to pay for it, only 49EUR, though -- from the author of PureBasic.

https://www.spiderbasic.com/

Thanks for reminding me about this product, for when you need some Windows, GUI/Web stuff - rather than a lower level fast games based language.  Plus the author is reliable and has been around for some time.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MikeHart

Quote from: Hardcoal on December 21, 2020, 07:25:30
shame..  because i tried cerebusx and its annoyed me.. for various reasons..
for example.. when it gets an error sometimes i just get stuck.. telling nothing about the error type..

like when its missing an image..

well i guess ill have to find another way to make browser apps..
although i feel most comfortable with blitzmax


I guess you didn't try to run in debug mode as CX will tell you that it could not load your image.

angros47

FreeBasic is able to compile for web, now.
And OpenB3D works with it, too