summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/Interface
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-03-15 18:55:00 -0400
committerrealtradam <[email protected]>2020-03-15 18:55:00 -0400
commit5a33ed9381e43b50d56f2ef7f149baef83edcf7d (patch)
tree0c5f39958474ea32e5293324dce0ec398e2d39c2 /Racing-Game/Interface
parentfeb18d37762eb8f4414625175576f8fe9debd992 (diff)
downloadoptimal-direction-5a33ed9381e43b50d56f2ef7f149baef83edcf7d.tar.gz
optimal-direction-5a33ed9381e43b50d56f2ef7f149baef83edcf7d.zip
code cleaned up, #6 fixed
Diffstat (limited to 'Racing-Game/Interface')
-rw-r--r--Racing-Game/Interface/Camera2D.gd3
-rw-r--r--Racing-Game/Interface/RichTextLabel.gd2
2 files changed, 2 insertions, 3 deletions
diff --git a/Racing-Game/Interface/Camera2D.gd b/Racing-Game/Interface/Camera2D.gd
index e17493a..2b0da27 100644
--- a/Racing-Game/Interface/Camera2D.gd
+++ b/Racing-Game/Interface/Camera2D.gd
@@ -8,11 +8,10 @@ var printfps = 0;
# Called when the node enters the scene tree for the first time.
func _ready():
zoom = Vector2(2,2)
- connect("pos",get_node("Cars/4WheelCar"),"_on_CarBody_pos")
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
+func _process(_delta):
# #print fps
# printfps += delta
# if(printfps > 1):
diff --git a/Racing-Game/Interface/RichTextLabel.gd b/Racing-Game/Interface/RichTextLabel.gd
index 99856bd..c7e36ba 100644
--- a/Racing-Game/Interface/RichTextLabel.gd
+++ b/Racing-Game/Interface/RichTextLabel.gd
@@ -8,7 +8,7 @@ extends RichTextLabel
func _ready():
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
+func _process(_delta):
set_rotation(0)
pass