25 lines
814 B
Text
25 lines
814 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/images/sortie.png" type="Texture" id=1]
|
|
[ext_resource path="res://scripts/PortailDeFin.gd" type="Script" id=2]
|
|
[ext_resource path="res://assets/images/lumiere.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="CircleShape2D" id=2]
|
|
radius = 35.9876
|
|
|
|
[node name="Portail de fin" type="Area2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
scale = Vector2( 1.5, 1.5 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Light2D" type="Light2D" parent="."]
|
|
texture = ExtResource( 3 )
|
|
color = Color( 0.678431, 0.141176, 0.647059, 1 )
|
|
energy = 0.5
|
|
mode = 2
|
|
[connection signal="body_entered" from="." to="." method="_on_Portail_de_fin_body_entered"]
|