Added new Tileset (Better walls and floors) and reworked layer generation. Working on placeholders next again (Need to fix rotation)
This commit is contained in:
+2
-2
@@ -21,9 +21,9 @@ public partial class Camera3d : Camera3D
|
||||
|
||||
Vector3 direction = Vector3.Zero;
|
||||
if (Input.IsActionPressed("move_forward") && Position.Z > 0) direction += Transform.Basis.Z;
|
||||
if (Input.IsActionPressed("move_backward") && Position.Z < layerSize * 4) direction -= Transform.Basis.Z;
|
||||
if (Input.IsActionPressed("move_backward") && Position.Z < layerSize * 6) direction -= Transform.Basis.Z;
|
||||
if (Input.IsActionPressed("move_left") && Position.X > 0) direction -= Transform.Basis.X;
|
||||
if (Input.IsActionPressed("move_right") && Position.X < layerSize * 4) direction += Transform.Basis.X;
|
||||
if (Input.IsActionPressed("move_right") && Position.X < layerSize * 6) direction += Transform.Basis.X;
|
||||
|
||||
if (direction != Vector3.Zero)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user