00:00
00:00
Newgrounds Background Image Theme

Someone gifted MetalSlayer69 supporter status!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!
Response to: Front Page Suggestion Thread Posted January 16th, 2022 in General

really digging this little action rpg


Response to: Front Page Suggestion Thread Posted January 1st, 2022 in General

this game is dope



Response to: Front Page Suggestion Thread Posted November 18th, 2021 in General

Response to: Why do you participate in gamejams? Posted November 2nd, 2021 in Game Development

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.

Response to: Newgrounds.io Help & Support Posted September 8th, 2021 in Game Development

At 9/8/21 11:25 AM, 3p0ch wrote:
At 9/8/21 11:08 AM, PsychoGoldfish wrote:
At 9/7/21 10:12 PM, 3p0ch wrote:
At 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.
@3amsoda came up with this solution using the JavaScript library in Godot: https://3amsoda.newgrounds.com/news/post/1208676
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.


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.