Skip to main content
prompt GP ChatGPT

Gravity Shift — Claude prompt: a 3D platformer that rotates gravity

A prompt that lays out the concept and the technical brief for a 3D puzzle-platformer where the whole world turns 90 degrees on a keypress. Useful as a starting skeleton for a Three.js and Cannon.js build.

Open on GitHub

What Gravity Shift: Low-Poly Physics Platformer does

The prompt sets up Gravity Shift: a cube-shaped maze in low-poly style, pastel gradients, sharp geometric shapes. The player never climbs walls — they rotate the world's gravity and change where down is.

The technical half asks for a 3D platformer on Three.js and Cannon.js, with R rotating the world.gravity vector by 90 degrees. A short JavaScript snippet shows the rotation: the new vector is derived from the current one and copied back into world.gravity. Smooth camera interpolation with Lerp is called out so the camera follows the player's rigid body during a shift.

This is a conversation starter, not finished code. It hands the model a brief and one piece of logic; the rest you write yourself. The rotation angle in the example is fixed at 90 degrees, and no other angle appears.

What it helps with

  • sketch out a 3D platformer on Three.js and Cannon.js
  • rotate world gravity 90 degrees on a keypress
  • build a cube-shaped maze in low-poly style
  • keep the camera on the player's body during a gravity shift
  • write down a game concept before starting the build

Example prompts for the agent

  • Build the Gravity Shift 3D platformer with Three.js and Cannon.js: a cube maze where pressing R rotates world.gravity by 90 degrees
  • Add smooth Lerp camera interpolation so the camera follows the player's rigid body when gravity shifts
  • Give the level a low-poly look with pastel gradients and sharp geometric shapes

How to install Gravity Shift: Low-Poly Physics Platformer

How to use

Paste the text at the start of a chat or into project instructions

Questions about Gravity Shift: Low-Poly Physics Platformer

How do I install Gravity Shift in Claude?

There is nothing to install — it is a prompt, so you paste it into the chat as a message. In the repository it lives at .claude/commands/prompts.csv.md.

What does Gravity Shift do?

It describes a puzzle-platformer where the player rotates the entire world to get through a 3D labyrinth, and gives a Three.js plus Cannon.js technical brief.

What does the prompt need to work?

A model that writes JavaScript: the prompt includes a gravity rotation snippet and asks for a project on Three.js and Cannon.js.

Source text

prompts.csv · CC0-1.0
Game Concept: A puzzle-platformer named "Gravity Shift" where players rotate the entire world to navigate a 3D low-poly labyrinth. The environment is minimalist, using pastel gradients and sharp geometric shapes.
Technical Prompt:
Build a 3D platformer using Three.js and Cannon.js. The world is a cube-shaped maze. When the user presses 'R', rotate the world.gravity vector by 90 degrees.

JavaScript
// Gravity rotation logic
world.gravity.set(0, -9.82, 0); // Default
function rotateGravity() {
  let newG = new CANNON.Vec3(-world.gravity.y, world.gravity.x, 0);
  world.gravity.copy(newG);
}
Include smooth camera interpolation using Lerp to follow the player's rigid body during shifts.

© loshu2000 · CC0-1.0 · f/prompts.chat

Similar prompts

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set77

The whole set →
Automated Text Typing Every 5 Minutes with Python This prompt turns the chat into a Python automation engineer that writes a script typing your text on a timer. Handy when the same line has to go into another window without you touching the keyboard. GP ChatGPT ★ 174,597repo stars Fix LaTeX dollars This prompt sorts every $ in Markdown into currency, math or shell code and escapes only the currency ones. Useful when your build throws warnings. GP ChatGPT ★ 174,597repo stars Vector-Based Space Combat System A prompt that turns the chat into a game mechanics engineer: give it a high-speed combat concept, get movement and projectile logic back. GP ChatGPT ★ 174,597repo stars High-Velocity Dogfight A prompt that asks a model to build a 3D flight simulator: a cylindrical particle tunnel, 5,000 star particles, and speed-driven motion blur. GP ChatGPT ★ 174,597repo stars Code Review Professional A prompt that turns a chat model into a code reviewer: it checks quality, coding standards and optimization spots. Handy when you want a second opinion on fresh code. GP ChatGPT ★ 174,597repo stars ⚙️ PromptForge A prompt that takes your prompt apart step by step: finds ambiguities, rewrites it tighter, then stress-tests it. GP ChatGPT ★ 174,597repo stars Potato Critic A prompt that flips the model into a hostile critic: type “Potato” before an idea and it hunts for holes in your logic instead of cheering you on. GP ChatGPT ★ 174,597repo stars aa/cli taste This prompt sets preferences for TypeScript CLI projects, from package management to command handling. Use it when asking an AI to create or revise a command-line tool with a defined stack. GP ChatGPT ★ 174,597repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor