Des feux rouges!

Pour arrêter les voiture vroom vroom
This commit is contained in:
Thomas
2025-02-24 18:09:33 +01:00
parent 3ba18fbddf
commit 725584c477
14 changed files with 427 additions and 15 deletions

15
vehicules/brakeZone.tscn Normal file
View File

@@ -0,0 +1,15 @@
[gd_scene load_steps=2 format=3 uid="uid://dpyadhlqawviq"]
[ext_resource type="Script" path="res://vehicules/brake_zone.gd" id="1_bbbt2"]
[node name="BrakeZone" type="Area2D"]
collision_layer = 2
collision_mask = 3
script = ExtResource("1_bbbt2")
[node name="Label" type="Label" parent="."]
offset_right = 40.0
offset_bottom = 23.0
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]