mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 17:34:43 -04:00
Implemented basic buying functions
- Renamed more scripts - Switched license to Artistic 2.0
This commit is contained in:
parent
8435cab605
commit
0b60335591
17 changed files with 330 additions and 428 deletions
|
@ -1,22 +1,22 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/water.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://scripts/Map.gd" type="Script" id=2]
|
||||
[ext_resource path="res://scripts/map_generator.gd" type="Script" id=2]
|
||||
[ext_resource path="res://sprites/terrian.tres" type="TileSet" id=4]
|
||||
[ext_resource path="res://scripts/CameraMove.gd" type="Script" id=5]
|
||||
[ext_resource path="res://scripts/camera_move.gd" type="Script" id=5]
|
||||
|
||||
[node name="world" type="Node2D"]
|
||||
[node name="World" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="water" type="TileMap" parent="."]
|
||||
[node name="Water" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 1 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
format = 1
|
||||
|
||||
[node name="terrian" type="TileMap" parent="."]
|
||||
[node name="Terrian" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 4 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
format = 1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/StartGame.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scripts/start_game.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/Map.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="SartMenu" type="Node"]
|
||||
|
|
|
@ -29,7 +29,6 @@ script = ExtResource( 1 )
|
|||
|
||||
[node name="Quarters" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
autostart = true
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
[ext_resource path="res://scenes/Map.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/Advise.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://scripts/Status.gd" type="Script" id=3]
|
||||
[ext_resource path="res://scripts/Game.gd" type="Script" id=4]
|
||||
[ext_resource path="res://scripts/city_status.gd" type="Script" id=3]
|
||||
[ext_resource path="res://scripts/gameplay.gd" type="Script" id=4]
|
||||
[ext_resource path="res://sprites/police.png" type="Texture" id=5]
|
||||
[ext_resource path="res://sprites/firestation.png" type="Texture" id=6]
|
||||
|
||||
|
@ -42,7 +42,7 @@ __meta__ = {
|
|||
|
||||
[node name="Status" type="VBoxContainer" parent="Controls/GUI/Status/Toolbar"]
|
||||
margin_right = 93.0
|
||||
margin_bottom = 66.0
|
||||
margin_bottom = 65.0
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
|
@ -86,11 +86,13 @@ text = "#"
|
|||
[node name="PoliceBtn" type="TextureButton" parent="Controls/GUI/Status/Toolbar"]
|
||||
margin_left = 97.0
|
||||
margin_right = 145.0
|
||||
margin_bottom = 66.0
|
||||
margin_bottom = 65.0
|
||||
texture_normal = ExtResource( 5 )
|
||||
|
||||
[node name="FireBtn" type="TextureButton" parent="Controls/GUI/Status/Toolbar"]
|
||||
margin_left = 149.0
|
||||
margin_right = 197.0
|
||||
margin_bottom = 66.0
|
||||
margin_bottom = 65.0
|
||||
texture_normal = ExtResource( 6 )
|
||||
|
||||
[connection signal="pressed" from="Controls/GUI/Status/Toolbar/PoliceBtn" to="Map" method="_on_PoliceBtn_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue