Make Hedgehog a subscene of Player

This commit is contained in:
Fabien Freling 2018-07-19 15:37:24 +02:00
parent afb76aa9b0
commit c5a7313468
5 changed files with 1070 additions and 165 deletions

View file

@ -1,10 +1,8 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://mlib.meshlib" type="MeshLibrary" id=1]
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://Goal.tscn" type="PackedScene" id=3]
[ext_resource path="res://Hedgehog.tscn" type="PackedScene" id=4]
[ext_resource path="res://Player.gd" type="Script" id=5]
[node name="Node" type="Node" index="0"]
@ -48,15 +46,9 @@ _sections_unfolded = [ "Transform" ]
[node name="Player" parent="." index="2" instance=ExtResource( 2 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -2.88637, 3.48439, -2.72332 )
visible = false
[node name="Goal" parent="." index="3" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 3, 1 )
[node name="Hedgehog" parent="." index="4" instance=ExtResource( 4 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -3, 3, -3 )
script = ExtResource( 5 )