Compare commits

...

8 commits

Author SHA1 Message Date
yuni 80628cfedc rename COMMENTARY.md to doc/lore.md 2024-04-25 01:23:29 +02:00
yuni d4ebe355ce add blender source of suit_v2.glb 2024-04-25 01:22:45 +02:00
yuni d1553a661c add license of icon 2024-04-25 01:15:44 +02:00
yuni c7e439ab08 move /build to /src/build 2024-04-25 01:14:38 +02:00
yuni 4a161de290 cleanup 2024-04-25 01:04:19 +02:00
yuni 6843784f30 read keybindings.in in the correct (reversed) order 2024-04-25 00:47:42 +02:00
yuni 8553abd1fd update keybindings.in 2024-04-25 00:44:34 +02:00
yuni 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 target
assets/tmp
assets/external
*.blend1 *.blend1
extra extra
outfly_v* outfly_v*

View file

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

View file

@ -12,7 +12,7 @@
Chapters: [Features](#features) • [Controls](#controls) • [Running OutFly](#running-outfly) • [Building](#building) • [Changelog](#changelog) • [Credits](#credits) 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 # OutFly
@ -250,6 +250,7 @@ python -m http.server -d wasm
- Source code: GPL Version 3.0 - Source code: GPL Version 3.0
- 3D models: Original art, placed under the Creative Commons CC0 License - 3D models: Original art, placed under the Creative Commons CC0 License
- Photographs of celestial bodies: By NASA, public domain - Photographs of celestial bodies: By NASA, public domain
- Icon: Creative Commons CC0 License
- Original sound files: - Original sound files:
- wakeup.ogg: Creative Commons CC0 License - wakeup.ogg: Creative Commons CC0 License
- Other sound files: [Pixabay Content License](https://pixabay.com/service/license-summary) - 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(); let target = std::env::var("TARGET").unwrap();
if target.contains("windows") { if target.contains("windows") {
println!("cargo:warning=Embedding Windows Icon"); 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:-}" rootdir="${1:-}"
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly" install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
install -Dm644 "build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png" install -Dm644 "src/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.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. # 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 # Options: -b: cross-compile targets before packing
set -e 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] Space: Slow down (or match velocity)
C: Impossibly instant stopping [CHEAT] AWSD/Shift/Ctrl: Movement
Shift+V/B: Same as V/B, but a thousand times faster [CHEAT] R: Rotate (hold + move mouse)
V/B: Impossible acceleration forward/backward [CHEAT] E: Interact: Talk to people, enter vehicles
G: Toggle god mode / cheats [CHEAT] Q: Exit vehicle
M: Toggle map M: Map
Y: Toggle rotation stabilizer Tab: Toggle HUD + Augmented Reality
F: Toggle 3rd person view 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 F3: Toggle sound effects
F4: Toggle music 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 F7: Restart game
Q: Exit vehicle F11: Toggle fullscreen
E: Interact: Talk to people, enter vehicles JKULIO: Mouseless camera rotation
R: Rotate (hold & move mouse) G: Toggle god mode + cheats [CHEAT]
AWSD/Shift/Ctrl: Accelerate V/B: Impossible acceleration forward/backward [CHEAT]
Space: Slow down (or match velocity) 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>>, q_camera: Query<&Transform, With<Camera>>,
) { ) {
if keyboard_input.just_pressed(settings.key_help) { 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); log.add(line.to_string(), "".to_string(), LogLevel::Always);
} }
} }