Skip to content

dojoengine/dojo.bevy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dojo Bevy Plugin

This repository contains a plugin for the Dojo framework, which allows to connect to Torii and Starknet using Bevy.

Setup

  1. Install Dojo 1.5.1 by running:
dojoup install 1.5.1
  1. Clone the dojo-intro repository and compiles it.
git clone https://github.com/dojoengine/dojo-intro.git
cd dojo-intro/contracts
sozo build
  1. Run Katana and migrate (still in the dojo-intro/contracts directory):
katana --config ./katana.toml
sozo migrate
  1. Run Torii:
torii --config ./torii_dev.toml
  1. Run this example:
cargo run --example intro

How to play

More is coming with better UI but currently you can:

  1. Press C to connect to Torii and Starknet.
  2. Press S to subscribe to Torii entities updates.
  3. Press Space to spawn a cube at position (10, 10).
  4. Press the arrows to move the cube.

About

Bevy plugin to integrate Dojo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages