From 43c8aec9bc13d22072fc6a24d949646775b16351 Mon Sep 17 00:00:00 2001 From: loshu2000 Date: Fri, 24 Apr 2026 04:08:53 +0000 Subject: [PATCH] Add prompt: Gravity Shift: Low-Poly Physics Platformer --- PROMPTS.md | 24 ++++++++++++++++++++++++ prompts.csv | 12 ++++++++++++ 2 files changed, 36 insertions(+) diff --git a/PROMPTS.md b/PROMPTS.md index 23588a8b..31676616 100644 --- a/PROMPTS.md +++ b/PROMPTS.md @@ -119776,3 +119776,27 @@ Include a BloomPass for post-processing and ensure 60FPS performance via +
+Gravity Shift: Low-Poly Physics Platformer + +## Gravity Shift: Low-Poly Physics Platformer + +Contributed by [@loshu2000](https://github.com/loshu2000) + +```md +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. +``` + +
+ diff --git a/prompts.csv b/prompts.csv index 46501332..cf725ca1 100644 --- a/prompts.csv +++ b/prompts.csv @@ -99217,3 +99217,15 @@ if (dist < 5) { particlePos.addScaledVector(direction, 0.2); } Include a BloomPass for post-processing and ensure 60FPS performance via",TRUE,TEXT,loshu2000 +Gravity Shift: Low-Poly Physics Platformer,"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.",TRUE,TEXT,loshu2000