Compare commits

..

2 Commits

Author SHA1 Message Date
Elijah C. Voigt a26102576b Banging my head against this animation bug... 2 years ago
Elijah Voigt 1219079c95 Most of the update for Bevy 0.12
Stuck on a weird Animation error...
2 years ago

@ -1,32 +1,5 @@
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
# NOTE: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below.
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
linker = "clang" rustflags = ["-Zshare-generics=y", "-Z", "threads=8"]
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager:
# `brew install llvm`
[target.x86_64-apple-darwin]
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
[target.aarch64-apple-darwin]
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
[target.x86_64-pc-windows-msvc] [target.x86_64-pc-windows-gnu]
linker = "rust-lld.exe" # Use LLD Linker rustflags = ["-Zshare-generics=y", "-Z", "threads=8"]
rustflags = [
"-Zshare-generics=n",
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]

4
.gitattributes vendored

@ -1,3 +1,5 @@
fmodstudio/linux filter=lfs diff=lfs merge=lfs -text
fmodstudio/windows filter=lfs diff=lfs merge=lfs -text
assets/ filter=lfs diff=lfs merge=lfs -text assets/ filter=lfs diff=lfs merge=lfs -text
*.so filter=lfs diff=lfs merge=lfs -text *.so filter=lfs diff=lfs merge=lfs -text
*.so.* filter=lfs diff=lfs merge=lfs -text *.so.* filter=lfs diff=lfs merge=lfs -text
@ -16,5 +18,3 @@ assets/ filter=lfs diff=lfs merge=lfs -text
*.lib filter=lfs diff=lfs merge=lfs -text *.lib filter=lfs diff=lfs merge=lfs -text
*.gltf filter=lfs diff=lfs merge=lfs -text *.gltf filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text *.mp4 filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text

29
.gitignore vendored

@ -10,6 +10,7 @@
**/.user/ **/.user/
**/.unsaved/ **/.unsaved/
**/*.fspackage **/*.fspackage
**/Build/
!*.bank !*.bank
# Windows files # Windows files
@ -19,31 +20,3 @@ trace-*.json
*.blend *.blend
*.blend1 *.blend1
# Don't need this
.vscode/
*.tracy
temp/
# MacOS .package/.dmg related files
.DS_Store
*.dmg
!platforms/macos/Martian\ Chess.app/Contents/Info.plist
platforms/macos
icon_*.png
*.iconset
*.icns
# Linux AppImage related build files
platforms/linux
AppRun
*.AppImage
*.zip
*.tar.gz
.DirIcon
# Windows build files
platforms/windows
*.exe

2816
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -1,34 +1,24 @@
[package] [package]
name = "martian-chess" name = "martian-chess"
description = "Martian Chess videogame"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
build = "build.rs" build = "build.rs"
[dependencies] [dependencies.bevy]
bevy_fmod = { git = "https://github.com/Salzian/bevy_fmod.git", branch = "main" } features = ["jpeg", "hdr", "file_watcher"]
bevy = { version = "0.13", features = ["jpeg", "hdr", "serialize"] } version = "0.12"
serde = "1"
toml = { version = "0.8", features = ["parse"] }
anyhow = "*"
thiserror = "*"
winit = "*"
image = "*"
gltf = "*"
[features] [dependencies.bevy_fmod]
trace = ["bevy/trace_tracy", "bevy/trace_tracy_memory"] features = ["live-update"]
debug = ["bevy/dynamic_linking", "bevy/file_watcher", "bevy_fmod/live-update"] git = "https://github.com/Salzian/bevy_fmod.git"
branch = "update-0.12"
[profile.dev] [dependencies.serde]
debug = 1 version = "1"
[profile.dev.package."*"] [dependencies.toml]
opt-level = 3 version = "0.8"
features = ["parse"]
[profile.release] [profile.dev]
opt-level = "z" opt-level = 3
strip = true
panic = "abort"
lto = true
codegen-units = 1

@ -0,0 +1,17 @@
- https://www.looneylabs.com/rules/martian-chess
- [x] Movement
- [x] Pawn movement
- [x] Drone movement
- [x] Queen movement
- [x] No move reversal
- [ ] Scoring
- Queen: 3
- Drone: 2
- Pawn: 1
- [ ] Merging
- Pawn + Pawn = Drone (if no drones)
- Drone + Drone = Queen (if no queens)
- [ ] Game over
- When one half is empty
- [ ] Tie breaker
- Last player to move wins

BIN
assets/Liquid Mirror Intro.mp4 (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save