Added some projectile sprites

This commit is contained in:
2025-11-08 22:52:40 +03:00
parent 340b050489
commit 213a0d60ed
18 changed files with 255 additions and 50 deletions
@@ -1,16 +1,18 @@
[gd_scene load_steps=7 format=3 uid="uid://cgi7wd84kjnyw"]
[gd_scene load_steps=8 format=3 uid="uid://cgi7wd84kjnyw"]
[ext_resource type="PackedScene" uid="uid://ybkqaynvpcjm" path="res://game/entities/weapons/abstract_projectile.tscn" id="1_20qwt"]
[ext_resource type="Script" uid="uid://dfdh0o88as054" path="res://game/entities/weapons/cannon/cannon_projectile.gd" id="2_x3axw"]
[ext_resource type="Script" uid="uid://dftb7hg5f06b5" path="res://game/health_system/damage/explosion_damage.gd" id="3_lb11p"]
[ext_resource type="Texture2D" uid="uid://oj86smpsipw4" path="res://images/projectiles.png" id="4_bb01p"]
[sub_resource type="Resource" id="Resource_bb01p"]
script = ExtResource("3_lb11p")
value = 50
metadata/_custom_type_script = "uid://dftb7hg5f06b5"
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_x3axw"]
size = Vector2(6, 6)
[sub_resource type="AtlasTexture" id="AtlasTexture_ugryq"]
atlas = ExtResource("4_bb01p")
region = Rect2(32, 16, 16, 16)
[sub_resource type="CircleShape2D" id="CircleShape2D_lb11p"]
radius = 2.0
@@ -20,8 +22,8 @@ script = ExtResource("2_x3axw")
damage = SubResource("Resource_bb01p")
speed = 600
[node name="Sprite2D" parent="." index="0"]
texture = SubResource("PlaceholderTexture2D_x3axw")
[node name="Sprite2D" type="Sprite2D" parent="." index="0"]
texture = SubResource("AtlasTexture_ugryq")
[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_lb11p")