This repository has been archived on 2024-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
gmtk-2024/components/Borders.tscn

31 lines
996 B
Text

[gd_scene load_steps=3 format=3 uid="uid://bab4ac3s2n0o1"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_j1bt6"]
normal = Vector2(1, 0)
distance = -184.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_wodb0"]
normal = Vector2(-1, 0)
distance = -208.0
[node name="Borders" type="Node2D"]
[node name="Left" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Left"]
position = Vector2(184, 192)
shape = SubResource("WorldBoundaryShape2D_j1bt6")
[node name="Right" type="StaticBody2D" parent="."]
position = Vector2(0, -72)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Right"]
position = Vector2(272, 264)
shape = SubResource("WorldBoundaryShape2D_wodb0")
[node name="Trigger" type="Area2D" parent="Right"]
position = Vector2(0, 72)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Right/Trigger"]
position = Vector2(272, 264)
shape = SubResource("WorldBoundaryShape2D_wodb0")