Skip to content

GreeFine/TileRpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A 2D tiled game, with Bevy

Dev

Dependencies

Linux: https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md

Windows: Make sure to install VS2019 build tools

MacOS: No dependencies here

Fast compiles

LLD linker: The Rust compiler spends a lot of time in the "link" step. LLD is much faster at linking than the default Rust linker. To install LLD, find your OS below and run the given command:

Ubuntu: sudo apt-get install lld
Arch: sudo pacman -S lld
Windows: Ensure you have the latest cargo-binutils

cargo install -f cargo-binutils
rustup component add llvm-tools-preview

MacOS: Modern LLD does not yet support MacOS, but we can use zld instead: brew install michaeleisel/zld/zld

Nighly rust

Nightly Rust Compiler: This gives access to the latest performance improvements and "unstable" optimizations

  • Install the nightly toolchain:
    rustup toolchain install nightly
  • Configure your current project to use nightly (run this command within the project):
    rustup override set nightly
  • OR configure cargo to use nightly for all projects -- switch back with rustup default stable:
    rustup default nightly

Starting

cargo run
# Start in release mod. witch drasticly improve performance
cargo run --release

About

A 2D tiled game, with Bevy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages