Wizard Tower and special effects
This commit is contained in:
89
Game/Towers/wizard_tower.tscn
Normal file
89
Game/Towers/wizard_tower.tscn
Normal file
@ -0,0 +1,89 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://b4e605q60lde4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dil41a1ymo0ua" path="res://Game/Towers/towers.gd" id="1_grwc8"]
|
||||
[ext_resource type="Texture2D" uid="uid://dngrpwmj4oedg" path="res://Assets/Towers/S_Fly.png" id="2_grwc8"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_35u2c"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(0, 0, 96, 96)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fpdhp"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(96, 0, 96, 96)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mo8k5"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(192, 0, 96, 96)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uxuma"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(288, 0, 96, 96)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_l7hme"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(384, 0, 96, 96)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pvyvx"]
|
||||
atlas = ExtResource("2_grwc8")
|
||||
region = Rect2(480, 0, 96, 96)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_pvyvx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_35u2c")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fpdhp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mo8k5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_uxuma")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_l7hme")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pvyvx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_hcema"]
|
||||
radius = 29.0
|
||||
height = 88.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_c5q70"]
|
||||
radius = 183.044
|
||||
|
||||
[node name="WizardTower" type="Node2D"]
|
||||
script = ExtResource("1_grwc8")
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D"]
|
||||
position = Vector2(1, 13)
|
||||
scale = Vector2(1.5, 1.5)
|
||||
sprite_frames = SubResource("SpriteFrames_pvyvx")
|
||||
animation = &"Default"
|
||||
autoplay = "Default"
|
||||
frame_progress = 0.265757
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||||
position = Vector2(0, 17)
|
||||
shape = SubResource("CapsuleShape2D_hcema")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
|
||||
position = Vector2(2, 20)
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
|
||||
shape = SubResource("CircleShape2D_c5q70")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 2.0
|
||||
autostart = true
|
Reference in New Issue
Block a user