From 21801bd6d7a86542efa6b84ff22e60a99c5b2641 Mon Sep 17 00:00:00 2001 From: promptadmin Date: Sat, 6 Jun 2026 20:46:44 +0000 Subject: [PATCH] Automated ingestion of prompt: Gravity Shift: Low-Poly Physics Platformer --- ...y_shift_low_poly_physics_platformer_1699.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 prompts/general/gravity_shift_low_poly_physics_platformer_1699.md diff --git a/prompts/general/gravity_shift_low_poly_physics_platformer_1699.md b/prompts/general/gravity_shift_low_poly_physics_platformer_1699.md new file mode 100644 index 0000000..b20bff5 --- /dev/null +++ b/prompts/general/gravity_shift_low_poly_physics_platformer_1699.md @@ -0,0 +1,18 @@ +--- +title: "Gravity Shift: Low-Poly Physics Platformer" +contributor: "@loshu2000" +tags: #general, #loshu2000 +--- + +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.