Game Development Community

TGB + Steam API?

by BRR Games · in Torque Game Builder · 06/22/2011 (12:50 pm) · 8 replies

Hi all,

Did a search on "steam" but nothing useful turned up to answer my question. Is it possible to use the Steam API in a TGB project to add achievements, using Steam friends for MP and cloud saving? I've got TGB Pro too.

Thanks
Dale

#1
06/22/2011 (1:12 pm)
Of course, though you'd need the Steamworks API - https://partner.steamgames.com/. Been several projects that have implemented it in TGB and Torque 3D.
#2
06/23/2011 (1:17 pm)
Thanks!
#3
04/19/2012 (2:01 pm)
Sorry for doing a bit of necro posting hehe... But is there any examples regarding how to use the steamworks API inside TGB 2D?
#4
04/19/2012 (2:12 pm)
We do not have anything in the resources since it would violate the Steam agreement as well as most likely be out of date very quickly as the Steam API is updated. You should have access to the entry points to Steamworks once you are approved so that you can implement it.
#5
04/20/2012 (7:05 am)
Well thanks anyways. I'll see if I request approval on Steam. :)
#6
04/20/2012 (9:24 am)
And Yet It Moves is a good example of a TGB game that uses Steamworks.
#7
04/20/2012 (9:31 am)
Yup. Frozen Synapse and Space Pirates and Zombies are other examples.
#8
05/04/2012 (9:20 am)
You don't need to worry too much about interfacing your game with Steam until your game is near completion. The Steam API is designed to easily interface with games regardless of what engine they use. From what I read on freely available information, Steam API uses C++, so there shouldn't be any problem for the Torque engine to interact with it.

I think the best thing to do until then is make a module in your game that's responsible for interfacing with whatever platform it's on. This way, you can isolate all your Steam API calls in one class. This will also be useful for other platforms as well.