A
AFD456
Guest
Hello everyone, I can't get to work achievements and leaderboard. I created these two non-incremental achievements for scoring 10 points and 15 points.
When player dies I run this simple code:
Step Event:
if global.dead = true
{
if achievement_available()
{
// player has to score at least 10 points to show leaderboard
achievement_post_score('CgkIl6_3o-0fEAIQAQ', global.gamescore)
if global.gamescore >= 10
{
achievement_post('CgkIl6_3o-0fEAIQBw', 100)
}
if global.gamescore >= 15
{
achievement_post('CgkIl6_3o-0fEAIQCA', 100)
}
}
Then I use this code for Leaderboards and achievments button:
Mouse Event for Left Pressed:
if achievement_login_status() achievement_show_leaderboards()
if achievement_login_status() achievement_show_achievements()
When I score more than 10 points nothing happens even though I'm logged in my google play account.
Not sure where is the problem.
Thank you in advance for your time and answers.
When player dies I run this simple code:
Step Event:
if global.dead = true
{
if achievement_available()
{
// player has to score at least 10 points to show leaderboard
achievement_post_score('CgkIl6_3o-0fEAIQAQ', global.gamescore)
if global.gamescore >= 10
{
achievement_post('CgkIl6_3o-0fEAIQBw', 100)
}
if global.gamescore >= 15
{
achievement_post('CgkIl6_3o-0fEAIQCA', 100)
}
}
Then I use this code for Leaderboards and achievments button:
Mouse Event for Left Pressed:
if achievement_login_status() achievement_show_leaderboards()
if achievement_login_status() achievement_show_achievements()
When I score more than 10 points nothing happens even though I'm logged in my google play account.
Not sure where is the problem.
Thank you in advance for your time and answers.