1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2025-02-16 17:13:59 +00:00
looping-for-loops/Objects/ScrollingObjects/Loop.tscn

27 lines
987 B
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Sprites/lööp.png" type="Texture" id=1]
[ext_resource path="res://Objects/ScrollingObjects/Loop.gd" type="Script" id=2]
[ext_resource path="res://Objects/ScrollingObjects/Utilities/ConveyorScrollParent.tscn" type="PackedScene" id=3]
[ext_resource path="res://Objects/ScrollingObjects/Utilities/WrapParent.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape2D" id=1]
radius = 5.52907
height = 4.30358
[node name="Loop" type="Area2D"]
collision_layer = 32
collision_mask = 2
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="ConveyorScrollParent" parent="." instance=ExtResource( 3 )]
[node name="WrapParent" parent="." instance=ExtResource( 4 )]
position = Vector2( 8.5, 0 )
[connection signal="body_entered" from="." to="." method="_on_Loop_body_entered"]