mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-25 09:34:22 +00:00
24 lines
897 B
Text
24 lines
897 B
Text
|
[gd_scene load_steps=6 format=2]
|
||
|
|
||
|
[ext_resource path="res://Objects/ScrollingObjects/Ghosts/GhostBlock.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://Sprites/ghost_block_active.png" type="Texture" 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="RectangleShape2D" id=1]
|
||
|
extents = Vector2( 20, 20 )
|
||
|
|
||
|
[node name="GhostBlock" type="StaticBody2D"]
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[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( 20, 0 )
|