platformer-game-test/assets/Water/WaterFall.tscn
2020-09-14 11:28:03 -04:00

44 lines
1.1 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/Water/waterfall_anim_strip_4.png" type="Texture" id=1]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 16, 24 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 1 )
region = Rect2( 16, 0, 16, 24 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 1 )
region = Rect2( 32, 0, 16, 24 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 1 )
region = Rect2( 48, 0, 16, 24 )
[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 12.0
} ]
[sub_resource type="RectangleShape2D" id=11]
extents = Vector2( 8, 12 )
[node name="WaterFall" type="Area2D"]
collision_layer = 8
[node name="Watefall" type="AnimatedSprite" parent="."]
position = Vector2( 0, -12 )
frames = SubResource( 5 )
frame = 1
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -12 )
shape = SubResource( 11 )