
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
newgrounds-boom
Advanced tools
With this Kaboom plugin you can use medals and post scores on Newgrounds.com
import newgroundsPlugin from "newgrounds-boom";
kaboom({
width: 500,
height: 500,
plugins: [ newgroundsPlugin ]
});
ngInit("52924:fdddr5yP", "oEZ7GGD79Wht9upZ4HH7Dw==", 1);
ngUnlockMedal(65025);
add([
text("ohhi " + String(ngUsername()), {size: 40, width: 400}),
origin("center"),
pos(width() / 2, height() / 2)
]);
onKeyPress("space", () => {
add([
text(String(ngVersion()), {size: 30}),
origin("center"),
pos(width() / 2, height() - 80)
]);
});
onMouseDown(() => {
ngUnlockMedal(65022);
ngPostScore(10739, rand(0, 9999).toString());
});
In your project, activate the "api tools" and you will see the following credentials

Before using the newgrounds features, you'll need to connect your game, use ngInit("App ID", "Encryption Key"). You can activate the debug mode, which will return the results by console (cool if you have not yet published your game), use ngInit("App ID", "Encryption Key", 1);
Using the credentials of this game, it would be like this:
ngInit("52924:fdddr5yP", "oEZ7GGD79Wht9upZ4HH7Dw==");
Once you have done the previous step, you can use the scores and medals. Let's see the medals, for that you must first have a medal, duh

We will use the ngUnlockMedal("Medal ID in Number") function
ngUnlockMedal(65022);
Now, to use the scoreboards, again, we have to have a scoreboard duh

We will use the ngPostScore("Board ID in Number", "score") function
ngPostScore(10739, 1234);
If you want to load the global types for use as other global Kaboom Functions, you can import from "load"
import "newgrounds-boom/global";
ngUsername(): returns a String with the newgrounds username of the player
ngVersion(): returns a Number with the version of the newgrounds app
ngIsSupporter(): returns a Boolean with the status of newgrounds Support player
FAQs
Newgrounds.io plugin for Kaboom
We found that newgrounds-boom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.