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. Newly-proposed EU law could place tight restrictions on free-to-play games gamedeveloper.com
  2. Crimson Desert studio is implementing AI "throughout our entire development pipeline," and expects DokeV to launch in 2028 eurogamer.net
  3. What’s your China playbook for PC game discovery? newsletter.gamediscover.co
  4. How to protect your IP against the army of AI clones gamesindustry.biz
  5. Seven Hours, 1.3 MB, 300M Views: How I Built Mojo Ski for Snapchat blog.playcanvas.com