This repository has been archived on 2022-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Tyra/scenes/PortailDeFin.tscn

25 lines
765 B
Text
Raw Normal View History

2021-04-08 02:55:42 +02:00
[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 )
energy = 0.5
mode = 2
[connection signal="body_entered" from="." to="." method="_on_Portail_de_fin_body_entered"]