2024-08-17 19:54:37 +00:00
|
|
|
[gd_scene load_steps=27 format=3 uid="uid://bxbpvgteyfh02"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/viruling.gd" id="1_eevnl"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://djjun1p0rx1ap" path="res://assets/export/viruling-.png" id="1_i45rj"]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_gi7h4"]
|
|
|
|
radius = 17.0294
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ey3ug"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yg44u"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(32, 96, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_10kxp"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(64, 96, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_asgry"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(96, 96, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_shkjk"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(128, 96, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n7xsd"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(0, 128, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b78uq"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yk2as"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bp4sa"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qe65k"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ii7ue"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(0, 32, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2mb0r"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(32, 32, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rwb2y"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(64, 32, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_muc0u"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(96, 32, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lh2dq"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(128, 32, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ynt0w"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(0, 64, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gys0u"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(32, 64, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tspca"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(64, 64, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e81jk"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(96, 64, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4h8vk"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(128, 64, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4j73j"]
|
2024-08-17 19:54:37 +00:00
|
|
|
atlas = ExtResource("1_i45rj")
|
|
|
|
region = Rect2(0, 96, 32, 32)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_paa88"]
|
2024-08-17 19:54:37 +00:00
|
|
|
animations = [{
|
|
|
|
"frames": [{
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_ey3ug")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_yg44u")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_10kxp")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_asgry")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_shkjk")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_n7xsd")
|
2024-08-17 19:54:37 +00:00
|
|
|
}],
|
|
|
|
"loop": true,
|
|
|
|
"name": &"death",
|
|
|
|
"speed": 10.0
|
|
|
|
}, {
|
|
|
|
"frames": [{
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_ey3ug")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_b78uq")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_yk2as")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_bp4sa")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_qe65k")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_ii7ue")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_2mb0r")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_rwb2y")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_ey3ug")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_muc0u")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_lh2dq")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_ynt0w")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_gys0u")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_tspca")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_e81jk")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_4h8vk")
|
2024-08-17 19:54:37 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2024-08-17 21:39:51 +00:00
|
|
|
"texture": SubResource("AtlasTexture_4j73j")
|
2024-08-17 19:54:37 +00:00
|
|
|
}],
|
|
|
|
"loop": true,
|
|
|
|
"name": &"spin",
|
|
|
|
"speed": 10.0
|
|
|
|
}]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kpyhc"]
|
|
|
|
radius = 16.0
|
|
|
|
|
|
|
|
[node name="Viruling" type="CharacterBody2D"]
|
|
|
|
collision_layer = 3
|
|
|
|
collision_mask = 2
|
|
|
|
script = ExtResource("1_eevnl")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CircleShape2D_gi7h4")
|
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
2024-08-17 21:39:51 +00:00
|
|
|
sprite_frames = SubResource("SpriteFrames_paa88")
|
2024-08-17 19:54:37 +00:00
|
|
|
animation = &"spin"
|
|
|
|
metadata/_aseprite_wizard_config_ = {
|
|
|
|
"layer": "",
|
|
|
|
"o_ex_p": "",
|
|
|
|
"o_folder": "res://assets/export",
|
|
|
|
"o_name": "viruling-",
|
|
|
|
"only_visible": true,
|
|
|
|
"slice": "",
|
2024-08-17 21:39:51 +00:00
|
|
|
"source": "res://assets/Viruling.aseprite"
|
2024-08-17 19:54:37 +00:00
|
|
|
}
|
|
|
|
metadata/_aseprite_wizard_source_file_hash_ = "e9452ba317bc3563d2373e8b9d673cef"
|
|
|
|
metadata/_aseprite_wizard_interface_config_ = {
|
|
|
|
"output_section": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ContactHitbox" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ContactHitbox"]
|
|
|
|
shape = SubResource("CircleShape2D_kpyhc")
|
|
|
|
debug_color = Color(0.972226, 0, 0.442516, 0.42)
|
|
|
|
|
2024-08-17 21:39:51 +00:00
|
|
|
[node name="AttackTimer" type="Timer" parent="."]
|
2024-08-17 19:54:37 +00:00
|
|
|
one_shot = true
|
|
|
|
|
|
|
|
[node name="DeathTimer" type="Timer" parent="."]
|
|
|
|
wait_time = 0.55
|
|
|
|
one_shot = true
|