mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-21 23:54:23 +00:00
24 lines
841 B
Text
24 lines
841 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Sprites/crate.png" type="Texture" id=1]
|
|
[ext_resource path="res://Objects/ScrollingObjects/Utilities/ConveyorScrollParent.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://Objects/ScrollingObjects/Utilities/WrapParent.tscn" type="PackedScene" id=3]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 20, 20 )
|
|
|
|
[node name="ScrollingBlock" type="KinematicBody2D"]
|
|
collision_layer = 8
|
|
collision_mask = 2
|
|
motion/sync_to_physics = true
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="ConveyorScrollParent" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="WrapParent" parent="." instance=ExtResource( 3 )]
|
|
position = Vector2( 24, 0 )
|