I make games

  • 1 Post
  • 127 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
    19
    ·
    edit-2
    3 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.


  • 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.
















  • So to answer your last question, yes. Video editing is probably one of the most demanding things you can do with a drive, and will shorten the lifespan of the device. But this is true for literally any kind of drive, and any operation you do with a drive. Hard drives may not have a write cycle limitation like ssds, but they have moving parts that wear with use. So theres not really anything you can do to avoid the issue. To video edit period, you’re going to put wear on your drive.

    Also to give some context, average SSDs have about 100,000 write cycles per cell, before write failure can have a chance of happening. Since it distributes it out across the cells, you could write 1GB to a 1TB SSD about 100 million times. This isn’t a small number really, it’ll take a while to do that. I’ve been editing here and there on my ssd for 5+ years on top of full time video game development and it still works fine, with no signs of stopping. I read some guy online who edited video nearly every day for three years, and the ssd software still said he had about 10% of the ssd life remaining before write failures. So depending in your work flow your drive could last 4 to 10+ years.

    The only real differences here are cost and speed. Do you want to wait around for a slow hdd while you’re editing, or do you want to edit quickly and enjoy the process? I personally would always edit on an SSD because you’re not solving the problem by using something else. Like yea, maybe a hard drive would last twice as long as an ssd, but it’s also twice as slow, so you’re just stretching those, say, 5 years of man-hours into 10. You’re not actually getting more work done on that drive.