1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-22 16:14:22 +00:00
looping-for-loops/Objects/ScrollingObjects/Ghosts/GhostBlock.tscn

48 lines
1.5 KiB
Text
Raw Normal View History

2020-10-05 20:20:12 +00:00
[gd_scene load_steps=8 format=2]
2020-10-04 18:26:45 +00:00
[ext_resource path="res://Objects/ScrollingObjects/Ghosts/GhostBlock.gd" type="Script" id=1]
2020-10-05 14:38:54 +00:00
[ext_resource path="res://Sprites/block_OFF.png" type="Texture" id=2]
2020-10-04 18:26:45 +00:00
[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]
2020-10-05 20:20:12 +00:00
[ext_resource path="res://Sprites/block_ON.png" type="Texture" id=5]
[sub_resource type="Animation" id=2]
resource_name = "Appear"
tracks/0/type = "value"
tracks/0/path = NodePath("Active:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
2020-10-04 18:26:45 +00:00
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 20, 20 )
2020-10-05 20:20:12 +00:00
[node name="GhostBlock" type="KinematicBody2D"]
2020-10-04 18:26:45 +00:00
script = ExtResource( 1 )
2020-10-05 20:20:12 +00:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
playback_speed = 3.0
anims/Appear = SubResource( 2 )
[node name="Inactive" type="Sprite" parent="."]
2020-10-04 18:26:45 +00:00
texture = ExtResource( 2 )
2020-10-05 20:20:12 +00:00
[node name="Active" type="Sprite" parent="."]
texture = ExtResource( 5 )
2020-10-04 18:26:45 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2020-10-05 14:38:54 +00:00
visible = false
2020-10-04 18:26:45 +00:00
shape = SubResource( 1 )
[node name="ConveyorScrollParent" parent="." instance=ExtResource( 3 )]
[node name="WrapParent" parent="." instance=ExtResource( 4 )]
position = Vector2( 20, 0 )