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 0fdc351356 - Show all commits

View file

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

This comment is wrong.

This comment is wrong.
/// Despawns the tiles if the event : [EndMapGenerationEvent] is received.
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.
fn delete_map(
mut commands: Commands,
CoCo_Sol marked this conversation as resolved Outdated

get_tile_type

get_tile_type
query: Query<Entity, With<Tile>>,
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