Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
Does it work well with Playmaker? Or rather can I use it without knowing code?
Yes and yes.
Hi Krmko,
Wondering if you could help me with this? I'm trying to use the Steamworks Foundation (free version) to unlock achievements but since this is all ScriptableObjects I'm not sure how set this up with Playmaker. I've followed their tutorial videos on how to set it all up and all that jazz, but I can't figure out how to unlock an achievement via Playmaker since I can't call methods from the script.
Can you point me in the right direction?
Actually, i did the achievements the old way and used Steamworks for leaderboards.
I have a singleton that holds the FSM's for each acheivement.
Once i, for example, pick up a gem, the gem sends the event to AchievementManagerGems FSM (Achievement). In the first state i get the steam achievement value (integer in this case) and store it.
In the next state, i add 1 (as in one gem collected) to the variable and then set the steam achievement value. Then i do some checking to see if i hit the value for achievement to unlock.
The i check to see if i already unlocked that achievement.
If i haven't, i go back to waiting for the achievement event. If i did, i set the achievement.
You have all the methods you need in the Heathen API, just get the component you need and call the one you need.
It's basically the same.