increase player size, change layer, reduce spam again
This commit is contained in:
parent
f48ac15cb7
commit
a7b66d25ce
2 changed files with 589 additions and 589 deletions
File diff suppressed because it is too large
Load diff
|
@ -104,13 +104,13 @@ fn translate_grid_coords_entities(
|
||||||
// TODO: what is this used for? Why it doesn't work for a moving Player?
|
// TODO: what is this used for? Why it doesn't work for a moving Player?
|
||||||
for (mut transform, grid_coords) in grid_coords_entities.iter_mut() {
|
for (mut transform, grid_coords) in grid_coords_entities.iter_mut() {
|
||||||
info!("Changed GridCoords: {grid_coords:?}");
|
info!("Changed GridCoords: {grid_coords:?}");
|
||||||
info!("Previous traslation: {:?}", transform.translation);
|
debug!("Previous traslation: {:?}", transform.translation);
|
||||||
transform.translation = (bevy_ecs_ldtk::utils::grid_coords_to_translation(
|
transform.translation = (bevy_ecs_ldtk::utils::grid_coords_to_translation(
|
||||||
*grid_coords,
|
*grid_coords,
|
||||||
IVec2::splat(GRID_SIZE),
|
IVec2::splat(GRID_SIZE),
|
||||||
))
|
))
|
||||||
.extend(transform.translation.z);
|
.extend(transform.translation.z);
|
||||||
info!("Updated traslation: {:?}", transform.translation);
|
debug!("Updated traslation: {:?}", transform.translation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue