Hi guys! I wanted to know is there a way to successfully connect to Newgrounds’ API in Clickteam? i need to know as I created an account on Newgrounds, and wanted to put in medals and scores.
Hi guys! I wanted to know is there a way to successfully connect to Newgrounds’ API in Clickteam? i need to know as I created an account on Newgrounds, and wanted to put in medals and scores.
Still no one replies LOL.
I just wanted to know if it was possible using their current APIs via: https://www.newgrounds.io/get-started/ and integrating the https://github.com/PsychoGoldfishNG/...vascript-html5 into the folders. Now, I do not know if this is possible. Is it?
If so, how would I do it?
You must code an extension to use their API , and use events on fusion;
eg: post score
If button clicked : postScore some_scoreboard_id (first input) and the score in (second input);Code:function postScore(scoreboard_id, score_value) { /* If there is no user attached to our ngio object, it means the user isn't logged in and we can't post anything */ if (!ngio.user) return; ngio.callComponent('ScoreBoard.postScore', {id:scoreboard_id, value:score_value}); } postScore(some_scoreboard_id, your_score);
I use visual studio community 2019 and Html5 Sdk of CT to produce .mfx file and .js file..
I know nothing about coding an extension unfortunately. How long do you think it will take to finish your project and move onto the Newgrounds extension? Will it be able to download for free?
I'm sorry if I'm bothering you or being a little bit pushy, but it has been a while since the last Newgrounds extension was developed for free in the Flash Clickteam extension.
Flash isn't supported and I don't want to buy it if the extension doesn't work. I actually don't think that the Newgrounds extension works for Flash anymore unfortunately.