Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Scoreloop

  1. #1
    Member
    Join Date
    Apr 2012
    Posts
    101
    Post Thanks / Like
    Mentioned
    4 Post(s)

    Scoreloop

    Thought I'd mention this one if it hasn't been already. I've been getting a lot of requests to add leader boards into my game (and by a lot I mean my brother asked me, and my buddy at work). It seemed a natural fit b/c after you've played a few rounds of my word game and compared your score against your wife's best. There's really not much reason to keep playing. So I needed a leader board.

    I've seen this implemented in many games and most of the time I never use them b/c they're horribly annoying. You need to create accounts and annoyed with more ads, and the leaderboard often requires the oddest permissions, and is a pain to navigate. I saw reiti talk about this one in another thread, and Cut the Rope uses it too, so I spent the wknd integrating it. And I have to say. I like it. Was a relative cinch to plug in. All you need for creating an account is a display name and an email, and if you're not interested you click the "no thanks" button and it doesn't bug u for 7 days. And the only ads I've seen from it are when you click the other games button you see other games using Scoreloop, which isn't even an ad, really.

    What I also really like is it's more than just a leaderboard. You can have achievements and challenges as well. And they give u an easy method to upload a score to facebook. You know where you see on someone's wall "I just got 165 points in Word Miner!" and a link to your game? Which is why I'm posting this in Marketing Methods. That part is also entirely optional. They have to click the "Upload to facebook" button.

    But anyway, I thought I'd pass it along. If anyone is looking for a way to do leaderboards, achievements and facebook posting. Scoreloop is an easy way to do all 3 at once.

  2. #2
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)

    RE: Scoreloop

    I agree.

    Scoreloop is doing very well. It is very unintrusive. You get a scoreloop screen at the first start (you can even handle that by yourself, if you want to do different) and user say yes/no to use it.

    If user wants to use it, just enter name and email, thats it - even if you do not accept in the first place, scoreloop does maintain a local highscorelist which gets submitted as soon as user accepts to join scoreloop.

    It does handle offline scores as well. 1 Drawback: there is only 1 user possible. once created, every user of the device submits score under that user.

    Unfortunately it is not a 5 click implementation and docs can be a bit confusing at the beginning but overall it can be implemented very fast while you still have the possibility to make a 100% integration in your app.

    One thing to mention: If you built in scoreloop, test everything and before(!) releasing, modify your scoreloop-app-account to "live" and delete the scores in advance. (i have forgotten that)

    Changing the score ordering BEFORE going live - existing scores will not get reordered.. confused me a bit :-)

  3. #3
    Senior Member XdebugX's Avatar
    Join Date
    Jan 2012
    Posts
    691
    Post Thanks / Like
    Mentioned
    25 Post(s)

    RE: Scoreloop

    I'm trying to integrate scoreloop into my latest app and am running into problems building the release version with proguard obfuscation. It seems proguard is obfuscating some of the scoreloop classes, I get this error when running on a device the release version:

    07-25 03:54:47.467 29124 29124 E AndroidRuntime: java.lang.RuntimeException: Unable to create application xdebugx.wordSearch.wordSearch: jav
    a.lang.IllegalStateException: ScoreloopManagerSingleton.init() failed to instantiate ScoreloopManager implementation: java.lang.NoSuchMethod
    Exception: NullTermsOfServiceManager(Session)

    I tried adding some lines to my proguard.cfg so that it wouldn't obfuscate the scoreloop libraries:

    -keep public class com.scoreloop.client.android.core.* { public protected *; }
    -keep class com.a.a. { *; }
    -keep class com.scoreloop.client.android.core. { *; }
    -keep class com.scoreloop.client.android.core.ui. { *; }
    -keep class com.facebook.android. { *; }

    -keep class com.scoreloop.client.android.ui.component.base.Rou ndCornerImageView

    But now I am getting a warning when trying to build for release, that:

    [proguard] Warning: com.scoreloop.client.android.core.ui.WebViewDialog : can't find referenced method 'android.view.View getZoomControls()' in class android.webkit.WebView

    Reiti, were you able to build your project with proguard obfuscation? Any ideas would help, thanks

  4. #4
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)

    RE: Scoreloop

    hm ... getZoomControls is deprecated and I think is removed from the latest android sdk..

    so if scoreloop uses a fallback for older sdk versions (which is legal) proguard will not be able to find the method.

    Unfortunately I am not a proguard crack and don't know in the moment how you can set an exclusion for proguard to not check this method :-)

  5. #5
    Senior Member XdebugX's Avatar
    Join Date
    Jan 2012
    Posts
    691
    Post Thanks / Like
    Mentioned
    25 Post(s)

    RE: Scoreloop

    Quote Originally Posted by reiti.net
    hm ... getZoomControls is deprecated and I think is removed from the latest android sdk..

    so if scoreloop uses a fallback for older sdk versions (which is legal) proguard will not be able to find the method.

    Unfortunately I am not a proguard crack and don't know in the moment how you can set an exclusion for proguard to not check this method :-)
    In that case I can use
    -dontwarn com.scoreloop.client.android.core.ui.WebViewDialog

    But I'm still getting error with classes not being found when running the app. Did you use obfuscation in Worm Puncher? If so could you share your proguard config file?

  6. #6
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)

    RE: Scoreloop

    No, Worm Puncher is not obfuscated yet, so I can get any bug reports easy to read.

    But I remember having a hard time with some other apps and proguard driving me crazy .. some of them were solved by restarting eclipse .. xD

  7. #7
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)

    RE: Scoreloop

    just implemented scoreloop in Tablet Tower Defense yesterday.

    some hours later, I received the first 1-star because the game needs the READ_CONTACTS permission :-) (needed by scoreloop)

    so you may be aware of that - paranoia is everywhere :-)

    http://www.reiti.net/tablet-tower-defense/blog/133/readcontacts-permission

  8. #8
    Member
    Join Date
    Dec 2011
    Posts
    124
    Post Thanks / Like
    Mentioned
    1 Post(s)

    RE: Scoreloop

    http://support.scoreloop.com/discussions/questions/78-read_contacts-permission-for-android
    So simply just remove it Personally I wouldn't install any game that needs a permission to my contacts

  9. #9
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)

    RE: Scoreloop

    AAAH! :-) thx for pointing me, that should be disabled per default ...

  10. #10
    Member
    Join Date
    Apr 2012
    Posts
    101
    Post Thanks / Like
    Mentioned
    4 Post(s)

    RE: Scoreloop

    Ya, I was worried about that. I put at the top of my version revision notes what it's for. But, I went and tried to add a friend from my address book and it didn't even work anyway! So I think I'll just take it out.

Page 1 of 2 12 LastLast

Similar Threads

  1. Scoreloop from the get go?
    By Spudgun in forum Android Development
    Replies: 3
    Last Post: 2012-10-24, 05:33 PM
  2. Scoreloop problems...
    By megasoft78 in forum Android Development
    Replies: 2
    Last Post: 2012-09-04, 06:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •