Skip to content

Commit 620cada

Browse files
committed
Update art for simple bullet
1 parent febb4d4 commit 620cada

6 files changed

Lines changed: 162 additions & 12 deletions

File tree

assets/sprites.svg

Lines changed: 25 additions & 5 deletions
Loading

components/hitbox/component_hitbox_2d.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene format=3 uid="uid://c1flcsvrxwav7"]
22

3-
[ext_resource type="Script" uid="uid://bh07e5hs6eihb" path="res://lib/components/2d/hitbox/component_hitbox_2d.gd" id="1_dhyth"]
3+
[ext_resource type="Script" uid="uid://bh07e5hs6eihb" path="res://components/hitbox/component_hitbox_2d.gd" id="1_dhyth"]
44

55
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_huh8w"]
66
resource_local_to_scene = true

game/projectile/projectile.tscn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ height = 10.0
1313
script = ExtResource("1_08h31")
1414

1515
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=698949931]
16-
self_modulate = Color(1, 1, 0.03529412, 1)
1716
scale = Vector2(0.078125, 0.078125)
1817
texture = ExtResource("1_06jd3")
1918

Lines changed: 113 additions & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[remap]
2+
3+
importer="svg"
4+
type="DPITexture"
5+
uid="uid://c75370j5g1r0b"
6+
path="res://.godot/imported/simple_bullet.svg-5674b49639e2548262ea9a237d794c2b.dpitex"
7+
8+
[deps]
9+
10+
source_file="res://game/projectile/projectile_data/projectiles/simple_bullet/simple_bullet.svg"
11+
dest_files=["res://.godot/imported/simple_bullet.svg-5674b49639e2548262ea9a237d794c2b.dpitex"]
12+
13+
[params]
14+
15+
base_scale=1.0
16+
saturation=1.0
17+
color_map={}
18+
compress=true

game/projectile/projectile_data/projectiles/simple_bullet/simple_bullet.tscn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
[ext_resource type="PackedScene" uid="uid://cnf8dv1t2lgxb" path="res://game/projectile/projectile.tscn" id="1_l3gi0"]
44
[ext_resource type="Script" uid="uid://38prbnxyxqsu" path="res://game/projectile/projectile_data/projectiles/simple_bullet/simple_bullet.gd" id="2_17s52"]
5+
[ext_resource type="Texture2D" uid="uid://c75370j5g1r0b" path="res://game/projectile/projectile_data/projectiles/simple_bullet/simple_bullet.svg" id="3_t0llp"]
56

6-
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l3gi0"]
7-
resource_local_to_scene = true
8-
radius = 14.0
9-
height = 28.0
7+
[sub_resource type="CircleShape2D" id="CircleShape2D_t0llp"]
8+
radius = 6.0
109

1110
[node name="SimpleBullet" unique_id=865771493 instance=ExtResource("1_l3gi0")]
1211
script = ExtResource("2_17s52")
1312

1413
[node name="Sprite2D" parent="." index="0" unique_id=698949931]
1514
scale = Vector2(0.21874997, 0.21874997)
15+
texture = ExtResource("3_t0llp")
1616

1717
[node name="CollisionShape2D" parent="Hitbox2D" parent_id_path=PackedInt32Array(1358559902) index="0" unique_id=1055038057]
18-
shape = SubResource("CapsuleShape2D_l3gi0")
18+
shape = SubResource("CircleShape2D_t0llp")
1919

2020
[editable path="Hitbox2D"]

0 commit comments

Comments
 (0)