add game menu
This commit was merged in pull request #19.
This commit is contained in:
38
core/game_menu/arrow_button.tscn
Normal file
38
core/game_menu/arrow_button.tscn
Normal file
@@ -0,0 +1,38 @@
|
||||
[gd_scene format=3 uid="uid://dm3skv22c60tm"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cm7fok7lhrano" path="res://core/game_menu/assets/page_1/freccetta.png" id="1_vbu0v"]
|
||||
[ext_resource type="Script" uid="uid://3uxuhvua1036" path="res://core/game_menu/arrow_button.gd" id="2_xq7pl"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/game_menu/hoover_tween.tscn" id="3_hu4cn"]
|
||||
|
||||
[node name="ArrowButton" type="Control" unique_id=1696751730]
|
||||
custom_minimum_size = Vector2(101, 124)
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset = Vector2(0.5, 0.5)
|
||||
script = ExtResource("2_xq7pl")
|
||||
image = ExtResource("1_vbu0v")
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="." unique_id=91599097]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.47369793
|
||||
anchor_top = 0.4425926
|
||||
anchor_right = 0.5263021
|
||||
anchor_bottom = 0.5574074
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("1_vbu0v")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="HooverTween" parent="." unique_id=2115829120 node_paths=PackedStringArray("detector_node", "visual_node") instance=ExtResource("3_hu4cn")]
|
||||
detector_node = NodePath("..")
|
||||
visual_node = NodePath("../Texture")
|
||||
|
||||
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
||||
Reference in New Issue
Block a user