Lots of stuff I forgot to commit because Holidays

- D&D dice engine (see README)
- Markdown support
- Phantom camera
This commit is contained in:
Tony Bark 2023-12-24 20:39:57 -05:00
parent 9589acd877
commit 2b41f84b05
125 changed files with 13170 additions and 23 deletions

View file

@ -19,7 +19,7 @@ selector = NodePath("Selector")
selector_container = NodePath("Selector/Container")
view_camera = NodePath("../View/Camera")
tile_map = NodePath("../TileMap")
cash_display = NodePath("../CanvasLayer/Interface/Wallet/Cash")
cash_display = NodePath("../CanvasLayer/Interface/Panel/Wallet/Cash")
[node name="Selector" type="Node2D" parent="Builder"]
@ -33,6 +33,7 @@ texture = ExtResource("2_xat7u")
script = ExtResource("3_2wqv3")
[node name="Camera" type="Camera2D" parent="View"]
visible = false
position = Vector2(566, 362)
[node name="TileMap" type="TileMap" parent="."]
@ -50,20 +51,33 @@ grow_vertical = 2
metadata/_edit_use_anchors_ = true
metadata/_edit_lock_ = true
[node name="Wallet" type="HBoxContainer" parent="CanvasLayer/Interface"]
[node name="Panel" type="Panel" parent="CanvasLayer/Interface"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0190972
anchor_top = 0.0277778
anchor_right = 0.211806
anchor_bottom = 0.109568
anchor_top = 0.888889
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 0
metadata/_edit_use_anchors_ = true
[node name="CashIcon" type="TextureRect" parent="CanvasLayer/Interface/Wallet"]
[node name="Wallet" type="HBoxContainer" parent="CanvasLayer/Interface/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0130208
anchor_top = 0.208333
anchor_right = 0.149306
anchor_bottom = 0.8125
alignment = 1
metadata/_edit_use_anchors_ = true
metadata/_edit_lock_ = true
[node name="CashIcon" type="TextureRect" parent="CanvasLayer/Interface/Panel/Wallet"]
layout_mode = 2
texture = ExtResource("2_thubv")
expand_mode = 3
[node name="Cash" type="Label" parent="CanvasLayer/Interface/Wallet"]
[node name="Cash" type="Label" parent="CanvasLayer/Interface/Panel/Wallet"]
layout_mode = 2
text = "$10,000"
label_settings = SubResource("LabelSettings_i6wk0")

View file

@ -31,7 +31,7 @@ shadow_color = Color(0, 0, 0, 0.392157)
[node name="Builder" type="Node3D" parent="." node_paths=PackedStringArray("selector", "selector_container", "view_camera", "gridmap", "cash_display")]
script = ExtResource("1_jybm7")
structures = Array[Resource("res://scripts/3d/structure.gd")]([ExtResource("2_bwyku"), ExtResource("3_o6o81"), ExtResource("3_6fpyf"), ExtResource("7_kqu4g"), ExtResource("8_1swhv"), ExtResource("4_b632v"), ExtResource("8_4il2q"), ExtResource("5_v5o2m"), ExtResource("6_f4603"), ExtResource("10_84or2"), ExtResource("12_8obn7"), ExtResource("13_ut2cy"), ExtResource("9_ifw7y"), ExtResource("10_vaeah"), ExtResource("13_t5d2v")])
structures = Array[Resource("res://scripts/structure.gd")]([ExtResource("2_bwyku"), ExtResource("3_o6o81"), ExtResource("3_6fpyf"), ExtResource("7_kqu4g"), ExtResource("8_1swhv"), ExtResource("4_b632v"), ExtResource("8_4il2q"), ExtResource("5_v5o2m"), ExtResource("6_f4603"), ExtResource("10_84or2"), ExtResource("12_8obn7"), ExtResource("13_ut2cy"), ExtResource("9_ifw7y"), ExtResource("10_vaeah"), ExtResource("13_t5d2v")])
selector = NodePath("Selector")
selector_container = NodePath("Selector/Container")
view_camera = NodePath("../View/Camera")