Git Product home page Git Product logo

ng.hx's People

Contributors

msghero avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ng.hx's Issues

Getting "Missing required file name"

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.

Organization of methods

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.

Gonna do cpp/etc?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.