From 55d42fa25d6bc85af841dd7fbd128367b18052b0 Mon Sep 17 00:00:00 2001 From: Hellie-xd Date: Wed, 5 Aug 2026 02:47:05 +0200 Subject: [PATCH] equippable added rigidbodies with equippable group will be able to be added to the inventory. need to add holding and dropping (selected item showing in hand, in a marker3Ds position and also be able to drop it, remove item) --- scenes/player/equip_prompt.tscn | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scenes/player/equip_prompt.tscn diff --git a/scenes/player/equip_prompt.tscn b/scenes/player/equip_prompt.tscn new file mode 100644 index 0000000..bf9abbb --- /dev/null +++ b/scenes/player/equip_prompt.tscn @@ -0,0 +1,33 @@ +[gd_scene format=3 uid="uid://dgccyj4g0rp52"] + +[ext_resource type="Shader" uid="uid://desjwy54cjos8" path="res://shaders/blur_shader.gdshader" id="1_dt8en"] + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_aghy0"] +shader = ExtResource("1_dt8en") +shader_parameter/blur_amount = 2.5 + +[node name="GrabPrompt" type="Control" unique_id=318901794] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="AspectRatioContainer" type="AspectRatioContainer" parent="." unique_id=1898441113] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.4 +anchor_top = 0.4 +anchor_right = 0.6 +anchor_bottom = 0.5 + +[node name="Panel" type="Panel" parent="AspectRatioContainer" unique_id=530766557] +material = SubResource("ShaderMaterial_aghy0") +layout_mode = 2 + +[node name="Label" type="Label" parent="AspectRatioContainer" unique_id=1563300647] +layout_mode = 2 +text = "[E] to equip" +horizontal_alignment = 1 +vertical_alignment = 1