From b3ebf482b59d99c7e7e1dd1a74796d455ca88af6 Mon Sep 17 00:00:00 2001 From: noah cuadrado Date: Mon, 9 Sep 2024 00:54:59 +0200 Subject: [PATCH] Add new pixel mouse --- components/Cursor/Cursor.tscn | 4 +-- components/Cursor/cursor_pixel.png | Bin 0 -> 511 bytes components/Cursor/cursor_pixel.png.import | 34 ++++++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 components/Cursor/cursor_pixel.png create mode 100644 components/Cursor/cursor_pixel.png.import diff --git a/components/Cursor/Cursor.tscn b/components/Cursor/Cursor.tscn index f40ce7e..8a4f685 100644 --- a/components/Cursor/Cursor.tscn +++ b/components/Cursor/Cursor.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://qecwga1b4yqn"] [ext_resource type="Script" path="res://components/Cursor/cursor.gd" id="1_nmkwm"] -[ext_resource type="Texture2D" uid="uid://q4wsbkhirtoh" path="res://components/Cursor/cursor.png" id="2_luk0m"] +[ext_resource type="Texture2D" uid="uid://cfhqgy3ueghye" path="res://components/Cursor/cursor_pixel.png" id="2_30mna"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_4cq27"] @@ -16,7 +16,7 @@ shape = SubResource("RectangleShape2D_4cq27") [node name="Sprite2D" type="Sprite2D" parent="MouseControl"] scale = Vector2(0.15625, 0.15625) -texture = ExtResource("2_luk0m") +texture = ExtResource("2_30mna") [connection signal="area_entered" from="MouseControl" to="." method="_on_mouse_control_area_entered"] [connection signal="area_exited" from="MouseControl" to="." method="_on_mouse_control_area_exited"] diff --git a/components/Cursor/cursor_pixel.png b/components/Cursor/cursor_pixel.png new file mode 100644 index 0000000000000000000000000000000000000000..4c9f5238cb78ef0366a226c40186286d2b1bf59b GIT binary patch literal 511 zcmV>HXkfKeD>_aJHP(v~z><-8w z=?WDBq;QK-yeW4KYEVW*oda@Ex}tgmO)khW!WkwUP-4V#-LwEHSJxu{enEQ-YP3XT z8VBTPiOAFfq?97k)L~eTL5UcTAK`Y0vrGgc$E~~OG1GDkYNNr_4rtk^JvD2x;DWQ$ z<7pglbz9!F03#Mdr+*|JgVB2fW*k6u@}yb-j?L0bH>HjN=Q*P)2S^;SURn!;5Vq8w zBjG+5P_r1?y%#whQX_yAU5bzD45g|M+zyZzK(hKkrvQ|r0T-eUkgh(UAOg~K3t&A4 zVh+$?e_)URmR%s?04>!A?oP08Dtx46YOJaH!0iBD0kl;g7%YIr(cq2%*Ml_LA0QCG zS`1hmptbq{kpPxlK<)s|)d%iTfR^-6*;-lN0e=S{5`o8um}&q3002ovPDHLkV1kug B(S-m2 literal 0 HcmV?d00001 diff --git a/components/Cursor/cursor_pixel.png.import b/components/Cursor/cursor_pixel.png.import new file mode 100644 index 0000000..021c447 --- /dev/null +++ b/components/Cursor/cursor_pixel.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfhqgy3ueghye" +path="res://.godot/imported/cursor_pixel.png-899adaa457ed843c1c5a53f6e1062611.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://components/Cursor/cursor_pixel.png" +dest_files=["res://.godot/imported/cursor_pixel.png-899adaa457ed843c1c5a53f6e1062611.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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