Skip to content
@g-js-api

g-js-api

G.js Project

Welcome to the G.js project, which the goal of is to allow you to easily create trigger logic, deco, or anything purposed for GD using JavaScript/TypeScript.

Why JS?

At first, the choice of using JS for this project might sound stupid, but there are reasons:

  • The ecosystem is very large, meaning you won't have a super hard time finding tools specifically for your GD project
  • It's an easy language to learn
  • It's one of the faster interpreted languages

Why use this instead of something like SPWN?

While SPWN is a quite well-known and beloved project, it has its flaws: it's no longer maintained by the developers due to many factors, it's EXTREMELY slow, it can't do much without the assistance of another language and it has bare to no support for 2.2 objects.

G.js tries to fix these flaws for something at least somewhat more usable for SPWN if you would like to write programs for non-trigger-related things.

How do I use G.js?

If you have experience in SPWN, this should be much easier, as SPWN was the original syntax inspiration, though parts of the syntax have been changed to fit JS syntax. You can start by reading the Usage section, which highlights some of the syntax differences from SPWN, and use the Docs to gather information about how G.js's methods & classes are supposed to be used + info about object properties, particle properties & event IDs.

Maintainers

  • bestgamer08 (main developer)
  • Brittank88 (currently reorganizing G.js)

Support

For support on how to use G.js or if you have bugs, feedback or useful criticism for improving the quality of the project, join the Discord server: https://discord.gg/GwVd7K2cQY

Popular repositories Loading

  1. G.js G.js Public

    G.js - Create Geometry Dash levels (with a SPWN-like syntax) in JavaScript

    JavaScript 30 4

  2. .github .github Public

Repositories

Showing 2 of 2 repositories
  • G.js Public

    G.js - Create Geometry Dash levels (with a SPWN-like syntax) in JavaScript

    g-js-api/G.js’s past year of commit activity
    JavaScript 30 4 0 0 Updated Feb 3, 2025
  • .github Public
    g-js-api/.github’s past year of commit activity
    0 0 0 0 Updated Sep 25, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…