Skip to content

Sorseg/petrichor4

Repository files navigation

Petrichor

Assets

To run both the server and the client, you need to first get the assets. Ask @sorseg to get your key into the storage system.

assets can be mounted

mkdir -p assets
sshfs -o default_permissions -o reconnect assets@petri-assets-storage.fly.dev:/ ./assets

and can then be unmounted via

umount ./assets

or copied

rm -rf assets
rsync assets@petri-assets-storage.fly.dev:/ ./assets -r

Admin interface to the assets storage

cd assets_storage
fly proxy 8080:8080 &
sleep 3; xdg-open http://127.0.0.1:8080/web/admin/

Run configurations

Dev

The default run configuration. Features dyn,live Add dynamic linking for fast rebuilds and assets hot reload. Debugging is not compatible with dyn.

Server

cargo run --features dyn,live --bin petri_server

Client

cargo run --features dyn,live --bin petri_client

Bevy coordinates

  • The X axis goes from left to right (+X points right).
  • The Y axis goes from bottom to top (+Y points up).
  • The Z axis goes from far to near (+Z points towards you, out of the screen).

Working with assets

in blender open and execute export.py to enable auto-asset exporting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published