HTML5 Game Achievements

Subscribe to HTML5 Game Achievements 8 posts

avatar for nik3daz nik3daz 2 posts
Flag Post

Hello all,

I’m new to this game dev stuff and I chose HTML5 because I was more familiar with javascript than actionscript.

I’ve now reached a point where I’m wondering if it’s possible to add achievements/statistics to a HTML5 game. Thus far there is a lack of achievements/stats in the HTML5 games category. Is this just because nobody’s done it or because it can’t be done? I’m guessing that this is the purpose of javascript API..?

Also, I read somewhere that I can upload the HTML5 game using the iframe option. Does this require me to have my own hosting solution externally? (running a super-dodgy home server at the moment)

Thanks for any and all help

 
avatar for Draco18s Draco18s 6860 posts
Flag Post
Originally posted by nik3daz:

I’ve now reached a point where I’m wondering if it’s possible to add achievements/statistics to a HTML5 game. Thus far there is a lack of achievements/stats in the HTML5 games category. Is this just because nobody’s done it or because it can’t be done? I’m guessing that this is the purpose of javascript API..?

I don’t think Kongregate has created an API for these types of games yet.

Also, I read somewhere that I can upload the HTML5 game using the iframe option. Does this require me to have my own hosting solution externally?

That would be correct.

I’m new to this game dev stuff and I chose HTML5 because I was more familiar with javascript than actionscript.

AS3 and JS are nearly identical.

 
avatar for Drakim Drakim 1135 posts
Flag Post

Wait, doesn’t kong have a JavaScript version of their API?

 
avatar for ErlendHL ErlendHL 1311 posts
Flag Post
Originally posted by Drakim:

Wait, doesn’t kong have a JavaScript version of their API?

I’ve got no clue how it’s working, but I dare suggest that using flash, the swf sends a function call to JavaScript doesn’t it?

 
avatar for Draco18s Draco18s 6860 posts
Flag Post
Originally posted by Drakim:

Wait, doesn’t kong have a JavaScript version of their API?

Ah, you are correct

 
avatar for truefire truefire 3011 posts
Flag Post

Dream World (and various other lousy iFrame waiting games) has badges, doesn’t it?

 
avatar for nik3daz nik3daz 2 posts
Flag Post

Hey guys, thanks for the info.

I guess I’ll give that JS api a shot.

Originally posted by truefire:

Dream World (and various other lousy iFrame waiting games) has badges, doesn’t it?

Dream World is an iframe game but not a HTML5 game I believe?

 
avatar for Drakim Drakim 1135 posts
Flag Post

All HTML5 games on kong are iframe games (but not vice versa, you can have a Java applet in an iframe)