From ed80bafb425b1c085d1c69e7fe4b0a5348d973e2 Mon Sep 17 00:00:00 2001 From: jianmingyong Date: Mon, 9 Jan 2017 00:25:29 +0800 Subject: [PATCH] Y axis movement :) Press Left Ctrl + Left Alt + W to move up. (Left Ctrl is to make the player walk through walls which is apparently needed) --- 2.5DHero/2.5DHero/Overworld/OverworldCamera.vb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/2.5DHero/2.5DHero/Overworld/OverworldCamera.vb b/2.5DHero/2.5DHero/Overworld/OverworldCamera.vb index 33d7fead1..b0200ddb9 100644 --- a/2.5DHero/2.5DHero/Overworld/OverworldCamera.vb +++ b/2.5DHero/2.5DHero/Overworld/OverworldCamera.vb @@ -860,6 +860,21 @@ Public Class OverworldCamera End If End Select + 'DebugFeature: + If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then + If KeyBoardHandler.KeyDown(Keys.LeftAlt) Then + If KeyBoardHandler.KeyDown(KeyBindings.ForwardMoveKey) Then + v.X = 0F + v.Y = 1.0F + v.Z = 0F + ElseIf KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) Then + v.X = 0F + v.Y = -1.0F + v.Z = 0F + End If + End If + End If + Return v End Function