This is a gamejolt post manually converted and improved to a site page. Just so you know.
To start off, you need a Game Page. You might already have one, or you might not know how to make one yet.
NOTE: Only works on PC (GJ Client or Website)
There are two methods to do this. But lets do it the way i did it.
First, go to your profile, click this
Click "Your Games", "Add Your Game", then follow the simple instructions given to you.
Alright here we go, Go to your game page's settings
And it should look a little something like this
Now go to Game API > API Settings, Show key.
Just a little warning: NEVER Give your private key to anyone, even your friends, favorite GJ Creators, and anyone else. Because if cheaters have the key, they can yeet fake requests at GJ pretending to be your game, and even cheat at getting trophies. Frick cheaters.
Open up your turbowarp project (or create one if you dont have one that you will be using this on), Make this code.
Remember: Dont use variables for id and key, those are just to censor the info that shouldnt be given to the public.
Feel free to code your own login script, or use the example.
Now that you have the API Setup for your project, its time to learn how to make trophies and how to make them achievabe.
First, Go back to Game Settings > Game API, but no we dont go to API Settings, but we go to (you guessed it) Trophies.
You will see trophy categories that are ultimately similar to Playstation (not sponsored by sony ok), so to test it out, add a new test trophy.
After creating it, you will see an ID that will be fed to a "Achieve Trophy" block to make it achievable. The "Remove Trophy" block, you might alr know what that does.
But the FETCH TROPHY can be combined with custom reporters to check if a specific trophy is unlocked by this account or not.
Try clicking the achieve trophy block with [id of the trophy you just created] in it, and if you are logged into your GJ account in your project, you should be awarded the trophy with that id.
In fact, does not only activate when you click on it.