0 votes

Hi everyone, i'm newbie with godot engine and i have a question. how to can insert the newgrounds api (only achievements) in godot engine. exists some extension or something like that?.

in Engine by (12 points)

What is the Newgrounds API exactly? After a quick search I see there is a Flash one, and unless they did work on something new, there is no way to use that in Godot.
But if there is a C API or a web service to talk to, that could be possible to work on it.
Also, is it for HTML5 games or standalone export?

is for html5 games. with newgrounds api i can add archievement and other things in newground page (sorry for my english :t)

That looks like web service communication via JSON, so it can be done in GDScript by using the HttpClient and HttpRequest classes. All you have to do is to send objects over the network (dictionaries in GDScript).

Note that using HTML5 will be quite buggy with Godot 2.1.2, but will improve after 3.0.

1 Answer

0 votes

Hi,

For anyone, who want to use NewGrounds API with Godot, I've created Godot plugin.
I invite you to https://github.com/rojekabc/godot-newgrounds-plugin

by (164 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.