From 6cd4de5fe67fa36f41e38c07740efff82f1ec933 Mon Sep 17 00:00:00 2001 From: RealMelwei Date: Fri, 19 Sep 2025 11:08:11 +0200 Subject: [PATCH] Bow Sprite --- items/active_items/bow/bow.png | Bin 0 -> 1150 bytes items/active_items/bow/bow.png.import | 40 ++++++++++++++++++++++++++ items/active_items/bow/bow.tscn | 22 +++++++++----- 3 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 items/active_items/bow/bow.png create mode 100644 items/active_items/bow/bow.png.import diff --git a/items/active_items/bow/bow.png b/items/active_items/bow/bow.png new file mode 100644 index 0000000000000000000000000000000000000000..d2a3c1a15f91ebe2aa45988afc1e221dd07ea548 GIT binary patch literal 1150 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRSEa{HEjtmSN`?>!lvNA9*wq!ax z2Y5O=D-;yvr)B1(GB9XNtet4y`%+4Kid_yOih{kV@}1LCEP;xMX`lHdy6+7Wjfz8W9Ao|!j=e~vW=IH zu1U!{a`{ML=w;3L6T8+F-FvhqG;2+*|Gz^4aq*GQtj-FmZ0u0=5LmdN%}8s*%JoJi zK{`t^?H@jr&-->%);f0Fdh=l2e$IL0?R{#s(-P zS>hT|;+&tGo0?a`;9QiNSdyBeP@Y+mq2TW68xY>eC(gjYwbo~`^PAGh84^Zm!kS810%@7F&!>({xyKWx9$7?>I)7c8DP|MkP)b#|f* zj1CM2%tzk*ycp-t>cAktaE9S<)u)Bk1=+@pTnktg7-leLm2UlW%jMP1m%k(D@6WUS zSGjk_Y6cDlCI^P&Tk9KkU+#bV_}!uR>T?}0%~XhW*RT~{!4L(sgh2tMsG*dh?ECYY z#;e~Re`C79B*4G|vQdCx4KvU8AD_0Y{K?&4#9_xj-?I9YzNqF|3AR^q!8FMQ zTj$xAs(JLz6%1j}Wnf$o{f(*V^xbj;(=vTWR*);!FkjikHzBJw_J9>glf!yrhdi|c zy9O?hv)>$vb4a(1hXzNg%Wr!|sC{3n8CPahGw=M(vMbyGb-aG%&_1}=-Ty5;|?$@v8 z{dKE8eEp{d3c(AftsJW6%#~~Rx8=9L{&{ii`}N>JVGgZd|F`!0i)+>Uzz*JG#O(9- kVe-{`pF=_6``|i%u*1!8;Y&|Ffys`+)78&qol`;+0Bi2o&j0`b literal 0 HcmV?d00001 diff --git a/items/active_items/bow/bow.png.import b/items/active_items/bow/bow.png.import new file mode 100644 index 0000000..5b0b4bc --- /dev/null +++ b/items/active_items/bow/bow.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d01h01le82gyh" +path="res://.godot/imported/bow.png-5c21d924e7ed46a9ae9ef92089b84a58.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://items/active_items/bow/bow.png" +dest_files=["res://.godot/imported/bow.png-5c21d924e7ed46a9ae9ef92089b84a58.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/items/active_items/bow/bow.tscn b/items/active_items/bow/bow.tscn index dd8a9ec..cd2fda2 100644 --- a/items/active_items/bow/bow.tscn +++ b/items/active_items/bow/bow.tscn @@ -1,30 +1,38 @@ -[gd_scene load_steps=7 format=3 uid="uid://ddn025xnjngko"] +[gd_scene load_steps=8 format=3 uid="uid://ddn025xnjngko"] [ext_resource type="Script" uid="uid://bkcip66at5sug" path="res://items/active_items/bow/bow.gd" id="1_xppub"] [ext_resource type="PackedScene" uid="uid://dfva4dhflxglr" path="res://items/active_items/bow/arrow.tscn" id="2_0id2q"] -[ext_resource type="Texture2D" uid="uid://cy70quh6k3s1j" path="res://icon.svg" id="2_gllxn"] +[ext_resource type="Texture2D" uid="uid://d01h01le82gyh" path="res://items/active_items/bow/bow.png" id="3_vkelq"] [ext_resource type="PackedScene" uid="uid://chs0u61f45nau" path="res://utils/earth_aligner.tscn" id="4_0id2q"] [ext_resource type="AudioStream" uid="uid://bg1w0fyeyys2p" path="res://sounds/item-equip-6904.mp3" id="5_gfbg0"] +[ext_resource type="Texture2D" uid="uid://d4mrbgfl7jpqq" path="res://items/ItemShine.png" id="5_o1smo"] [sub_resource type="CircleShape2D" id="CircleShape2D_gllxn"] +radius = 13.239409 [node name="Bow" type="Area2D"] collision_layer = 0 collision_mask = 4 script = ExtResource("1_xppub") arrow_scene = ExtResource("2_0id2q") -sprite = ExtResource("2_gllxn") +sprite = ExtResource("3_vkelq") [node name="EarthAligner" parent="." instance=ExtResource("4_0id2q")] [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -scale = Vector2(3.1, 3.1) +position = Vector2(5, 2) +scale = Vector2(2.17, 3.5) shape = SubResource("CircleShape2D_gllxn") +[node name="Sprite2D2" type="Sprite2D" parent="."] +modulate = Color(0.583047, 0.321422, 0.988413, 1) +position = Vector2(8, 2) +scale = Vector2(1.5, 1.5) +texture = ExtResource("5_o1smo") + [node name="Sprite2D" type="Sprite2D" parent="."] -modulate = Color(0, 1, 0, 1) -scale = Vector2(0.45, 0.45) -texture = ExtResource("2_gllxn") +scale = Vector2(0.7, 0.7) +texture = ExtResource("3_vkelq") [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("5_gfbg0")