Mortar first act
This commit is contained in:
48
Game/Towers/mortar_tower.tscn
Normal file
48
Game/Towers/mortar_tower.tscn
Normal file
@ -0,0 +1,48 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://uqxd2lii1xba"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dil41a1ymo0ua" path="res://Game/Towers/towers.gd" id="1_bhlym"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkgih7tl654v1" path="res://Assets/Towers/Mortar part (3).png" id="1_sq58r"]
|
||||
[ext_resource type="Texture2D" uid="uid://cm33n3xc81rpj" path="res://Assets/Towers/Mortar part (2).png" id="2_bhlym"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxtluaplpd8hg" path="res://Assets/Towers/Mortar part (1).png" id="3_82ftk"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_cfdf4"]
|
||||
radius = 29.0
|
||||
height = 88.0
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bhlym"]
|
||||
size = Vector2(367.125, 172.25)
|
||||
|
||||
[node name="MortarTower" type="Node2D"]
|
||||
script = ExtResource("1_bhlym")
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||||
position = Vector2(0, 17)
|
||||
shape = SubResource("CapsuleShape2D_cfdf4")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
|
||||
position = Vector2(2, 20)
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
|
||||
position = Vector2(-1, -68)
|
||||
shape = SubResource("RectangleShape2D_bhlym")
|
||||
|
||||
[node name="MortarPart(3)" type="Sprite2D" parent="CharacterBody2D"]
|
||||
position = Vector2(0.800001, 18.6)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("1_sq58r")
|
||||
|
||||
[node name="MortarPart(2)" type="Sprite2D" parent="CharacterBody2D"]
|
||||
position = Vector2(4.40004, 18)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("2_bhlym")
|
||||
|
||||
[node name="MortarPart(1)" type="Sprite2D" parent="CharacterBody2D"]
|
||||
position = Vector2(0.800001, 31.6)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("3_82ftk")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
autostart = true
|
Reference in New Issue
Block a user