Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
neometalero
Regular
Posts: 198 Joined: Sun Oct 23, 2016 3:51 am
Completed: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Projects: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Deviantart: neometalero
Contact:
#1
Post
by neometalero » Sat May 19, 2018 4:00 pm
Hi I have some doubts about the achievement's syntax. I already have the steam api on my project. I just need to insert this code to define the achievement?
Code: Select all
init:
$achievement.register("achi_ID")
$achievement.sync()
and this to grant it?
Code: Select all
$achievement.grant("achi_ID")
$achievement.sync()
PyTom
Ren'Py Creator
Posts: 16093 Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:
#2
Post
by PyTom » Sun May 20, 2018 10:53 am
You shouldn't need to call sync in either case.
That's plausibly correct otherwise, but it depends on the details of the achievement that you registered in steam.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama •
https://www.patreon.com/renpytom
neometalero
Regular
Posts: 198 Joined: Sun Oct 23, 2016 3:51 am
Completed: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Projects: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Deviantart: neometalero
Contact:
#3
Post
by neometalero » Sun May 20, 2018 4:05 pm
PyTom wrote: ↑ Sun May 20, 2018 10:53 am
You shouldn't need to call sync in either case.
That's plausibly correct otherwise, but it depends on the details of the achievement that you registered in steam.
Tks for the reply, I read that the sync was not necessary for steam because it sync automatically but I was not sure.
Users browsing this forum: Google [Bot]