I make games

  • 0 Posts
  • 116 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle











  • mozingo@lemmy.worldtoStardew Valley@lemm.eeJust took 8 years
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    14 days ago

    It’s a little different for steam/xbox/ps, but generally there’s two kinds of achievements. Trigger achievements and value achievements.

    The trigger type ones are the ones that fire once, like when you beat a level or get a certain item or something. These basically have an api call like TriggerAcheivement(achievementID).

    The value type ones are the ones like collect 1000 gold or kill 500 enemies. You could choose to handle this manually, and then just fire an achievement trigger, but this usually becomes complicated with multiple saves or crossplay, etc. So instead, there’s an api call like IncreaseStat(statID, 1). And you call that when you kill an enemy or whatever and once it’s been called 500 times, the achievement activates.

    You usually set all the achievements/stats up in the steam/xbox/ps backend and then your game is just responsible for calling those api functions when appropriate.



  • mozingo@lemmy.worldtoStardew Valley@lemm.eeJust took 8 years
    link
    fedilink
    English
    arrow-up
    27
    ·
    15 days ago

    Dev here. We decide the achievements. We have to set them up manually for ps5, xbox and steam. The idea is to give achievement hunter types more gamplay basically. Although certain game devs use achievements as a form of analytics. When you get an achievement like “Level 2 finished” that’s because the devs wanted to know how many players got that far in the game.







  • mozingo@lemmy.worldtomemes@lemmy.worldHappy Halloween!
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    edit-2
    20 days ago

    Sometimes on Halloween when families are out trick or treating themselves, they’ll leave a bowl of candy out in front of their house with a sign that says something like “take one per child”.

    This is a play on that, but it’s a bump of cocaine per child. You’re supposed to snort it using the key.