Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

blank

The engine’s Blank template and one Rust class, HelloActor, to see the whole loop work before anything else. It is the default: rusteal new MyGame makes it.

rusteal new MyGame --template blank

From TP_Blank, the engine template it is made of.

Playing it

Open <Name>.uproject, drag a HelloActor from the Place Actors panel into the level and press Play: the Output Log shows [<Name>] Hello from Rust.

Screenshot: the blank template’s HelloActor message in the Output Log. (images/templates/blank.png)

Its classes

The class is in Rust/<crate>/src/hello.rs, the place to start writing your own.

ClassParentFile
HelloActorActorsrc/hello.rs