mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 09:24:44 -04:00
New(ish) icon
- Reorganized project directories
This commit is contained in:
parent
29c7fa4502
commit
f5c7355d5a
111 changed files with 167 additions and 158 deletions
12
scenes/game.tscn
Normal file
12
scenes/game.tscn
Normal file
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/world.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/gui.tscn" type="PackedScene" id=2]
|
||||
|
||||
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
|
||||
[node name="World" parent="." instance=ExtResource( 1 )]
|
||||
|
||||
[node name="GUI" parent="." instance=ExtResource( 2 )]
|
79
scenes/gui.tscn
Normal file
79
scenes/gui.tscn
Normal file
|
@ -0,0 +1,79 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/gpanel.gd" type="Script" id=2]
|
||||
|
||||
|
||||
[node name="GUI" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="GPanel" type="Panel" parent="."]
|
||||
anchor_right = 1.0
|
||||
margin_bottom = 23.0
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CityMenus" type="HBoxContainer" parent="GPanel"]
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = 3.0
|
||||
margin_top = -10.0
|
||||
margin_right = 166.0
|
||||
margin_bottom = 10.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CityNameLbl" type="Label" parent="GPanel/CityMenus"]
|
||||
margin_top = 3.0
|
||||
margin_right = 66.0
|
||||
margin_bottom = 17.0
|
||||
text = "City Name"
|
||||
|
||||
[node name="GameSpeed" type="MenuButton" parent="GPanel/CityMenus"]
|
||||
margin_left = 70.0
|
||||
margin_right = 163.0
|
||||
margin_bottom = 20.0
|
||||
text = "Game Speed"
|
||||
items = [ "Slow", null, 0, false, false, 0, 0, null, "", false, "Medium", null, 0, false, false, 1, 0, null, "", false, "Fast", null, 0, false, false, 2, 0, null, "", false ]
|
||||
|
||||
[node name="CityStatus" type="HBoxContainer" parent="GPanel"]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -276.0
|
||||
margin_top = -9.5
|
||||
margin_right = -4.0
|
||||
margin_bottom = 10.5
|
||||
alignment = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CurrencyLbl" type="Label" parent="GPanel/CityStatus"]
|
||||
margin_left = 251.0
|
||||
margin_top = 3.0
|
||||
margin_right = 259.0
|
||||
margin_bottom = 17.0
|
||||
text = "$"
|
||||
|
||||
[node name="MoneyLbl" type="Label" parent="GPanel/CityStatus"]
|
||||
margin_left = 263.0
|
||||
margin_top = 3.0
|
||||
margin_right = 272.0
|
||||
margin_bottom = 17.0
|
||||
text = "#"
|
||||
|
||||
[node name="DebugBtn" type="Button" parent="GPanel"]
|
||||
visible = false
|
||||
margin_left = 932.754
|
||||
margin_top = 563.202
|
||||
margin_right = 985.754
|
||||
margin_bottom = 583.202
|
||||
text = "Debug"
|
49
scenes/titlescreen.tscn
Normal file
49
scenes/titlescreen.tscn
Normal file
|
@ -0,0 +1,49 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/newgame.gd" type="Script" id=1]
|
||||
|
||||
[node name="SartMenu" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_left = 312.0
|
||||
margin_top = 235.0
|
||||
margin_right = 601.0
|
||||
margin_bottom = 249.0
|
||||
text = "Welcome to City Limits!"
|
||||
align = 1
|
||||
|
||||
[node name="CityNameEdit" type="LineEdit" parent="."]
|
||||
margin_left = 312.0
|
||||
margin_top = 261.0
|
||||
margin_right = 601.0
|
||||
margin_bottom = 285.0
|
||||
text = "City Name"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="BudgetMenu" type="MenuButton" parent="."]
|
||||
margin_left = 312.0
|
||||
margin_top = 294.0
|
||||
margin_right = 601.0
|
||||
margin_bottom = 314.0
|
||||
text = "Starting Budget"
|
||||
items = [ "20000", null, 0, false, false, 0, 0, null, "", false, "10000", null, 0, false, false, 1, 0, null, "", false, "500", null, 0, false, false, 2, 0, null, "", false ]
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CreateBtn" type="Button" parent="."]
|
||||
margin_left = 312.0
|
||||
margin_top = 319.0
|
||||
margin_right = 601.0
|
||||
margin_bottom = 339.0
|
||||
text = "Create"
|
||||
[connection signal="pressed" from="CreateBtn" to="." method="_on_CreateBtn_pressed"]
|
20
scenes/world.tscn
Normal file
20
scenes/world.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/terrian.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://scripts/world.gd" type="Script" id=3]
|
||||
[ext_resource path="res://sprites/water.tres" type="TileSet" id=4]
|
||||
|
||||
|
||||
|
||||
[node name="World" type="Node"]
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="Water" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 4 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
format = 1
|
||||
|
||||
[node name="Terrian" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 1 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
format = 1
|
Loading…
Add table
Add a link
Reference in a new issue