123456789101112131415161718192021222324252627282930 |
- [gd_scene load_steps=4 format=3 uid="uid://cotwb2mk31lpx"]
- [ext_resource type="Texture2D" uid="uid://iahia86rgssf" path="res://composants/objets/javelot/mcJavelot.png" id="1_00b17"]
- [ext_resource type="Script" path="res://composants/objets/javelot/javelot.gd" id="1_cih4f"]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_0j83v"]
- size = Vector2(14, 14)
- [node name="Javelot" type="Node2D"]
- script = ExtResource("1_cih4f")
- [node name="Image" type="Sprite2D" parent="."]
- texture = ExtResource("1_00b17")
- centered = false
- offset = Vector2(-14, -14)
- [node name="ZoneDestructive" type="Area2D" parent="."]
- position = Vector2(0, 8.63)
- collision_layer = 32
- collision_mask = 16
- [node name="FormeZone" type="CollisionShape2D" parent="ZoneDestructive"]
- rotation = 0.785398
- shape = SubResource("RectangleShape2D_0j83v")
- [node name="VerificateurVisibilite" type="VisibleOnScreenNotifier2D" parent="."]
- rect = Rect2(-16, -16, 32, 300)
- [connection signal="body_entered" from="ZoneDestructive" to="." method="_quand_corps_entre_dans_zone_destructive"]
- [connection signal="screen_exited" from="VerificateurVisibilite" to="." method="_quand_verificateur_visibilite_detecte_sortie_ecran"]
|