API Tools Update
@PsychoGoldfish launched a big update to the API Tools in our project system!
This update applies to game developers who want to integrate our Newgrounds.io API for high scores, medals and other assorted features like stats and event tracking.
This new layout includes a number of quality-of-life improvements. For example, you can now drag multiple medal icons into the upload box and it will let you set them up sequentially from there. You can also manually arrange the order of your medals, so you no longer need to add medals in the exact order you want them to appear. The suggested medal size is now 100x100. Our system now packs your medals into a spritesheet, so the game view page only needs to load a single image regardless of how many medals you have. This makes a huge difference on games like Achievement Unlocked 2.
If you access your stats page, the old Flash-based graph has been replaced with a non-Flash graph you can actually see.
Everything throughout the process has been streamlined for better ease of use and less confusion. Take some time poking around and let us know what you think!
The next update is in progress and will address both project owner mod tools and site moderator tools. We decided to push part of this live ahead of time so people can use it in our July Jam.
Under your Project Details form, when you upload a game file we offer file-specific options, such as touch screen friendly and gamepad support.
We’ve added a new option, “Uses SharedArrayBuffer.” Enable this option if your game requires SharedArrayBuffer, something some game engines like Unity and Godot use for enhanced performance. For security reasons, browsers have locked down on how SharedArrayBuffer works, meaning pages that use it can’t load third party content without that content having the appropriate settings. For example, at the moment if SharedArrayBuffer is enabled on a page, embedded YouTube videos won’t work on that page.
This is a confusing and evolving area. If you upload a game to NG and it doesn’t work, check your browser console and if it says your game requires SharedArrayBuffer, enable it under your project settings and that should solve it.
Expect bumps in the road because of how new this stuff is. Let us know if anything is broken!