play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
624 stars 126 forks source link

Use stackmob ? #63

Closed florindumitru closed 11 years ago

florindumitru commented 11 years ago

Is possible to use backend - stackmob.com ?

chris-gc commented 11 years ago

Hello-

Thank you for your interest in the DevKit! It seems like you would like to use either the StackMob workflow to create business applications, or you would like to use their REST API from a DevKit game.

The StackMob workflow is specific to their product and user group. Our workflow is geared towards building 2D JavaScript games, offering good trade-offs in flexibility, speed of development, and FPS. So, no unfortunately it is a different workflow that cannot be applied to DevKit.

However, if you are looking to use the REST API for StackMob from a DevKit game, then yes this is possible using standard XHR. Please see the AJAX documentation: http://docs.gameclosure.com/api/utilities.html#module-util.ajax

I hope this answers your question. Have fun writing your game and be sure to share it back with us to play also!

-Chris

florindumitru commented 11 years ago

@chris-gc I want to build a game and I need stackmob to store users data. Thx for answer, XHR is what I need.

bubbleboy14 commented 11 years ago

How fun! What kind of game are you making?

On Fri, Jun 28, 2013 at 10:56 PM, Florin Dumitru notifications@github.comwrote:

@chris-gc https://github.com/chris-gc I want to build a game and I need stackmob to store users data. Thx for answer, XHR is what I need.

— Reply to this email directly or view it on GitHubhttps://github.com/gameclosure/devkit/issues/63#issuecomment-20224966 .

florindumitru commented 11 years ago

Multiplayer game based on map(I see I can use openstreetmap for gc, can I use google map too ?) you will see :) ... anyway the game is 50% made already in html5 but gc is far better in performance so this is why I want to use it... hope to can use it

bubbleboy14 commented 11 years ago

Awesome! That sounds really cool. Check this out:

http://www.gameclosure.com/blog/2013/06/announcing-devkit-native-plugin-system-geolocation-plugin-and-map-library

Hope it helps!

On Sat, Jun 29, 2013 at 12:26 AM, Florin Dumitru notifications@github.comwrote:

Multiplayer game based on map(I see I can use openstreetmap for gamclosure, can I use google map too ?) you will see :) ... anyway the game is 50% made already in html5 but gc is far better in performance so this is why I want to use it... hope to can use it

— Reply to this email directly or view it on GitHubhttps://github.com/gameclosure/devkit/issues/63#issuecomment-20225865 .