No description
Find a file
Michael Angelo Calimlim 57e969afb9 add class command
2021-01-03 03:10:07 +08:00
src add class command 2021-01-03 03:10:07 +08:00
tests add new command 2020-11-24 01:48:57 +08:00
.gitignore initial commit 2020-09-29 00:06:00 +08:00
Cargo.toml add class command 2021-01-03 03:10:07 +08:00
README.md add class command 2021-01-03 03:10:07 +08:00

ftw

Commands

new

creates a new godot-rust project

$ ftw new my-awesome-game # creates a godot-rust project using the default template

$ ftw new my-awesome-game default # same as above

$ ftw new my-awesome-game /path/to/some/template # creates a godot-rust project using a custom template

class

creates a class file in rust/src/, a tscn file in godot/scenes, a gdns file in godot/native and initializes the class in rust/src/lib.rs

$ ftw class Player Node # creates a class with Node as the node type, node type can be any type supported by godot

$ ftw class Player # same as above, defaults to Node as node type

$ ftw class Player Node2D # creates a class with Node2D as node type