summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/Player.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Racing-Game/Player.gd')
-rw-r--r--Racing-Game/Player.gd15
1 files changed, 15 insertions, 0 deletions
diff --git a/Racing-Game/Player.gd b/Racing-Game/Player.gd
new file mode 100644
index 0000000..cacb5da
--- /dev/null
+++ b/Racing-Game/Player.gd
@@ -0,0 +1,15 @@
+extends RigidBody2D
+
+# Declare member variables here. Examples:
+# var a = 2
+# var b = "text"
+
+# Called when the node enters the scene tree for the first time.
+func _ready():
+ bounce = 1
+ linear_damp = 3
+ angular_damp = 3
+ pass # Replace with function body.
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+