Refined TouchMovementSystem to work more smoothly near walls

Refined TouchMovementSystem to work more smoothly near walls by turning off pathing and using raycasting and box2d
Replaced gdx-ai raycaster with my own implementation that supports passing size and flags
Exposed MapGraph#getOrCreate(Vector2) -- may move this class and return these to package access later
This commit is contained in:
Collin Smith
2019-11-24 02:48:41 -08:00
parent d29ed177ca
commit 8f147094a7
8 changed files with 159 additions and 65 deletions

View File

@ -169,7 +169,7 @@ public class MapViewer extends ApplicationAdapter {
shapes = new ShapeRenderer();
Gdx.gl.glClearColor(0.3f, 0.3f, 0.3f, 1.0f);
Riiablo.engine2 = engine = new Engine();
Riiablo.engine2 = engine = new Engine(null);
Riiablo.engine = new com.riiablo.entity.Engine();
RenderSystem.RENDER_DEBUG_SUBTILE = true;