Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower defense tutorial

Read The tutorial

Live Demo

Run

Native run

use cargo run --release to launch the app in native. Use the debug feature for debug inspector.

WASM build

  • Native: cargo serve --release and open http://127.0.0.1:1334
  • Browser: ./build_wasm.sh and open docs/wasm/index.html in a browser

Some browser might prevent local files to be loaded, in firefox setting security.fileuri.strict_origin_policy might be needed

Play

Board interaction

Use the left mouse button to toggle tiles, and the right mouse button to place towers.

You can also regenerate the board by pressing R.

About

Source code for the bevy tower defense tutorial

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages