really digging this little action rpg
Finishing games can be really hard, a lot of devs just go from project to project without every finishing anything. Game jams force you to finish something in a short amount of time, even if its not everything you wanted it to be. Finishing projects is a skill unto itself and participating in game jams can really help devs overcome that initial hurdle or get out of a funk.
At 9/8/21 11:25 AM, 3p0ch wrote:At 9/8/21 11:08 AM, PsychoGoldfish wrote:Will take a look after work today. The easiest implementation for most devs might be if we make a ngio.gd script that runs all the JS internally so they can pop it into their game as an AutoLoad.At 9/7/21 10:12 PM, 3p0ch wrote:@3amsoda came up with this solution using the JavaScript library in Godot: https://3amsoda.newgrounds.com/news/post/1208676At 9/7/21 02:46 PM, Scootakip wrote: Hey! I'm trying to get Rojekabcrojekabc's Newgrounds API plugin for Godot working, but I keep being met with a TLS handshake error. I believe I have everything set up the way it's supposed to be both in the Godot project and on the API page, the JSON file it's sending also seems to be right, but it still produces the error. This even happens in the example project that comes with the plugin. Any possible help?I don't think I ever got that Godot plugin to work directly, but I cannibalized its code and got Godot medals and leaderboards working. The code I had for a leaderboard was
You would need to put your own app ID and leaderboard ID where I have the ####, and use whatever value you want to post to the leaderboard instead of goo_left.
The code for medals was similar but the request parameters were
I would post it to NG.io but this few lines of code would hardly constitute an API. And I haven't incorporated encryption.
Let me know if you have any questions setting it up i'd be happy to help. My solution was just an html shell and calling methods with godots javascript singleton.
Worth noting that 4.0 is introducing a new way to integrate with javascript. So complex solutions might break with that release.