User Tag List

Results 1 to 10 of 10

Thread: Connecting to Newgrounds API?!

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Connecting to Newgrounds API?!

    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.

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still no one replies LOL.

  3. #3
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrknd94 View Post
    Still no one replies LOL.
    Hi, when finished my works i will try to make an extension to upload html5 games to Newgrounds using their sdk libs ... this wil take some times so be patient;
    I can not drop projet for starting another one ;

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Hi, when finished my works i will try to make an extension to upload html5 games to Newgrounds using their sdk libs ... this wil take some times so be patient;
    I can not drop projet for starting another one ;
    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?

  5. #5
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrknd94 View Post
    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
    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);
    If button clicked : postScore some_scoreboard_id (first input) and the score in (second input);
    I use visual studio community 2019 and Html5 Sdk of CT to produce .mfx file and .js file..

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    You must code an extension to use their API , and use events on fusion;

    eg: post score
    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);
    If button clicked : postScore some_scoreboard_id (first input) and the score in (second input);
    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.

  7. #7
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrknd94 View Post
    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.
    6 months to start and finish, i have massive todo list, sorry for that ;

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    6 months to start and finish, i have massive todo list, sorry for that ;
    Hey. Have you got the time to do this? I really do appreciate it if so.

  9. #9
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrknd94 View Post
    Hey. Have you got the time to do this? I really do appreciate it if so.
    Be patient please , i am now on C# project and after that some android java project waiting and hope return to javascript for your request;

    I lost two months without a computer!
    Regards

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    mrknd94's Avatar
    Join Date
    Jun 2017
    Location
    United Kingdom
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    Quote Originally Posted by Gigatron View Post
    Be patient please , i am now on C# project and after that some android java project waiting and hope return to javascript for your request;

    I lost two months without a computer!
    Regards
    I mean... April last year up until now...

    Thanks.

Similar Threads

  1. Connecting to Newgrounds' API
    By ShirakuHikao in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 6th November 2015, 04:28 PM
  2. Connecting Ouya to PC
    By jregork in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 2nd July 2013, 03:33 PM
  3. Connecting to Facebook in a .exe?
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th November 2012, 12:59 AM
  4. Not connecting to servers
    By Milo87 in forum Lacewing
    Replies: 13
    Last Post: 11th August 2010, 01:01 PM
  5. Connecting?
    By RickyRombo in forum Lacewing
    Replies: 6
    Last Post: 18th April 2009, 06:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •