Nuggeta Extension: for multiplayer online games, Leaderboard, Chat and Inventory

mdotedot

  • Posts: 1569
Hello All,

SadiQ and myself want to introduce the Nuggeta Stencyl Extension (version 2014-04-13 = Beta)

Latest version: https://drive.google.com/file/d/0B9mpX1WSL_pobm9kOTU1RUJMY3M/edit?usp=sharing

The online multiplayer extension is for turn-based and non-realtime games.

The installation of the Extension involves three steps:
  • Install the Stencyl Extension like any other extension
  • Create an account at nuggeta.com
  • Download your own Nuggeta Library and put it in the Stencyl Nuggeta Extension folder
Installation instructions included on the Nuggeta Extension Documentation page: Nuggeta Installation

Known issues:
  • Native Windows publication fails with compilation errors
  • Arcade publication doesn’t work, but it does everywhere else where we tested
  • Android untested with Social Network Login

Some links :
Blog       :    Turn Based Blog
Demo 1:    Chat
Demo 2:    Rooms
Demo 3:    Coordinates

Best regards from
MdotEdot
and
SadiQ

« Last Edit: September 20, 2014, 10:32:19 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.

SadiQ

  • Posts: 1782
You can find some basic info of the things that Nuggeta offers in HERE

« Last Edit: April 30, 2014, 08:00:53 am by SadiQ »
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Abliblablobla

  • *
  • Posts: 524
Congratulations for the release! I haven't tried this extension yet, but I think that a lot of people will find it extremely useful!
.: BuruBuru :.

HopFrog

  • *
  • Posts: 44
Wow, this is a game changer. Many thanks!

mat0pad

  • Posts: 364
Nice will try it out right away!
   


                              

ErLuiSS

  • Posts: 125
i have an error whit leaderboard code... check this web:

https://docs.google.com/document/d/1UYf-iFi0AD3OKP74owiwnXVs09911fqWWT11NASUa1w/edit?usp=sharing

how i can can see the scores in a column?

mdotedot

  • Posts: 1569
Hello ErLuiSS,

Thank you for your interest.
There isn't really an error. I know it is not the way you expect it to work, but if you go to the Nuggeta Developer website.
Go into Social and click on the Leaderboard.
You see the exact same list with reoccuring playernames. The only effect you have is when you set the properties of the Leaderboard to only overwrite = create new entry in the leaderboard when the score is higher/lower (according to order)
So overwrite on their website is really creating a new entry in the list.

From the extension we give you the result from the Leaderboard. You have to split the data into columns yourself.  And also find the highest/lowest score yourself. Maybe we change that for a future release but then we might need a 2D List and that is done in other extensions.

Hopefully I tried to explain what is going on and you are able to split the data yourself.

Edit: On my way over to work I realized I was addressing maybe another issue rather than the one posted. I will investigate and come back with an answer.

Best regards from
M.E.

« Last Edit: April 14, 2014, 10:03:00 pm 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.

mat0pad

  • Posts: 364
Is are any chance that these API calls can be added in the future?

Facebook and Google+ accounts:
List social friends -
Code: [Select]
getThirdPartyFriends(...)Challenge a social friend -
Code: [Select]
challengeThirdPartyFriend(...)Invite a social friend-
Code: [Select]
friendinviteThirdPartyFriend(...)Publish on your wall -
Code: [Select]
publishThirdPartyMessage(...)Publish on a friend's wall -
Code: [Select]
publishFriendThirdPartyMessage(...)
   


                              

mdotedot

  • Posts: 1569
Hello Mat0Pad,

Thank you for your interest.
We might include that in version 2.0 but that would increase the number of blocks :)

@ErLuiSS,

Very well spotted and sorry for the mistake in the getLeaderBoard call.

We returned the entire leaderboard for the length of the leader board :(

Please change line 482 in the MyNuggeta.hx  from
leaderBoard
into
Code: [Select]
leaderBoard[i]so that it reads:
Code: [Select]
retval.push(""+leaderBoard[i]);


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
thanks mdotedot now work good :D

EDIT:

is there a way that the scores (numbers) are separated from the names?

« Last Edit: April 15, 2014, 05:43:39 am by ErLuiSS »

SadiQ

  • Posts: 1782
@ ErLuiSS: You can use something like this:
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonechill

  • *
  • Posts: 271
My game Can't connect to Nuggeta even though I just set it up.
Play Gold Hunter on Kongregate, Newgrounds, or Stencyl Arcade

SadiQ

  • Posts: 1782
Is the extension properly installed? (maybe your folder structure is not the same as in the install instructions?)
Any error in the log viewer? What was the reply from the server?
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonechill

  • *
  • Posts: 271
Its all installed right.
Play Gold Hunter on Kongregate, Newgrounds, or Stencyl Arcade

SadiQ

  • Posts: 1782
Errors in the log viewer then? (Use the Nuggeta: Debug ON block)
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.