Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey there, glad to hear the tool has been helpful! For making your own lists - you won't be able to use the built in Achievement.all_achievements list since that includes all the achievements (it's in the achievement_gallery screen in the line for a in Achievement.all_achievements:). But you're welcome to make your own list! For example, after the achievement declarations in the example, you could do

define chapter1_achievements = [ sample_achievement, progress_achievement, set_progress_achievement ]

and then you can copy the achievement_gallery screen and replace for a in Achievement.all_achievements: with for a in chapter1_achievements: and similar. If you're screen-savvy, you can reuse the achievement_gallery screen and simply pass in the list you want to loop over as well, though copypasta works just as well if you're not familiar with those! Hope that helps ✨

Hey, I've tried to put that into action and it seems to cause some issues on the backend. I try to run it (having my defined list and then replacing Achievement.all_achievements with the defined list) but somehow that causes there to be an attribute error where it tells me that the attribute 'Toggle' isn't connected to the 'str' object but looking in the back end file I can see where it is defined and I can't immediately see why the change of name would correspond to  whether or not this attribute would be defined.  So yeah , way over my head 😅 I'll do some messing around but all good if there's no clear answer.

Are you putting the actual Achievement objects into your list? The error sounds like you're just putting strings in instead. If you have a line like define abc_achievement = Achievement(...) then you need to put abc_achievement in the list. No quotes.

Exactly my problem! Thank you so much for catching that, works perfectly now!