spacevroom

A SkyRoads clone with only one boring "level" written in Godot Engine version 3.
git clone https://kaka.farm/~git/spacevroom
Log | Files | Refs | LICENSE

Player.tscn (1459B)


      1 [gd_scene load_steps=5 format=2]
      2 
      3 [ext_resource path="res://Player.gd" type="Script" id=1]
      4 [ext_resource path="res://Saucer.tscn" type="PackedScene" id=2]
      5 
      6 [sub_resource type="SpatialMaterial" id=1]
      7 albedo_color = Color( 0.482353, 0.980392, 0.572549, 1 )
      8 
      9 [sub_resource type="BoxShape" id=2]
     10 extents = Vector3( 0.125, 0.075, 0.15 )
     11 
     12 [node name="Player" type="KinematicBody"]
     13 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.336291, 0 )
     14 script = ExtResource( 1 )
     15 
     16 [node name="CSGBox2" type="CSGBox" parent="."]
     17 visible = false
     18 width = 0.25
     19 height = 0.15
     20 depth = 0.3
     21 material = SubResource( 1 )
     22 
     23 [node name="CollisionShape" type="CollisionShape" parent="."]
     24 shape = SubResource( 2 )
     25 
     26 [node name="ForwardSpeedChangeTimer" type="Timer" parent="."]
     27 wait_time = 0.2
     28 one_shot = true
     29 
     30 [node name="RayCast1" type="RayCast" parent="."]
     31 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.125, -0.075, 0.15 )
     32 enabled = true
     33 
     34 [node name="RayCast2" type="RayCast" parent="."]
     35 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125, -0.075, 0.15 )
     36 enabled = true
     37 
     38 [node name="RayCast3" type="RayCast" parent="."]
     39 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.125, -0.075, -0.15 )
     40 enabled = true
     41 
     42 [node name="RayCast4" type="RayCast" parent="."]
     43 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125, -0.075, -0.15 )
     44 enabled = true
     45 
     46 [node name="Saucer" parent="." instance=ExtResource( 2 )]
     47 transform = Transform( 0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0 )