Adding a map creation plugin #57

Merged
CoCo_Sol merged 39 commits from map-generation into main 2024-02-21 20:10:03 +00:00
Showing only changes of commit 3ebe60d6cd - Show all commits

View file

@ -73,7 +73,7 @@ fn get_type(position: (f32, f32), noise: &Perlin) -> Tile {
}
}
CoCo_Sol marked this conversation as resolved Outdated

This comment is wrong.

This comment is wrong.
CoCo_Sol marked this conversation as resolved Outdated

I still think you should take an HexPosition, this will be simpler and will make this function simpler to use.

I still think you should take an HexPosition, this will be simpler and will make this function simpler to use.
/// Despawns the tiles if the event : [MapGenerationEvent] is received.
/// Despawns the tiles if the event : [StartMapGeneration] is received.
fn delete_map(
CoCo_Sol marked this conversation as resolved Outdated

get_tile_type

get_tile_type
mut commands: Commands,
CoCo_Sol marked this conversation as resolved Outdated

This is not a Zoom, it is a Scale

This is not a Zoom, it is a Scale
query: Query<Entity, With<Tile>>,