71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://Resources/Graphics/Water/close_to_land.png" type="Texture" id=2]
|
|
[ext_resource path="res://Resources/Graphics/Tiles/platform.png" type="Texture" id=3]
|
|
[ext_resource path="res://World/Tiles/CoastalProps.gd" type="Script" id=4]
|
|
|
|
[sub_resource type="ParticlesMaterial" id=6]
|
|
emission_shape = 2
|
|
emission_box_extents = Vector3( 16, 1, 1 )
|
|
flag_disable_z = true
|
|
direction = Vector3( 0, -1, 0 )
|
|
gravity = Vector3( 0, 5, 0 )
|
|
initial_velocity = 10.0
|
|
initial_velocity_random = 0.5
|
|
orbit_velocity = 0.0
|
|
orbit_velocity_random = 0.0
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 0, 0, 32, 32 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 32, 0, 32, 32 )
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 64, 0, 32, 32 )
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 96, 0, 32, 32 )
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 2.0
|
|
} ]
|
|
|
|
[node name="CoastalProps" type="Node2D"]
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Platform" type="Sprite" parent="."]
|
|
position = Vector2( 0, 16 )
|
|
z_index = -1
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Particles2D" type="Particles2D" parent="."]
|
|
position = Vector2( 0, 29 )
|
|
z_index = -1
|
|
amount = 2
|
|
lifetime = 2.0
|
|
randomness = 1.0
|
|
process_material = SubResource( 6 )
|
|
|
|
[node name="Reflection" type="Sprite" parent="."]
|
|
self_modulate = Color( 1, 1, 1, 0.113725 )
|
|
position = Vector2( 0, 37 )
|
|
z_index = -1
|
|
texture = ExtResource( 3 )
|
|
flip_v = true
|
|
|
|
[node name="Water" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 0, 16 )
|
|
z_index = -1
|
|
frames = SubResource( 1 )
|
|
frame = 2
|
|
playing = true
|