Skip to content
Michael Angelo Calimlim edited this page Nov 18, 2020 · 24 revisions

godot-rust-template

Create games with Godot game engine using the Rust programming language!

General Information

  • this template bootstraps your Godot project using Rust as your primary language for development.

Setup

Usage

  • run this commands on your terminal
$ cargo generate --git https://github.com/godot-rust/godot-rust-template --name my-awesome-game
$ cd my-awesome-game
$ make run
  • enjoy! :godmode:

Please take note that it also generates a export_presets.cfg file for you, you might want to put that on .gitignore if you are planning to put confidential data in it...

Building and Exporting

These commands allows you to build the library and export it to a game.

for Linux

$ build-i686-unknown-linux-gnu-debug
$ export-i686-unknown-linux-gnu-debug

$ build-i686-unknown-linux-gnu-release
$ export-i686-unknown-linux-gnu-release

$ build-x86_64-unknown-linux-gnu-debug
$ export-x86_64-unknown-linux-gnu-debug

$ build-x86_64-unknown-linux-gnu-release
$ export-x86_64-unknown-linux-gnu-release

for Android

$ build-aarch64-linux-android-debug
$ export-aarch64-linux-android-debug

$ build-aarch64-linux-android-release
$ export-aarch64-linux-android-release

$ build-armv7-linux-androideabi-debug
$ export-armv7-linux-androideabi-debug

$ build-armv7-linux-androideabi-release
$ export-armv7-linux-androideabi-release

$ build-i686-linux-android-debug
$ export-i686-linux-android-debug

$ build-i686-linux-android-release
$ export-i686-linux-android-release

$ build-x86_64-linux-android-debug
$ export-x86_64-linux-android-debug

$ build-x86_64-linux-android-release
$ export-x86_64-linux-android-release

Contributing

PRs are welcome! 😄, please see the contribution guidelines

License

MIT License

Clone this wiki locally