From 78548f1d51a83fe9d44a3076ae80cd66afbd9dd4 Mon Sep 17 00:00:00 2001 From: StarArawn Date: Fri, 14 May 2021 16:01:09 -0400 Subject: [PATCH] Back to where we were, but now with better tiles. --- src/game/gameplay/camera/movement.rs | 16 +- src/game/gameplay/character/mod.rs | 4 +- src/game/gameplay/character/movement.rs | 42 +++-- src/game/gameplay/enemy/mod.rs | 4 +- src/game/gameplay/enemy/spawner.rs | 7 +- src/game/gameplay/scenes/battle.rs | 4 +- src/game/gameplay/scenes/map_view.rs | 30 +--- src/game/loading.rs | 12 +- src/game/map/generate_map.rs | 229 +++++++++++++----------- src/game/map/map.rs | 29 ++- src/game/map/mod.rs | 26 +-- src/game/map/spawn_map_entity.rs | 41 ++--- src/game/mod.rs | 16 +- 13 files changed, 229 insertions(+), 231 deletions(-) diff --git a/src/game/gameplay/camera/movement.rs b/src/game/gameplay/camera/movement.rs index 720939f..c8b149e 100644 --- a/src/game/gameplay/camera/movement.rs +++ b/src/game/gameplay/camera/movement.rs @@ -1,10 +1,9 @@ use bevy::{prelude::*, render::camera::{Camera, CameraProjection, OrthographicProjection}}; -use crate::game::{camera::{CameraData, CustomOrthographicProjection}, gameplay::character::PlayerSprite}; +use crate::game::{camera::{CameraData}, gameplay::character::PlayerSprite}; pub fn movement( - time: Res