2020-10-03 18:27:59 +00:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-10-03 16:46:14 +00:00
|
|
|
|
2020-10-04 13:01:51 +00:00
|
|
|
[ext_resource path="res://Sprites/crate.png" type="Texture" id=1]
|
2020-10-04 14:35:24 +00:00
|
|
|
[ext_resource path="res://Objects/ScrollingObjects/ConveyorScrollParent.tscn" type="PackedScene" id=2]
|
2020-10-03 18:27:59 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
extents = Vector2( 20, 20 )
|
|
|
|
|
|
|
|
[node name="ScrollingBlock" type="KinematicBody2D"]
|
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 2
|
2020-10-03 18:53:58 +00:00
|
|
|
motion/sync_to_physics = true
|
2020-10-03 18:27:59 +00:00
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
2020-10-04 14:35:24 +00:00
|
|
|
|
|
|
|
[node name="ConveyorScrollParent" parent="." instance=ExtResource( 2 )]
|