Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | The_Duskitty | |
Old Version | Published before Godot 3 was released. |
So i wish to implement the gamejolt API into my game so i can keep track of how long user’s have played and Highscores and all that
Seeing as they have an API written entirely for C++ is it possible that i can just put it in my game’s project folder and access and link it from there, or is godot still iffy on the whole coding in C++ thing?
Any help is appreciated and thanks in advance ^^
Edit: Okay, let me rephrase my Question, Can i take this library Here Gamejolt C++ Api
And Just put it in my Game’s Project folder and Access the API library from a basic GD Script?
This is not yet, but we hope that in a later version it would be possible. Currently you can recompile the engine with the library + some bindings for it in the modules/
folder.
Bojidar Marinov | 2016-04-01 06:07
There’s the HTTPClient in Godot, and the gamejolt api can receive calls over the HTTP protocol, so maybe it is possible to write a script with calls to the API inside. I tried to accomplish that and, in fact, I did, but the script was super-buggy, although it worked.
Ceilingdoor | 2016-04-01 10:12