Prechádzať zdrojové kódy

:lipstick: Cache les formes des zones

Rend plus propre l'edition de niveaux.
DricomDragon 9 mesiacov pred
rodič
commit
8e813d2d0a

+ 2 - 0
godot/composants/objets/brique/brique.tscn

@@ -21,6 +21,7 @@ collision_mask = 20
 monitoring = false
 
 [node name="FormeInfluence" type="CollisionShape2D" parent="ZoneInfluence"]
+visible = false
 position = Vector2(15, 8)
 shape = SubResource("RectangleShape2D_ong6t")
 
@@ -29,6 +30,7 @@ texture = ExtResource("3_72vd6")
 centered = false
 
 [node name="FormeRebond" type="CollisionShape2D" parent="."]
+visible = false
 position = Vector2(15, 8)
 shape = SubResource("RectangleShape2D_tnj5s")
 debug_color = Color(1, 0.6, 0.701961, 0.419608)