A JavaScript ecosystem for making games

Write in JS, deploy everywhere via Unity.

QuickstartDiscordAsset Store

DropBall.tsxfrom the Quickstart
import { render, Button } from "onejs-react"
import {
    GameObject, PrimitiveType, Random, Rigidbody, Vector3
} from "UnityEngine"

function dropBall() {
    const ball = GameObject.CreatePrimitive(PrimitiveType.Sphere)
    ball.transform.position = new Vector3(Random.Range(-2, 2), 6, 0)
    ball.AddComponent(Rigidbody)
}

render(<Button text="Drop Ball" onClick={dropBall} />, __root)

TutorialsDocs

What we maintainGitHub

OJPlay alphaAll games

  • Fortnite HUD on OJPlayFortnite HUDA Fortnite style HUD: shield and health bars, an inventory bar, and a panning minimap.
  • Overwatch HUD on OJPlayOverwatch HUDAn Overwatch style HUD: a segmented health bar, an ultimate meter that crackles when full, and abilities on cooldown.

On JuiceboxMore

  1. Epic Games Turns to AI Coding for the Unreal Engine spectrum.ieee.org
  2. GTA 6 sold around 25 million copies and made $2.36 billion in its first day, estimates suggest videogameschronicle.com
  3. An update on Blueprints and the path to UE6 unrealengine.com
  4. How the EU's Digital Fairness Act will impact game design, and why it hits European indies particularly hard gamesindustry.biz
  5. GTA 6: the first billion-dollar game may also be the last gamesindustry.biz