Skip to content
Michael Angelo Calimlim edited this page Jan 10, 2021 · 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

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

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

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

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

for Android

To be able to deploy the game to your phone or publish it to Google Play, keystore files must be created first.

$ make create-debug-keystore
$ make create-release-keystore

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

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

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

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

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

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

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

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

for MacOS

$ make build-x86_64-apple-darwin-debug
$ make export-x86_64-apple-darwin-debug

$ make build-x86_64-apple-darwin-release
$ make export-x86_64-apple-darwin-release

for iOS

to follow...

for Windows

to follow...

Contributing

PRs are welcome! 😄, please see the contribution guidelines

License

MIT License

Clone this wiki locally