GameJolt Html5

Chat about anything not covered in these forums, but keep it civil!

Post » Mon Feb 11, 2013 7:55 pm

gamejolt is now accepting html5 games apparently.

From the tweet

"And after much tapping and clacking, the Game Jolt team presents: HTML5! Upload them games, and tell your friends and enemies."

Looks like it uses an iframe, as you just export to website. (index.html, and files in a zip)

Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Mon Feb 11, 2013 8:40 pm

Hey guys, this is CROS from Game Jolt.
We'd love to get your thoughts on the implementation and if anyone has suggestions.

I've also got some questions, because I'd love to get the Achievements API implemented, but since the iframe is on a different domain than the main site, does C2 support JSONP or similar to get around the cross-domain issues?

Example of achievements -- would be nice to have in C2:
http://gamejolt.com/developers/achievements/CROS2013-02-11 20:41:33
B
3
G
3
Posts: 40
Reputation: 955

Post » Mon Feb 11, 2013 9:07 pm

@CROS - you just need to set up Cross Origin Resource Sharing for your servers to make requests from a different domain. More info here: https://www.scirra.com/manual/107/ajax

(This answer originates from @Ashley who asked me to post it for him)
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Feb 12, 2013 6:39 pm

The API is now set up with CORS, so HTML games should be able to use the Game Jolt Achievements/Data Storage API in their games!

Let us know your experiences with the uploading process, guys. We try hard to make it easy and quick to add/manage games.
B
3
G
3
Posts: 40
Reputation: 955

Post » Tue Feb 12, 2013 9:12 pm

Cool, thanks @CROS.

Actually I would think its possible to use with Node-Webkit as well.

So there's yet another distribution method.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Tue Feb 12, 2013 10:42 pm

Sounds good; glad to see Gamejolt being progressive.
B
32
S
6
G
3
Posts: 121
Reputation: 6,066

Post » Thu Feb 21, 2013 2:40 am

Great news, CROS! Any plans to support an API specific to Construct 2, perhaps via a plugin? An example might be what clay.io has done with the Construct 2 plugin.
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Mon Feb 25, 2013 1:52 am

Yeah, we'd love to get a Plugin working for C2. We usually try to get the community to develop the plugins so that it stays up to date with community interest and what not. I'm not sure if anyone has any C2 plugin knowledge, but the GJ API is really easy to work with, especially in JS. I got a really small JS file that shows how easy it would be to make web calls to the API at: https://github.com/hworld/gj-html-api

I may start a plugin to get things going, but again, community help would be best!
B
3
G
3
Posts: 40
Reputation: 955


Return to Open Topic

Who is online

Users browsing this forum: MxDragon, stinkymetroman and 3 guests