Make your own 3D game
Pick a template, change the code and press Run to try it straight away. When it’s ready, send it to Vortex RK: it gets an automatic safety check, and once the owner approves it, everyone can play it on vortexrk.com with your name on it.
- 1 · Pick a template
- 2 · Change the code
- 3 · ▶ Run to test
- 4 · 🔍 Safety check
- 5 · 📤 Send to Vortex RK
You can build and test without an account. To send a game to Vortex RK, sign in with your Vortex RK account.
🧍 Every game here uses your own Vortex RK 3D avatar as the player (in code: VRK.avatar()). Dress it up with your coins in the 3D Avatar shop.🧍 Customise my avatar
1. Pick a template
2. Build and test
Press ▶ Run (or Ctrl + Enter) to play your game here.
My games on Vortex RK
My drafts
The VRK kit
VRK.box(w, h, d, colour, x, y, z) | Adds a box to the world and gives it back |
VRK.sphere(r, colour, x, y, z) | Adds a ball |
VRK.cylinder(r, h, colour, x, y, z) | Adds a cylinder |
VRK.plane(w, d, colour, x, y, z) | Adds flat ground |
VRK.remove(thing) | Takes something out of the world |
VRK.avatar(size, x, y, z) | Adds the player’s own 3D avatar (what they bought in the 3D Avatar shop). avatar.walk(dt) swings its arms and legs; avatar.stand() stops |
avatar.emote('dance') | Plays an emote (wave, dance, cheer, clap, sad, laugh, spin, robot, swing, flip, moonwalk, windmill, levitate, champion, ascend). No name = the player’s own emote. Players can also press E |
VRK.player({ speed, jump, x, y, z }) | Ready-made parkour player: your avatar with running, jumping, animations, a following camera, checkpoints and phone controls. Set .onGoal, .onStar, .onDie; read .deaths, .stars |
VRK.platform(w, h, d, colour, x, y, z, { type, move, spin }) | Parkour platform. type: solid, check, goal, bounce, vanish, ice, lava, spinner. move: { x: 2, speed: 1 } slides it |
VRK.star(x, y, z) | A spinning star for VRK.player to collect (+100 score) |
VRK.player({ fly: true, climbSpeed }) | fly: true lets the player fly (Space / ↑ to rise). Walls made with type: 'climb' can be climbed by walking into them |
VRK.kill() | Knocks the player out: their death animation plays, then they respawn at the last checkpoint (or .onDie decides) |
VRK.fx(x, y, z, { color, size, life, vx, vy, vz, shape }) | A little particle effect (shape: cube, ball, disc, star, ring) |
avatar.climb(true) / avatar.fly(true) / avatar.die() | Show the player’s own climbing, flying or death animation (players buy their styles in the 3D Avatar shop) |
VRK.start(function (dt, time) { … }) | Your game loop: runs every frame (dt = seconds since the last frame) |
VRK.key('left') | Is a key held? left, right, up, down, jump, fire, or any key name |
VRK.pressed('jump') | Was it pressed this frame? Also 'tap' on phones; swipes count as arrows |
VRK.hit(a, b) | Are two things touching? |
VRK.score(10) | Adds to the score |
VRK.hud('text') | Text at the top of the screen |
VRK.message('Title', 'more') | Big message in the middle (no title hides it) |
VRK.sound('coin') | coin, jump, hit, shoot or win |
VRK.hurt() | Call when the player gets hit: true means they really got hurt |
VRK.gameOver('text') | Ends the game and offers a replay |
VRK.rand(a, b) | Random number between a and b |
VRK.scene / VRK.camera / VRK.renderer | The three.js scene, camera and renderer |
THREE | All of three.js (version 128) |
How games are kept safe
- Locked box. Every game runs in a sealed frame: it can’t see your Vortex RK account, coins or saved data, can’t go on the internet, can’t open pop-ups and can’t send you to another page.
- Automatic safety check. Before a game can be sent, and again on the server, it is checked for internet use, attempts to read saved data, hidden or scrambled code, crypto-mining tools, pop-ups and scam text such as asking for passwords, OTPs, bank details or “free robux”.
- MADE BY tag. Every game shows MADE BY with its maker’s name, on its card and inside the game.
- Owner approval. Nothing goes on vortexrk.com until the owner has played it and approved it. The owner can remove any game at any time.
- No coins from player-made games. They’re just for fun, so nobody can make a game that hands out coins or XP.
Games made by players
Loading…