if getProperty("steam_initialized") then
print("Steam has been found!")
… do something here
else
print("No Steam anywhere to be seen")
… or do something here
end
The code is right, but did you read the steam documentation?
You need to drop the .dll, so, dylib files from the steam SDK (available in the steam partner site) into the executable directory.
This means:
Under WIndows:
yourgame/steam_api.dll
Under Linux:
yourgame/steam_api.so
Under MacOS:
yourgame.app/Contents/MacOS/steam_api.dylib
Now, if you upload the game (with steam) with the shared library files, and if the api can be initialized (you see it if the overlay starts) , then it returns true
EDIT:
With the next visionare version we renamed the Steam commands from getSteamStat to getGameClientStat, because we have added an cool thing