From 83ee0d8bc23023ccb77ab6738216e0287cf00f2a Mon Sep 17 00:00:00 2001 From: Frederic Aust <frederic.aust@hs-bochum.de> Date: Tue, 9 Feb 2021 14:48:00 +0100 Subject: [PATCH] =?UTF-8?q?Pause=20mode=20f=C3=BCr=20den=20Player=20expliz?= =?UTF-8?q?it=20auf=20Stop=20gesetzt,=20um=20sicher=20zu=20stellen,=20dass?= =?UTF-8?q?=20die=20Spieler=20auf=20pausieren=20wenn=20der=20Modus=20aktiv?= =?UTF-8?q?iert=20ist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Battle Pong/Main.tscn | 2 -- Battle Pong/Player.tscn | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Battle Pong/Main.tscn b/Battle Pong/Main.tscn index 1ab560f..55a9a16 100644 --- a/Battle Pong/Main.tscn +++ b/Battle Pong/Main.tscn @@ -57,10 +57,8 @@ position = Vector2( 512, 300 ) position = Vector2( 52, 300 ) [node name="PlayerTwo" parent="." instance=ExtResource( 1 )] -pause_mode = 1 [node name="PlayerOne" parent="." instance=ExtResource( 1 )] -pause_mode = 1 is_player_one = true [node name="ColorRect4" type="ColorRect" parent="."] diff --git a/Battle Pong/Player.tscn b/Battle Pong/Player.tscn index 7e7361b..39d7283 100644 --- a/Battle Pong/Player.tscn +++ b/Battle Pong/Player.tscn @@ -6,6 +6,7 @@ extents = Vector2( 7.96318, 39.9475 ) [node name="Player" type="RigidBody2D"] +pause_mode = 1 position = Vector2( -0.325993, -1.00885 ) collision_layer = 2 collision_mask = 8 -- GitLab