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. Despite seemingly healthy margins, Crusader Kings pub Paradox are trying out quiet layoffs by offering Swedish staff a "voluntary severance program" rockpapershotgun.com
  2. Former Crytek audio director launches Khaos, giving game composers AI models they own mcvuk.com
  3. Report: Xbox is close to finalizing a sale of Arkane Lyon gamedeveloper.com
  4. Steam has just recorded its first-ever November revenue drop, and it looks like GTA 6 is to blame eurogamer.net
  5. An update on February 2027 Next Fest store.steampowered.com