Skip to content

Computergraphics Project at the TU Vienna

Notifications You must be signed in to change notification settings

stefnotch/cgue23-cat-to-the-past

Repository files navigation

Cat to the past

Game by YouSafe and Stefnotch

Play video

Play the game

Download it and play it

Game concept

Rewinding time of the world around you, but it doesn't affect your character.

Should make for an interesting puzzle game. Or that mechanic could be used to make a cat petting simulator, where you basically have a cheatcode. You can indefinitely pet the cat, because as soon as the cat is satisfied and walks away, you just turn time back... 🐈

Controls

  • WASD+Mouse for moving
  • Space to jump
  • T for swiTching to freecam
    • WASD + Space to move around in the freecam mode
  • Right mouse button for time rewinding
  • Left mouse button for interacting
  • Shift to speed up rewinding. Not actually needed to solve any levels.
  • F8 enables/disables view frustum culling
  • Esc to quit

How to beat the game

First level

  1. Walk through laser
  2. Door closes
  3. Rewind time
  4. Walk through door

and then beat the rest of the game.

There is a video full of spoilers here

Compiling and Running

You'll need a Rust toolchain installed. After that, you can start the game with

cargo run

To get a release build without manually copying files, you can use

npm build

(I really want Rust build scripts that don't run during development.)

Demos

cargo run --bin bloom_demo

where bloom_demo can be replaced with the name of any demo project in the demos/src/bin folder

Levels

A level internally has

  • a numerical ID
  • a camera: spawn position
  • one shadow light
  • ...

Technical Details

world space: +y up, -z forward, +x right (reasonable right-handed coordinate system) winding order: counter-clockwise units: meter importer: gltf, we flatten the tree, we generate one axis aligned collider per model

Used sources

About

Computergraphics Project at the TU Vienna

Resources

Stars

Watchers

Forks

Packages

No packages published