Skip to content

Proof of Concept: Gravity Change Mechanic

Latest
Compare
Choose a tag to compare
@Electron7-7 Electron7-7 released this 28 Dec 00:27
· 5 commits to main since this release

Proof of Concept

This is a proof of concept for the main game mechanic: changing gravity. Just a simple cube with different-colored shapes on the walls, floor, and ceiling to mark directions.

Input Keys

Pressing F changes gravity to the direction the player is facing.
Pressing space jumps.
Pressing F3 toggles a debug display between an FPS counter, a fully detailed display, and off.
Pressing Esc quits the game.

Shapes Reference

On every surface of the little room the player is in, there are colored cylinders/cones. These help mark the walls, ceiling, and floor. Below is a reference to which direction each shape marks:

Shape Direction Direction Axis
Green Cylinder Down -Y
Green Cone Up +Y
Red Cylinder Right +X
Red Cone Left -X
Blue Cylinder Front +Z
Blue Cone Back -Z