mirror of
https://github.com/tonytins/citylimits
synced 2025-06-26 01:44:42 -04:00
Lots of stuff I forgot to commit because Holidays
- D&D dice engine (see README) - Markdown support - Phantom camera
This commit is contained in:
parent
9589acd877
commit
2b41f84b05
125 changed files with 13170 additions and 23 deletions
38
addons/phantom_camera/examples/ui/UIInventory.tscn
Normal file
38
addons/phantom_camera/examples/ui/UIInventory.tscn
Normal file
|
@ -0,0 +1,38 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dg7rhrymsrrrm"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b7cs6me43ufh3" path="res://addons/phantom_camera/examples/textures/2D/inventory_container.png" id="1_pi2dp"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="2_0rdcn"]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 136.0
|
||||
offset_top = -255.0
|
||||
offset_right = 1016.0
|
||||
offset_bottom = 183.0
|
||||
grow_vertical = 2
|
||||
scale = Vector2(1.2, 1.2)
|
||||
texture = ExtResource("1_pi2dp")
|
||||
|
||||
[node name="Label" type="Label" parent="TextureRect"]
|
||||
layout_mode = 0
|
||||
offset_left = 345.0
|
||||
offset_top = 12.0
|
||||
offset_right = 535.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_colors/font_color = Color(0.356863, 0.105882, 0.133333, 1)
|
||||
theme_override_fonts/font = ExtResource("2_0rdcn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Inventory"
|
||||
horizontal_alignment = 1
|
||||
uppercase = true
|
84
addons/phantom_camera/examples/ui/UISign.tscn
Normal file
84
addons/phantom_camera/examples/ui/UISign.tscn
Normal file
|
@ -0,0 +1,84 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://iq5xd1ob1res"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bloouh2jtndx1" path="res://addons/phantom_camera/examples/textures/2D/sign_prompt.png" id="1_tftrk"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="2_y5454"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r4h3u"]
|
||||
bg_color = Color(0.470588, 0.6, 0.45098, 1)
|
||||
corner_radius_top_right = 47
|
||||
corner_radius_bottom_left = 40
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -410.0
|
||||
offset_top = 108.0
|
||||
offset_right = 137.135
|
||||
offset_bottom = 474.0
|
||||
grow_horizontal = 2
|
||||
scale = Vector2(1.5, 1.5)
|
||||
texture = ExtResource("1_tftrk")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Label" type="Label" parent="TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 25.0
|
||||
offset_top = 64.0
|
||||
offset_right = -25.0
|
||||
offset_bottom = -88.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_color = Color(0.207843, 0.0470588, 0.0666667, 1)
|
||||
theme_override_fonts/font = ExtResource("2_y5454")
|
||||
theme_override_font_sizes/font_size = 62
|
||||
text = "Stay Awhile
|
||||
and read"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
uppercase = true
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -240.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = 200.0
|
||||
grow_horizontal = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_r4h3u")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Example Textsdadassa
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
Loading…
Add table
Add a link
Reference in a new issue