OhMyGame
OhMyGame is the open-source studio for making games with AI. Design, build, playtest, and publish games in one app, with your own model keys.
A lego building game attempt.
Translation pending
GamesJavaScript · CSSGitHub @jpetree331OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Build with bricks in 3D, right in your browser. Snap pieces together with a satisfying click, paint them any colour, furnish the inside, then drop in as a little minifigure-style character and walk through what you made.
No install, no accounts, no build step, no internet required — just open it and build. It's plain HTML + JavaScript using three.js, which is bundled right in.
Made for tinkerers and kids of all ages. Build a house, furnish it, add a door, and explore it from the inside. 🏠
On itch.io: click Run game — it plays right in the browser, on desktop.
From the files: double-click index.html and it opens in your browser. It
works fully offline — three.js is bundled in vendor/, no internet needed.
When you are online, it can also add your time played to the
Game Shelf leaderboard under a nickname you pick.
Via a local server (optional, avoids file:// quirks):
# from this folder
python -m http.server 5510
# then open http://localhost:5510
Build, Select, Paint (recolour a placed brick), Pick (eyedropper —
I — copy a brick's colour), Delete.
Switch to Select (or press V), then:
Ctrl+D), nudge with the arrow keys (and Q/E for height),
Rotate the whole group 90° (R), Paint it, or Delete it — from the
floating toolbar or the keyboard.A panel on the right keeps recent clips with little 3D thumbnails:
Ctrl+C), or just Delete bricks — deleted things
land here too, so you can bring them back.To break a structure in half, box-select one half and Delete it (now in the holding area), or Copy it and paste it elsewhere.
Trying to build inside a roofed house, bricks used to land on the roof. The Build inside a roof panel fixes that two ways:
The whole build comes back in Play, the 🎥 Fly camera, and saved images — the slice is only an editing view.
Pick the baseplate size (S 16×16, M 32×32, L 48×48) and colour in the
left panel. Your build stays centred when you resize, and the size/colour are saved
with the build.
Add a Door and/or Window (the Doors category) to your walls, then press ▶ Play to drop inside. To start somewhere specific, click 📍 Spawn and click the ground where you want to begin.
The first time you enter Play, click once on the scene to capture the mouse for looking around (press Esc to release it).
✓ Complete names the build and puts it on the Shelf. Open the Shelf to
Edit, ⬇ download (save that build to a .lego.json file), or Delete any
saved build.
.lego.json file, and Import one back (also by
dragging the file onto the canvas).brick-studio-shelf.json
file. Import builds to shelf adds builds from such a file — or a single build —
straight onto the shelf. Use these to move builds to another browser or
computer.| Key | Action |
|---|---|
B / V / G / X / I | Build / Select / Paint / Delete / Pick (eyedropper) |
R | Rotate the brick (Build) or the selection (Select) 90° |
E / Q | Raise / lower placement height (Build) or selection height (Select) |
| Arrows | Move the selection (Select tool) |
Ctrl+D | Duplicate the selection |
Ctrl+C | Copy the selection to the Holding area |
Ctrl+Z | Undo |
Del | Delete the selection |
Esc | Clear selection / back to Build / land the fly camera / close the Shelf |
Builds are saved in your browser's local storage on the machine you built them on — there's no account or server. That means they stay put for next time, but they don't follow you to another browser or computer on their own. To take them with you, use Export all builds (a backup file) and Import builds to shelf on the other machine.
index.html Markup + UI; loads three.js then the game scripts
styles.css Clean, bright UI theme
vendor/ Bundled three.js r140 (three.min.js, OrbitControls, BufferGeometryUtils)
js/catalog.js Brick / door / window / furniture definitions and 3D geometry (cached)
js/audio.js Synthesized click / complete / duplicate / creak / remove sounds
js/store.js Save / load completed builds (localStorage)
js/io.js Export / import builds (.lego.json) and save PNG images
js/app.js The app: scene, build grid, placement, selection, views, shelf, Play mode, UI
docs/ A dated build report for every version (see docs/README.md)
occupied) plus a per-column top layer (colTop), so new bricks rest on top of a
stack in O(1). Placement raycasts the scene, snaps to the grid, and validates
against overlap (and support, in Connect mode).occupied grid that snaps bricks powers the character's
collision: the player is a small cylinder tested against solid cells, stands on the
highest surface beneath it, steps over small lips, and is stopped by walls and
furniture. Open doors mark their cells walk-through.The full version-by-version history lives in docs/.
Built with three.js r140 (MIT-licensed), bundled in
vendor/ so the game runs fully offline. All brick geometry, UI, sound,
and Play-mode physics are original code in this repo.
MIT — do what you like, just keep the copyright notice. The bundled three.js is also MIT (© the Three.js Authors).
Brick Studio is an independent, non-commercial hobby project. It is not affiliated with, sponsored by, or endorsed by the LEGO Group. "LEGO®" is a trademark of the LEGO Group, which does not own or review this project.