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

Learn by example

In this section you’ll learn how to use shipyard by building a small game.

Dependencies

We’ll only use two dependencies, let’s add them to Cargo.toml.

macroquad = "0.4.8"
shipyard = { git = "https://github.com/leudz/shipyard", default-features = false, features = [
    "proc",
    "std",
] }