Add independent pixelation controls
This commit is contained in:
parent
6fadca19b4
commit
c7504d2585
21 changed files with 735 additions and 122 deletions
30
ui/pixelation_reset_overlay.tscn
Normal file
30
ui/pixelation_reset_overlay.tscn
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/pixelation_reset_overlay.gd" id="1_script"]
|
||||
[ext_resource type="Theme" path="res://ui/game_theme.tres" id="2_theme"]
|
||||
|
||||
[node name="PixelationResetOverlay" type="CanvasLayer"]
|
||||
layer = 300
|
||||
visible = false
|
||||
script = ExtResource("1_script")
|
||||
|
||||
[node name="ResetAnchor" type="MarginContainer" parent="."]
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -324.0
|
||||
offset_top = -86.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -16.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("2_theme")
|
||||
|
||||
[node name="ResetPixelationButton" type="Button" parent="ResetAnchor"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(308, 70)
|
||||
layout_mode = 2
|
||||
text = "reset pixelation"
|
||||
Loading…
Add table
Add a link
Reference in a new issue