Skip to content

Commit

Permalink
Added "atoms.ron" file
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac8668 committed Jan 9, 2024
1 parent 658b068 commit fc8c215
Show file tree
Hide file tree
Showing 13 changed files with 453 additions and 131 deletions.
134 changes: 129 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "PolyForm NonCommercial v1.0"
default-run = "astratomic"

[dependencies]
bevy = "0.12"
bevy = {version = "0.12", features =["file_watcher"]}
bevy-inspector-egui = "0.22"
rand = { version = "0.8.5", features = ["small_rng"] }
fastrand = "2.0.1"
Expand All @@ -19,6 +19,7 @@ serde = "1.0"
serde_derive = "1.0"
bincode = "1.3.3"
serde-big-array = "0.5.1"
ron = "0.8.1"
bevy-async-task = "1.3.1"

# Enable a small amount of optimization in debug mode
Expand Down
20 changes: 20 additions & 0 deletions assets/atoms.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
([
//0 Void
Void,

//1 Dummy atom
Object,

//2 Sand
Powder,
//3 Water
Liquid ( flow: 5 ),
//4 Gravel
Powder,
//5 Lava
Liquid ( flow: 1 ),
//6 Dirt
Solid,
//7 Rock
Solid
])
Loading

0 comments on commit fc8c215

Please sign in to comment.