attempt noise gen

This commit is contained in:
StephenAdamson
2024-12-14 00:03:52 +00:00
parent 7363ec9d39
commit bf3ddd0e74
10 changed files with 102 additions and 70 deletions
+4 -4
View File
@@ -18,7 +18,7 @@ impl TilePrefab {
image: asset_server.load("dirt.png"),
..Default::default()
},
tile: Tile { position },
tile: Tile {id:1},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
},
@@ -32,7 +32,7 @@ impl TilePrefab {
image: asset_server.load("grass.png"),
..Default::default()
},
tile: Tile { position },
tile: Tile {id:2},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
},
@@ -46,7 +46,7 @@ impl TilePrefab {
image: asset_server.load("rock.png"),
..Default::default()
},
tile: Tile { position },
tile: Tile {id:3},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
},
@@ -59,7 +59,7 @@ impl TilePrefab {
image: asset_server.load("sky.png"),
..Default::default()
},
tile: Tile { position },
tile: Tile {id:0},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
},