I've decided to make an achievement system using RenPy Achievements. UPDATE (I figured it'd be easier to create a downloadable file including a short tutorial and the code.)
Here's a quick video of what it looks like in my game so you can get an idea.
Some screenshots. The first is the screen of what it looks like in my game, and the second is showing the notification displayed at the top of the screen.
This took me a long time to figure out, but I'm happy to have got it working.
If anybody is interested in learning how to create a persistent list I will create a simple walkthrough tutorial on the RenPy Lemmasoft forum soon.
It is impressive!
I watched the video and it looks great.
I really wish you would give an example of how to use each part of this wonderful tutorial (with persistent data).
I appreciate your effort and time spent.
Regards.
I speak and write in Spanish. I use an English-Spanish translator to express myself in this forum. If I make any mistakes, please forgive me.
I try my best to give an answer according to your question.
This took me a long time to figure out, but I'm happy to have got it working.
If anybody is interested in learning how to create a persistent list I will create a simple walkthrough tutorial on the RenPy Lemmasoft forum soon.
It is impressive!
I watched the video and it looks great.
I really wish you would give an example of how to use each part of this wonderful tutorial (with persistent data).
I appreciate your effort and time spent.
Regards.
Thank you!
I'm still working to perfect it.
However, I've come across a small problem where for example if you earn, let's say, 10 achievements in a "new" save and you go back to an old save those achievements don't show up, as in, they are locked as if you never earned them at all, but they are actually there, just not in older save files.
I'm looking to see how I could fix that as it may come across as concerning to see your achievements just suddenly disappear.
If anyone has any idea on how to solve this I'd be more than happy.
Thank you for updating the topic.
I will try to incorporate this into my game.
Thank you very much <3
I speak and write in Spanish. I use an English-Spanish translator to express myself in this forum. If I make any mistakes, please forgive me.
I try my best to give an answer according to your question.
In the class "__init__" method, you may want to provide a "fit" property to the "Transform", as the default ("fill") will mess with aspect ratios.
"contain" avoids messing with aspect ratio, will use 100 for the big dimension and keep the other one the corresponding ratio (a 200x150 image will be transformed to 100x75 instead of 100x100)
"scale-down" does the same but if the image is already small enough it doesn't enlarge it.
SiegeWizard wrote: ↑Fri Jun 25, 2021 3:51 am
In the class "__init__" method, you may want to provide a "fit" property to the "Transform", as the default ("fill") will mess with aspect ratios.
"contain" avoids messing with aspect ratio, will use 100 for the big dimension and keep the other one the corresponding ratio (a 200x150 image will be transformed to 100x75 instead of 100x100)
"scale-down" does the same but if the image is already small enough it doesn't enlarge it.