353 lines
9.7 KiB
Plaintext
353 lines
9.7 KiB
Plaintext
|
|
[gd_scene format=3 uid="uid://ct16vr66fn58d"]
|
||
|
|
|
||
|
|
[ext_resource type="Texture2D" uid="uid://digloa5111k82" path="res://spritesheets/__dark_blue_shark_idle.png" id="1_8x1to"]
|
||
|
|
[ext_resource type="Script" uid="uid://c2phpu1wyi63u" path="res://shark.gd" id="1_uce6o"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://b62iwqkbendj3" path="res://spritesheets/__dark_blue_shark_swim_snapping.png" id="2_26j10"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://b8uwcr02vroko" path="res://spritesheets/__dark_blue_shark_swim.png" id="3_mdx7w"]
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_odtda"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(0, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_530aw"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(608, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_waudk"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1216, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v4a3v"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1824, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o7ag1"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(0, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mucou"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(608, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x2kg3"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1216, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v1bmn"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1824, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mbefm"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(0, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_en38a"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(608, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_atjxr"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1216, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e7jrk"]
|
||
|
|
atlas = ExtResource("2_26j10")
|
||
|
|
region = Rect2(1824, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_upao1"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(0, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_26j10"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(608, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mdx7w"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1216, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rxqkv"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1824, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b02mf"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(0, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3gf6p"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(608, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m3xrg"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1216, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v16e6"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1824, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o0p4c"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(0, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m0341"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(608, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qnbor"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1216, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_13w6k"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1824, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ommjr"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(0, 1116, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vi1qj"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(608, 1116, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gwiyf"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1216, 1116, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t52xd"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1824, 1116, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xlq4o"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(0, 1488, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8bn3q"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(608, 1488, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lry6r"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1216, 1488, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mlert"]
|
||
|
|
atlas = ExtResource("1_8x1to")
|
||
|
|
region = Rect2(1824, 1488, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wh57x"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(0, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6qj1p"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(608, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bje6i"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1216, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rrnrc"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1824, 0, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7oqja"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(0, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u0c6y"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(608, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vlpjw"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1216, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pr3yp"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1824, 372, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nt8a0"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(0, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q2qhm"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(608, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_au4nt"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1216, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ax117"]
|
||
|
|
atlas = ExtResource("3_mdx7w")
|
||
|
|
region = Rect2(1824, 744, 608, 372)
|
||
|
|
|
||
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_odtda"]
|
||
|
|
animations = [{
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_odtda")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_530aw")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_waudk")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_v4a3v")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_o7ag1")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_mucou")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_x2kg3")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_v1bmn")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_mbefm")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_en38a")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_atjxr")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_e7jrk")
|
||
|
|
}],
|
||
|
|
"loop": false,
|
||
|
|
"name": &"bite",
|
||
|
|
"speed": 18.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_upao1")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_26j10")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_mdx7w")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_rxqkv")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_b02mf")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_3gf6p")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_m3xrg")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_v16e6")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_o0p4c")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_m0341")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_qnbor")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_13w6k")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ommjr")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_vi1qj")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_gwiyf")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_t52xd")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_xlq4o")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_8bn3q")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_lry6r")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_mlert")
|
||
|
|
}],
|
||
|
|
"loop": true,
|
||
|
|
"name": &"idle",
|
||
|
|
"speed": 18.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_wh57x")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_6qj1p")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_bje6i")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_rrnrc")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_7oqja")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_u0c6y")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_vlpjw")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_pr3yp")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_nt8a0")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_q2qhm")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_au4nt")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ax117")
|
||
|
|
}],
|
||
|
|
"loop": true,
|
||
|
|
"name": &"swim",
|
||
|
|
"speed": 24.0
|
||
|
|
}]
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_uce6o"]
|
||
|
|
radius = 100.0
|
||
|
|
height = 500.0
|
||
|
|
|
||
|
|
[node name="Shark" type="CharacterBody2D" unique_id=868425079]
|
||
|
|
script = ExtResource("1_uce6o")
|
||
|
|
rotation_speed = 6.283185307179586
|
||
|
|
|
||
|
|
[node name="SharkSprite" type="AnimatedSprite2D" parent="." unique_id=1862357568]
|
||
|
|
sprite_frames = SubResource("SpriteFrames_odtda")
|
||
|
|
animation = &"bite"
|
||
|
|
autoplay = "idle"
|
||
|
|
flip_h = true
|
||
|
|
|
||
|
|
[node name="SharkCam" type="Camera2D" parent="." unique_id=692363117]
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1437907772]
|
||
|
|
rotation = 1.5707964
|
||
|
|
shape = SubResource("CapsuleShape2D_uce6o")
|