fate 0.1.0

(placeholder) Fight And Travel (Game) Engine. A rewrite from C, focused on games which need to move fast in huge worlds, and fighting mechanics.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    #[cfg(feature="desktop")]
    println!("On desktop!");
    #[cfg(feature="mobile")]
    println!("On mobile!");
    #[cfg(feature="web")]
    println!("On web!");
    #[cfg(feature="nothreads")]
    println!("No threads! (we're likely on Emscripten)");
    #[cfg(feature="multiple_windows")]
    println!("Can create multiple windows! (we're likely on desktop)");
    #[cfg(feature="fixed_size_window")]
    println!("Unable to change window size! (we're likely on mobile or some console)");
}