Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Is AGK to HTML5 port possible?

Author
Message
BraindeaD
17
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 18th Nov 2013 15:32
Hi all,
Are there any plans to make a port of AppGameKit to HTML5/javascript? Otherwise it would be possible to do some "homebrew" port of tier 1 AppGameKit to javascript or is this crazy?

Thanks!
Ancient Lady
Valued Member
21
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 18th Nov 2013 16:15
There had been an attempt to do something along those lines with an on-line version of AppGameKit (and I forget what it was called). But it did not do well (I forget why) and was dropped.

Trying to do your own port of Tier 1 to javascript is probably not practical. You would need to create the entire interface between javascript/html and the byte code interpreter. Interfacing Javascript with C++ is not for the faint of heart.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
BraindeaD
17
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 18th Nov 2013 16:58
Hi all,
The name of the online/html5/web AppGameKit version was FreeEngine... and yes, sadly it was dropped some months ago.

I'm not thinking doing a byc interpreter in javascript but convert, line by line, the agk tier 1 code to javascript code. Loops, IFs and variable definition could be easy, the problem will be convert (rewrite) all the AppGameKit functions (sprites, fonts, sounds and so) in javascript. Yes, it could be a hell.
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Nov 2013 17:04
@BraindeaD
monkey have a html5 target but it cost 100$,
its also for making games.
http://www.monkeycoder.co.nz/

AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670
BraindeaD
17
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 18th Nov 2013 17:17
Thanks for the info, Markus.
I do not like Monkey language. I tried it before buying AppGameKit and now I'm trying the demo again, making a little game to test the performance of html5 (the demo generates html5 output), I think I would just use Monkey to html5. For the rest of the targets, I prefer AGK.
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Nov 2013 17:45
he he,i am sure you will like monkey more then html+javascript
but you need some months to understand this special kind of language.

AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670
Daniel TGC
Retired Moderator
18
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 19th Nov 2013 11:13
www.freedomengine.com it's still running just not being developed. HTML5 has sandboxing issues which means the traditional method of saving permanent files to the users hard drive such as save games is a tricky concept. It really required a whole database structure which doesn't really exist in AppGameKit yet and thus freedom engine didn't have access to it either.

It's a shame I really loved the product.
Arbrakan
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location: Geneva
Posted: 19th Nov 2013 16:28 Edited at: 22nd Nov 2013 11:35
What about HTML5 Web Storage ?

xCept
22
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 19th Nov 2013 19:19 Edited at: 19th Nov 2013 19:19
Yes, HTML5 has a variety of local storage capabilities that make it easy to store and retrieve data locally (outside of cookies). Along with the simple web storage API, which many Web apps use, it also supports local SQL databases that can be generated on-the-fly and require no server interaction. So, it's actually pretty painless these days to support local saving and storing of data.

The biggest limitation of Freedom Engine, IMHO, is that it was powered by WebGL instead of native HTML5 canvas operations. That made porting from AppGameKit substantially easier for TGC, but WebGL still had very limited use across browsers and often would be more sluggish than native canvas alternatives. This is why the majority of HTML game frameworks are built around native canvas, with only a few also offering WebGL support for machines that can support it. WebGL support has come a long ways since the dawn of Freedom Engine, however.
bjadams
AGK Backer
17
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 21st Nov 2013 21:36
I bet we will see a FreedomEngine kickstarter sometime next year
Alien Menace
AGK Developer
20
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 28th Nov 2013 18:58
Freedom Engine was an interesting idea but I ended up despising it because it took a lot of crucial development time away from AGK.

Apps published: 4

Login to post a reply

Server time is: 2025-05-23 17:09:06
Your offset time is: 2025-05-23 17:09:06