On-Line Database Extension (Parse.com) = Abandoned

mdotedot

  • *
  • Posts: 1548
Hi Dtrungle,

Understanding the frustration! I agree on most of the points you made. When I made the extension I struggled to get the network-mechanism to work with the Stencyl Blocks.

In haXe (and ActionScript) you have a mechanism that is like this:
URLLoader.addEventListener(Event.COMPLETE,done);
And done is the function that it calls when the load is done. I didn't find any good alternatives for that in using the stencyl-block mechanism.
Thus resulting in the ID mechanism and 'guess-hitting' with after [ x ] seconds block to hope that you have the data in memory.

If you have any comments to share I'll more than happy to add it to the documentation!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • *
  • Posts: 1548
Hello All,

Made a video demonstration how to use the High Score Behavior.
Demonstration

Updated the OP as well.

Hope this helps a bit.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

ErLuiSS

  • Posts: 125
I tried to open the video but do not see anything, You can try to see if there is any problem in the video?  I open with various players but none sees nothing

mdotedot

  • *
  • Posts: 1548
Hello ErLuiSS,

It is working from my iMac.
Did you download the link? Otherwise it will try to open the AVI file directly in the browser.
Right clicking and 'save to ..' or something like that ... Then you should open the file with your favourite AVI player.
I used VLC and it runs fine.

Edit: I uploaded to youtube to avoid issues with the video. Just view it in high-definition otherwise the blocks are hard to read!

Best regards from
M.E.

« Last Edit: March 06, 2014, 10:32:50 am by mdotedot »
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

TwistedIdentity

  • *
  • Posts: 242
Hello ErLuiSS,

It is working from my iMac.
Did you download the link? Otherwise it will try to open the AVI file directly in the browser.
Right clicking and 'save to ..' or something like that ... Then you should open the file with your favourite AVI player.
I used VLC and it runs fine.

Edit: I uploaded to youtube to avoid issues with the video. Just view it in high-definition otherwise the blocks are hard to read!

Best regards from
M.E.

What's the Youtube link?
My Critter Android http://bit.ly/1gJyUs4
TI's FB Page: http://on.fb.me/1ijla4Y
Deadly Space Boss Arena 2: http://goo.gl/KIuowG

Follow me on Twitter: @jettas88

mdotedot

  • *
  • Posts: 1548
It is in the original (top) post and here for your convenience:
youtube-video

Regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonzero

  • Posts: 487
This extension is great, I didn't know of Parse.com but seems like a great way to send data to a server, I'm attempting to make a simple turn base multiplayer game, one option from Parse.com that seems very useful for that purpose is the simplified push notifications service, do you think this could be integrated in this extension one day? it would be the icing on the cake

Thanks for such a great extension! :)

mdotedot

  • *
  • Posts: 1548
Hello Bonzero,

The turn-based multiplayer extension is written as we speak. It still will take a bit of time so please be patient!
The push notifications service ties in with the push-notification on the devices, which is not something I'm intend to make .. maybe another extension will be delivered for that by someone else?!?!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

SadiQ

  • Posts: 1778
@Bonzero: If you're in a hurry try visiting Nuggeta.com. I'm working on a multiplayer game right now and I'll post the extension when I'll be sure it works as expected, but you could use their API without the extension blocks (you'll have to code things by hand thou).
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonzero

  • Posts: 487
mdotedot I though that the existing extension would work ok  since you can pull data from the server every 1-2 seconds and update the game status like that, not the best way (probably a long game would drain your battery with so many connections) but it would do for a turn based game

SadiQ that solution works great as well and it's already haxe-open fl compatible, still the missing link for a turn base game is the push notification, but I found this that could help with the job.. http://www.easyapns.com
Will try the API but i'm not good at programming... looking forward to your extension 8)

mdotedot

  • *
  • Posts: 1548
SadiQ: Do you have information on their prices? I tried for a few minutes to find it on their site. I signed up but I have to wait for some kind of approval. Took a look at the API and they have HaXe (!!!!)

I selected Parse.com for my efforts since you can use it for free so long as you don't generate much traffic.
If we would generate a lot of traffic it propably means that you can make money with it and therefore pay parse.com.
How is their price-schema?!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • *
  • Posts: 1548
mdotedot I though that the existing extension would work ok  since you can pull data from the server every 1-2 seconds and update the game status like that, not the best way (probably a long game would drain your battery with so many connections) but it would do for a turn based game

I thought you were looking for this kind of information: http://www.openfl.org/archive/community/programming-haxe/remote-push-notifications-extension/

During game-play you would definitely want to have something that SadiQ is working on, or use the current Parse.com extension. What I'm currently doing is to make a parse.com wrapper so that the 'join room' and player-house-keeping is done for you instead that you have to worry about these things and just send and receive data.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonzero

  • Posts: 487
mm that haxe extension seems outdated, the download  link doesn't work
I watched a tutorial about the easyaspn solution but it needs adding code on xcode which i'm afraid of touching hehe

Since Parse.com offers a solution for aspn in their SDk I though it could be implemented in the same extension
Anyway I'm excited about seeing new features like the one you mentioned for multiplayer games

One problem I'm having trying to use your other extension "GUI extension" is in the "set LoginName to "create actor"" part
I'm getting this error when compiling=

GUI (198) -  Bool should be Int
GUI (198) -  For function argument 'physicsMode'

mdotedot

  • *
  • Posts: 1548
Are you sure that your LoginName is an Actor?
The attribute must be an Actor-Attribute. Not a Actor Type or any other attribute!

Regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

SadiQ

  • Posts: 1778
SadiQ: Do you have information on their prices? I tried for a few minutes to find it on their site. I signed up but I have to wait for some kind of approval. Took a look at the API and they have HaXe (!!!!)

I selected Parse.com for my efforts since you can use it for free so long as you don't generate much traffic.
If we would generate a lot of traffic it propably means that you can make money with it and therefore pay parse.com.
How is their price-schema?!

Best regards from
M.E.

They said they intend to keep their services free for indie developers, and right now they are free and very easy to use.
The only downside at the moment is the lack of socket connections (for now), so their API is better suited for turn based games(unless one chooses their flash API).
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.