breadwinner/scenes/player/equip_prompt.tscn
Hellie-xd 4bdd4d1708 grabbables work
title says all. next up: fixing the bugs of the texturerects in the
inventory after equipping an item, it gets bigger because the created
image is 128x128, but should be dynamic dependant on the viewport window
size
2026-08-06 01:00:09 +02:00

33 lines
986 B
Text

[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 = "[R] to equip"
horizontal_alignment = 1
vertical_alignment = 1