• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Best practices with steam functions

obscene

Member
Curious as to whether there are any important things to do regarding steam. For instance to award an acheivement I realize you do this...

Code:
//pseudocode
if !get achievement  set achievement
But should I also be doing this?

Code:
//pseudocode
if steam_initialised()
  {
  if !get achievement  set achievement 
  }
Or even this?

Code:
//pseudocode
if steam_initialised()
  {
     if steam_is_user_logged_on();
     {
     if !get achievement  set achievement
     }
  }
I would think there are a few things like this to know, but really from the manual all I can understand are how to use the functions individually.
 
C

CoderJoe

Guest
I would check on some tutorials regarding steam. I personally have never used the functions but I would assume you are correct in checking things first.
 
Top