Forum Games Are Achievements possible in AS3?

Discussion relating to game development with Flash

Are Achievements possible in AS3?

Postby robertflesch » September 29th, 2014, 5:49 pm

I was trying to add some achievements today, but I dont see an Achievements class anywhere and all of the example code is in C#.
How do you do it in AS3?

bob
robertflesch
Paid Member
 
Posts: 136
Joined: April 22nd, 2013, 9:18 pm

Re: Are Achievements possible in AS3?

Postby robscherer123 » September 30th, 2014, 1:37 pm

Yes they are in the documentation here: https://gamesnet.yahoo.net/documentatio ... hievements

You can access them through the client. Example: client.achievements.load()
robscherer123
Paid Member
 
Posts: 313
Joined: December 12th, 2012, 8:46 pm

Re: Are Achievements possible in AS3?

Postby robertflesch » September 30th, 2014, 2:37 pm

I see it in the documentation, just not in the included library.
There is not a class for achievements in the latest SDK that I downloaded.
Just downloaded it again to be sure.
For everything else there is a class in the playerio directory.
But I don't see a class for achievements.
And if I try to invoke it
client.achievements.load()
I get error
Access of possibly undefined property acheivements through a reference with static type playerio:Client.
robertflesch
Paid Member
 
Posts: 136
Joined: April 22nd, 2013, 9:18 pm

Re: Are Achievements possible in AS3?

Postby robscherer123 » September 30th, 2014, 3:10 pm

Are you using the PlayerIOClient.swc or are you importing using the playerio folders? From what I've noticed the playerio folders are old and don't contain most of the new API things. I have no clue why they don't just remove it or why it hasn't been addressed though. Use the PlayerIOClient.swc and it should contain everything you need. Does this seem to be the case?
robscherer123
Paid Member
 
Posts: 313
Joined: December 12th, 2012, 8:46 pm

Re: Are Achievements possible in AS3?

Postby robertflesch » September 30th, 2014, 5:11 pm

ah, man thats a red herring if I ever saw one!
I will give the swc a try.

You are my hero once again robscherer!
robertflesch
Paid Member
 
Posts: 136
Joined: April 22nd, 2013, 9:18 pm

Re: Are Achievements possible in AS3?

Postby asdarty12 » February 16th, 2022, 3:13 pm

robertflesch wrote:ah, man thats a red herring if I ever saw one!
I will give the swc a try.

You are my hero once again robscherer!

https://apkmodule.com/cooking-fever-mod-apk/
asdarty12
 
Posts: 24
Joined: February 16th, 2022, 2:19 pm


Return to Games



cron