Skip to content
Snippets Groups Projects
Commit a48ff9f8 authored by Frederic Aust's avatar Frederic Aust
Browse files

Speed Einstellungen aus SettingsWindow an den Player speed angeschlossen

parent 47117310
No related branches found
No related tags found
1 merge request!6Binding all settings to game
...@@ -12,6 +12,9 @@ func _ready(): ...@@ -12,6 +12,9 @@ func _ready():
player_size =$CollisionShape2D.shape.extents player_size =$CollisionShape2D.shape.extents
if(is_player_one): if(is_player_one):
$ColorRect.color=Color(0,0,0,1) $ColorRect.color=Color(0,0,0,1)
speed = $"/root/GameSettings".player_one_speed
else:
speed = $"/root/GameSettings".player_two_speed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment