Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | phanblood | |
Old Version | Published before Godot 3 was released. |
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?.
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?
Zylann | 2017-03-03 01:56
is for html5 games. with newgrounds api i can add archievement and other things in newground page (sorry for my english :t)
phanblood | 2017-03-03 02:34
Looks like they have something http://www.newgrounds.io/help/communicating-with-the-server/
eons | 2017-03-03 03:17
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.
Zylann | 2017-03-03 20:15