Arcade racing demo got Godot 3.3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4KB

  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://Assets/Graphics/Car-Yellow.png" type="Texture" id=1]
  3. [ext_resource path="res://Objects/Vehicle/Vehicle.gd" type="Script" id=2]
  4. [ext_resource path="res://Objects/Trail/Trail.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://Objects/Vehicle/Tire_Curve_Basic.tres" type="Curve" id=4]
  6. [sub_resource type="CapsuleShape2D" id=1]
  7. radius = 14.0
  8. height = 32.0
  9. [node name="Vehicle" type="KinematicBody2D"]
  10. z_index = 1
  11. script = ExtResource( 2 )
  12. [node name="Collision" type="CollisionShape2D" parent="."]
  13. visible = false
  14. shape = SubResource( 1 )
  15. [node name="Sprite" type="Sprite" parent="."]
  16. show_behind_parent = true
  17. texture = ExtResource( 1 )
  18. [node name="Camera2D" type="Camera2D" parent="."]
  19. smoothing_enabled = true
  20. [node name="Trail_FD" parent="." instance=ExtResource( 3 )]
  21. position = Vector2( -5, -10 )
  22. width_curve = ExtResource( 4 )
  23. [node name="Trail_FP" parent="." instance=ExtResource( 3 )]
  24. position = Vector2( 5, -10 )
  25. width_curve = ExtResource( 4 )
  26. default_color = Color( 0.4, 0.831373, 1, 1 )
  27. [node name="Trail_RD" parent="." instance=ExtResource( 3 )]
  28. position = Vector2( -5, 10 )
  29. width_curve = ExtResource( 4 )
  30. default_color = Color( 1, 0.780392, 0.4, 1 )
  31. [node name="Trail_RP" parent="." instance=ExtResource( 3 )]
  32. position = Vector2( 5, 10 )
  33. width_curve = ExtResource( 4 )
  34. default_color = Color( 1, 0.552941, 0.4, 1 )