a JavaScript ecosystem for making games

2 min read Original article ↗
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

On JuiceboxMore

  1. GTA 6 Graphics Rendering: What We Know So Far ben3d.ca
  2. "EA's always wanted everything to be a live service": BioWare vet Mark Darrah on EA treating the Mass Effect dev as "just an afterthought" rockpapershotgun.com
  3. Rockstar knows GTA 6 players might 'reject' the morality system, but believes it 'changes what GTA can be' pcgamer.com
  4. My indie game made $50k in its first 20 days. The Steam page was only 2 months old. Here's everything I did to sell it. reddit.com
  5. Harvest Garden - Floral I: Managing 700+ floral variations in Unity without tanking draw calls (Atlas + LOD breakdown) reddit.com