Compare commits

...

8 Commits

Author SHA1 Message Date
hut 80628cfedc rename COMMENTARY.md to doc/lore.md 2024-04-25 01:23:29 +02:00
hut d4ebe355ce add blender source of suit_v2.glb 2024-04-25 01:22:45 +02:00
hut d1553a661c add license of icon 2024-04-25 01:15:44 +02:00
hut c7e439ab08 move /build to /src/build 2024-04-25 01:14:38 +02:00
hut 4a161de290 cleanup 2024-04-25 01:04:19 +02:00
hut 6843784f30 read keybindings.in in the correct (reversed) order 2024-04-25 00:47:42 +02:00
hut 8553abd1fd update keybindings.in 2024-04-25 00:44:34 +02:00
hut 86873cf976 update mastodon link 2024-04-24 22:52:35 +02:00
15 changed files with 27 additions and 27 deletions

2
.gitignore vendored
View File

@ -1,6 +1,4 @@
target
assets/tmp
assets/external
*.blend1
extra
outfly_v*

View File

@ -18,7 +18,7 @@ categories = ["game", "aerospace", "simulation"]
keywords = ["game", "space", "3d"]
license = "GPL-3.0-only"
rust-version = "1.76.0"
build = "build/build.rs"
build = "src/build/build.rs"
[dependencies]
regex = "1"

View File

@ -12,7 +12,7 @@
Chapters: [Features](#features) • [Controls](#controls) • [Running OutFly](#running-outfly) • [Building](#building) • [Changelog](#changelog) • [Credits](#credits)
Links: [Code](https://codeberg.org/hut/outfly) • [itch.io](https://yunicode.itch.io/outfly) • [Mastodon](https://mastodon.gamedev.place/@outfly) • [Chat](https://matrix.to/#/#outfly:pub.solar)
Links: [Code](https://codeberg.org/hut/outfly) • [itch.io](https://yunicode.itch.io/outfly) • [Mastodon](https://mastodon.social/@outfly) • [Chat](https://matrix.to/#/#outfly:pub.solar)
# OutFly
@ -250,6 +250,7 @@ python -m http.server -d wasm
- Source code: GPL Version 3.0
- 3D models: Original art, placed under the Creative Commons CC0 License
- Photographs of celestial bodies: By NASA, public domain
- Icon: Creative Commons CC0 License
- Original sound files:
- wakeup.ogg: Creative Commons CC0 License
- Other sound files: [Pixabay Content License](https://pixabay.com/service/license-summary)

BIN
src/blender/suit_v2.blend Normal file

Binary file not shown.

View File

@ -12,6 +12,6 @@ fn main() {
let target = std::env::var("TARGET").unwrap();
if target.contains("windows") {
println!("cargo:warning=Embedding Windows Icon");
embed_resource::compile("build/windows/icon.rc");
embed_resource::compile("src/build/windows/icon.rc");
}
}

View File

@ -13,5 +13,5 @@
rootdir="${1:-}"
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
install -Dm644 "build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "build/linux/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"
install -Dm644 "src/build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "src/build/linux/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -10,7 +10,7 @@
# + ▀████████████████████████████████████████████████████▀
#
# A script to package release binaries + README.md into zip files.
# Usage: cd outfly; build/pack.sh [-b]
# Usage: cd outfly; src/build/pack.sh [-b]
# Options: -b: cross-compile targets before packing
set -e

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1,21 +1,22 @@
X: Teleport to target [CHEAT]
C: Impossibly instant stopping [CHEAT]
Shift+V/B: Same as V/B, but a thousand times faster [CHEAT]
V/B: Impossible acceleration forward/backward [CHEAT]
G: Toggle god mode / cheats [CHEAT]
M: Toggle map
Y: Toggle rotation stabilizer
F: Toggle 3rd person view
Space: Slow down (or match velocity)
AWSD/Shift/Ctrl: Movement
R: Rotate (hold + move mouse)
E: Interact: Talk to people, enter vehicles
Q: Exit vehicle
M: Map
Tab: Toggle HUD + Augmented Reality
Left click: Target objects [AUGMENTED REALITY ONLY]
Right click: Zoom [AUGMENTED REALITY ONLY]
F: 3rd person view
Y: Rotation stabilizer
F2: Toggle shadows
F3: Toggle sound effects
F4: Toggle music
F11: Toggle fullscreen
Tab: Toggle HUD + Augmented Reality
Right click: Zoom [AUGMENTED REALITY ONLY]
Left click: Target objects [AUGMENTED REALITY ONLY]
JKULIO: Mouseless camera rotation
F7: Restart game
Q: Exit vehicle
E: Interact: Talk to people, enter vehicles
R: Rotate (hold & move mouse)
AWSD/Shift/Ctrl: Accelerate
Space: Slow down (or match velocity)
F11: Toggle fullscreen
JKULIO: Mouseless camera rotation
G: Toggle god mode + cheats [CHEAT]
V/B: Impossible acceleration forward/backward [CHEAT]
Shift+V/B: Same as V/B, but a thousand times faster [CHEAT]
C: Impossibly instant stopping [CHEAT]
X: Teleport to target [CHEAT]

View File

@ -647,7 +647,7 @@ fn handle_input(
q_camera: Query<&Transform, With<Camera>>,
) {
if keyboard_input.just_pressed(settings.key_help) {
for line in include_str!("data/keybindings.in").trim().split("\n") {
for line in include_str!("data/keybindings.in").trim().lines().rev() {
log.add(line.to_string(), "".to_string(), LogLevel::Always);
}
}