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. Podcast: GTA 6 smashed records, but will other games benefit? videogameschronicle.com
  2. The Simpsons Hit & Run remake may have been cancelled as developer seemingly hints they were working on it videogameschronicle.com
  3. GTA VI CAPTURES RECORD-BREAKING 31.4% OF GLOBAL GAMING ATTENTION mcvuk.com
  4. Staff at Grand Theft Auto maker Rockstar vote against union recognition deal gamesindustry.biz
  5. 20,000 animated 3D SkinnedMesh units + 50,000 2D horde sprites in 1 draw call in Unity 6 URP (Zero DOTS): GPU instancing breakdown reddit.com