Merge branch 'master' of https://gitlab.hexaquo.at/ggjg20/bodypartfighter
This commit is contained in:
commit
c1e6b54ff9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user