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. Dragon Age's former boss explains that poor management from EA led to BioWare shutting down because 'the options on the table were all terrible' pcgamer.com
  2. Christoph Hartmann wants Ubisoft's Massive Entertainment to go beyond shooters and be the "A24 of gaming" gamesindustry.biz
  3. One way to stave off AI clones? Minimise the gap between announcement and launch gamesindustry.biz
  4. Activision patents AI voice system that learns from in-game chat and creates audio for NPCs who can even speak in place of you eurogamer.net
  5. Has Rockstar taken the "Grand Theft Auto" out of GTA 6? Or has it just gamified car-jacking properly for the first time? eurogamer.net