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. A great old-timey game-programming hack (2013) blog.moertel.com
  2. Introducing IARC Age Ratings in Australia devforum.roblox.com
  3. Sony have cancelled Fairgame$, once again reminding us that chasing live service big bucks basically never works rockpapershotgun.com
  4. Europe is about to get very tough on loot boxes in games, according to a leaked draft of the landmark Digital Fairness Act eurogamer.net
  5. Unreal Engine 5.9 preview release supports WebGPU builds twitter.com