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. Xbox announces raft of dev features including faster approvals, AI-ready workflows and easier distribution to playtesters and reviewers gamesindustry.biz
  2. State of Decay 3 finds a new publisher after split from Xbox and enters PC early access next March eurogamer.net
  3. Price Hikes & Layoffs At JetBrains gamefromscratch.com
  4. The number of Steam games with gen-AI disclosures is on the rise, and it's making Steam's already challenging discoverability problem worse eurogamer.net
  5. Microsoft's latest developer update makes changes to Xbox Achievements gamesindustry.biz