Newgrounds: Publish + Medals & Scoreboards
Newgrounds is one of the oldest web-game sites, with a big audience for browser games. Its free Newgrounds.io API adds medals (achievements), scoreboards, and cloud saves to any HTML5 game.
| Cost | Free |
| Upload from Bash / GitHub Actions? | ❌ No upload API. You upload the ZIP on the website. The bot can build the ZIP for you |
| Needs a Bash API key? | ❌ No. The App ID and encryption key go inside the game (that’s how Newgrounds.io is designed) |
| Good for | Reaching players, medals, high-score tables |
Part 1: Create the game project
- Sign in at https://www.newgrounds.com.
- Go to https://www.newgrounds.com/projects/games/new.
- Fill in the title and the basic info. You can finish the rest later.
- Scroll down and click API Tools.
Part 2: Get the App ID and encryption key
- At the top of API Tools, copy the App ID. It looks like
12345:AbCdEfGh. - Under Encryption settings, choose AES-128 with Base64, and copy the Encryption Key.
- While you’re there, add any medals (name, description, icon, points) and scoreboards you want. Note each medal’s and scoreboard’s ID number.
These two values end up in the game’s code, where anyone could find them. That’s normal for Newgrounds.io. Encryption only stops casual cheating, so treat medals and scores as “for fun”, not as proof of anything.
Part 3: Ask the bot to add Newgrounds features
Send the bot:
Add Newgrounds.io to the game. App ID
12345:AbCdEfGh, encryption key…. Medals: “First Win” = 81234. Scoreboard “High Score” = 14567.
The bot adds the official NewgroundsIO-JS library and calls like “unlock medal” and “post score” at the right moments. The game should still work when it isn’t on Newgrounds. Medals just quietly do nothing there.
Part 4: Upload the game
- Ask the bot: “Make a Newgrounds ZIP of www/.” You get a ZIP with
index.htmlat the top. - On the project page, open Upload and choose HTML5 (ZIP), then upload it.
- Set the game size (width × height) to match the game.
- Fill in the description, icon, and rating, then click Submit. Newgrounds reviews games before they appear publicly (“Judgment”).
Each update means uploading a new ZIP the same way.
Troubleshooting
| Problem | Fix |
|---|---|
| Medals never unlock | The player must be signed in to Newgrounds and playing on newgrounds.com. Check the App ID, encryption key, and medal IDs. |
| “Invalid app ID” | Copy the whole App ID, including the part after the :. |
| Game is blank on Newgrounds | index.html must be at the top of the ZIP. Use relative paths (./game.js, not /game.js). |
Checklist
- Project created → API Tools
- App ID + AES-128/Base64 encryption key copied
- Medals / scoreboards created (optional)
- Bot added Newgrounds.io to the game
- ZIP uploaded as HTML5 and submitted
Links
- Newgrounds.io docs: https://www.newgrounds.io/help/
- Getting started: https://www.newgrounds.io/get-started/