msghero / ng.hx Goto Github PK
View Code? Open in Web Editor NEWNewgrounds API written in Haxe
License: MIT License
Newgrounds API written in Haxe
License: MIT License
Poop
http://www.newgrounds.io/downloads/
I tried several different google searches thinking "someone had to of made one already" and many were fruitless until I found this. have you talked to Tom or whoever manages newgrounds.io to have this listed there?
I know this isn't a very active repo, but I'm working on a game with user created shared content and I've hit a pretty big wall.
https://github.com/MSGhero/NG.hx/blob/master/src/APICommand.hx#L161
As you can see filename is in there as both Filename and filename, I've also tried file_name but nothing works.
Here's the full setPostData I'm using
https://gist.github.com/Geokureli/9630720e3d72f0fd4267d3b55b4be570
P.S. I'm planning to merge all of this into my newgrounds API, since it looks like both APIs can be active at the same time for a game.
The API will eventually be a bunch of static methods, but how should those be organized? The flash API has
API.unlockMedal()
API.createSaveQuery()
API.postScore()
but it could be changed to
API.medals.unlockMedal()
API.saves.createSaveQuery()
API.scores.postScore()
There aren't THAT many methods, though, so it's not the biggest deal if they aren't grouped.
Flash and html5 (I assume) have access to Newgrounds vars such as username, userId, etc. What should be done about the cpp exports and java and stuff? Should use of the api be restricted to flash and js?
Tracking player count, hosts, and custom events are nice in general and don't rely on being logged in.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.