From 7a7f9359fdbc3813fa14f420a2f1394493b9e092 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Thu, 2 Jun 2022 22:30:07 -0500 Subject: [PATCH] Implement three camera views Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 --- maps/world1.map | Bin 295488 -> 295488 bytes src/sig/objects/LevelRenderer.java | 2 +- src/sig/objects/Player.java | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/maps/world1.map b/maps/world1.map index 67eddc0b43e2dd3609eff4611cf7f4b250fd8b2d..fc71cb1d795009c100240156f6689704ea286cd5 100644 GIT binary patch delta 73 zcmX@mB6OfdXoF(LWPKN*i3)t1EEaz2w?yKH^mea delta 69 zcmX@mB6OfdXoF(LWL+DPi3&WMRabiClone.BASE_WIDTH-viewBoundaryX) { + RabiClone.level_renderer.setX(getX()-(RabiClone.BASE_WIDTH-viewBoundaryX)); + } + if (getY()-RabiClone.level_renderer.getY()RabiClone.BASE_HEIGHT-viewBoundaryY) { + RabiClone.level_renderer.setY(getY()-(RabiClone.BASE_HEIGHT-viewBoundaryY)); + } break; case LIGHT_HORIZONTAL_FOLLOW: break;