From ffae483803722a8a7fd3887a6a6c7220132ed057 Mon Sep 17 00:00:00 2001 From: Leon Palluch Date: Sun, 2 Feb 2020 14:01:17 +0100 Subject: [PATCH] swapped player starting positions --- Controllers/GameStateController.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/GameStateController.gd b/Controllers/GameStateController.gd index 4f84b75..9223eeb 100644 --- a/Controllers/GameStateController.gd +++ b/Controllers/GameStateController.gd @@ -12,7 +12,7 @@ var _win_screen_scene var _bodies : Array var _body_count = 0 -var _body_positions = [Vector3(0, 15, -30), Vector3(0, 15, 30), Vector3(-30, 15, 0), Vector3(30, 15, 0)] +var _body_positions = [Vector3(0, 15, 30), Vector3(0, 15, -30), Vector3(-30, 15, 0), Vector3(30, 15, 0)] func _ready(): InGameState.player_count = 2 @@ -68,7 +68,7 @@ func _switch_to_fighting(torso): torso.translation += _body_positions[_body_count] torso.rotation_degrees = Vector3(90, 0, 0) - if _body_count == 1: + if _body_count == 0: torso.rotation_degrees += Vector3(0, 180, 0) _body_count += 1