How to define and add achievements?

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.
Post Reply
Message
Author
User avatar
Rated Z
Regular
Posts: 32
Joined: Sun Mar 01, 2015 10:20 pm
Projects: Western Destiny
Deviantart: dennyzartman
Soundcloud: denny-zartman
Contact:

How to define and add achievements?

#1 Post by Rated Z »

Hi there,

Sorry for the Noob question. I've Googled the heck out of this, and haven't come close to an answer.

How do I add achievements to my Ren'Py game? How do I define achievements first?

I'd love to add achievements, and eventually submit a game to Steam.

In my searching online, I found this following bit of code, but I guess the achievement needs defining before it can be granted, and I'm not sure how to define the achievement.

Code: Select all

$ achievement.grant("name")
Thanks very much for the help.

EDIT:

I have visited this link:

http://www.renpy.org/dev-doc/html/achievement.html

...but unfortunately when I try some of the code there, Ren'Py gives me an error message telling me the achievement is undefined. So, I'm hoping to find out how to define the achievement first.

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: How to define and add achievements?

#2 Post by trooper6 »

Steam Achievements are something, I believe, will come out in the next version of Renpy. So for Steam achievements I think you have to wait a few weeks for version 6.99. But I could be wrong about that.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Rated Z
Regular
Posts: 32
Joined: Sun Mar 01, 2015 10:20 pm
Projects: Western Destiny
Deviantart: dennyzartman
Soundcloud: denny-zartman
Contact:

Re: How to define and add achievements?

#3 Post by Rated Z »

You are correct. I messaged Tom via Twitter last night, and I found out that achievements are not possible yet. My apologies for starting this thread.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot], Rhapsy