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. Saving Mass Effect would take $200m+, says BioWare co-founder eurogamer.net
  2. I Have Never Seen a Game Fail Because the Artists Were Too Slow productionalchemist.com
  3. About 250 unknown developers break through every year, same as in 2016. Five times as many try now. In 2015 a game that players liked had a 1 in 3 chance to reach 1,000 reviews. Now it is 1 in 10. reddit.com
  4. JIT bitmap text rendering for microcontrollers linebender.org
  5. Animation tutorial on how clothing folds and creases move, by @simodasketch Etherington Brothers on Bluesky