OK - I thought I had a handle on this, but for the life of me, I haven’t been able to get any of the samples to actually communicate with dimerocker’s API. I’m a javascript coder, and try to avoid the CS code as much as possible. Is there a good tutorial out there for using javascript to connect with the API? I scoured the dimerocker sites and forums, but I’m lost. I’ve added the API to a couple of my projects, and tried uploading them to the facebook/dimerocker site. They show up, and I have set some preliminary things (achievements, a couple items to purchase) on the site - just for testing for now - to see how it all interacts so I can start integrating it all into my major projects.
BUT, I can’t figure out exactly where to put any of the sample code. I’m using the latest version of Unity (have been upgrading every time a new version comes out, and finally getting the time to actually dig into it all - I LOVE Unity!!! I feel like a kid in a toystore with all the features available!)…
Anyway. I may very well have missed something, a tutorial or page somewhere out there that would make it all click for me - but I’ve been looking everywhere and finally just broke down and gave up. Could you post a fairly simple step-by-step for after I have dimerocker’s API installed (shows up in the menu, I have my secret-token entered, I see the “dimeRocker arcade” object in my Hierarchy in my project, and the “dimeRocker Listener” under that…
Now say I look at the sample code for “Displaying User Information” from the docs.dimerocker.com site (Examples/Local User Example from the left-side menu on your documentation site)…
Now what?.. I tried just copying that code, but have no idea at this point where to put it. If I can figure out where that goes, it’ll all click. But I just can’t for the life of me figure out where to put it (also, I do believe there’s a line-break in the middle of that last string, and a period missing in the “drUser localUser = drClient.User.localUser;” line (about 20 lines down or so), and a reference toward the end of the example that also seems to be missing a period: “foreach (drUser friend in localUser.socialNetworkFriends) {”…
Help please! I really want to understand this, but though it’s bad enough I know I’m inept with CS, and would rather code it in javascript, it’s even worse when I think the sample code has errors in it, making it twice as hard to figure out if I’m doing it right, or if there are errors that aren’t even due to my own inexperience…
I REALLY want this to work. And it “looks” easy enough to implement. But I just need that last push (and clean sample code with a bit more instruction on where exactly to put it to see how it works)…
Please… please… hellllp meeeeeee… (little fly voice… sorry - getting loopy here from sitting on this computer all day with kiddos and kittens distracting me).