Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a basic game that I want to eventually turn into something better. The game is all Java as of right now, but I want to implement the Steamworks SDK into my game (so it can have achievements, and the Workshop, and so on). But Steamworks requires C++. Is it possible to have my full Java game implement the Steamworks SDK without rewriting it in C++? I am currently using the jMonkey Engine 3 for my game.

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

It's definitely possible, you would just need to create a thin layer wrapping the Steam SDK (or part of it) to java via the Java Native Interface

I'm not aware of any efforts to have an opensource library for this.

share|improve this answer
    
This appears to be a very viable solution. My only snag with this now is that I do not know how to implement this into my code or where. I would assume it would be somewhere in the main file, right? –  1Poseidon3 Mar 27 at 16:23
    
I took a deeper look at it and I am sure I will be able to figure it out. This answer was really helpful in setting me on the right path. –  1Poseidon3 Mar 28 at 13:32
add comment

Use Steam SDK and U can use Jar if they provide. check them issue and API. and after think about implementation. http://steamcommunity.com/dev/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.