Skip to content

akuczala/4d-game

Repository files navigation

4d-game

First person 4d geometry game engine, written in Rust, inspired by www.urticator.net. Under development; the current version amounts to a demo.

There is a 3d and a 4d mode, toggled with backspace.

Controls

Your choice of FPS-like controls or tank controls, toggled with M

FPS controls

Move with WASD in 3d and QWEASD in 4d. Mouse controls will be familiar in 3d. In 4d, moving the mouse will turn the player along the two lateral axes. When holding SHIFT, moving the mouse will spin the lateral axes and allow the player to look up and down.

Tank controls

  • W/S : Move forward/back

  • A/D : Turn left/right (yaw)

  • I/K : Look up/down (pitch)

  • Q/E : (In 4d) turn other left/right

  • SHIFT+Q/E : Rotates lateral axes in 4d

  • Holding down ALT causes the player to slide along an axis instead of rotate.

  • Backspace Switches between 3d/4d mode

  • C Toggles clipping

Edit mode

Edit mode can be enabled from the config file. Click on an object to select it.

  • F : Freely manipulate object with player controls

  • T : Translate mode

  • R : Rotate mode

  • Y : Scale mode

  • M : Confirm change and exit edit mode

  • \ : Discard change and exit edit mode

Use - 1, 2, 3, 4 to select axes, and scroll or move the mouse or to manipulate the selected object. Translation requires at least one axis, and rotation requires 2 or 4. Holding ~ snaps movement to discrete intervals.

  • SHIFT+~: Snap object to closest half-integer grid point.
  • ,: Reset object orientation and scale.
  • /: Delete object
  • ;: Duplicate object
  • .: Create cube

New in 0.2.0

  • config file
  • fuzz texture
  • skybox
  • edit mode

To do:

  • Level design and spatial challenges

About

first person 4d geometry game inspired by urticator.net

Resources

Stars

Watchers

Forks

Packages

No packages published