!!!
This commit is contained in:
parent
441d033f53
commit
3a81a3c68b
@ -1,9 +1,7 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cbs0x36e3ranm"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cbs0x36e3ranm"]
|
||||
|
||||
[ext_resource type="MeshLibrary" uid="uid://dwo1m72yajrb1" path="res://assets/tilesets/tileset.tres" id="1_l447d"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5gb5paiupum" path="res://player/player.tscn" id="2_ojnju"]
|
||||
[ext_resource type="PackedScene" uid="uid://2pw0p13lcklv" path="res://buildings/kash_buildings/factory.tscn" id="3_08gdj"]
|
||||
[ext_resource type="AudioStream" uid="uid://byo1w5vecks0m" path="res://music/jazz.ogg" id="3_brvx4"]
|
||||
[ext_resource type="MeshLibrary" uid="uid://bo7ir5us230sa" path="res://assets/tilesets/tileset.tres" id="1_l447d"]
|
||||
[ext_resource type="AudioStream" uid="uid://bba7tiqty57ek" path="res://music/jazz.ogg" id="3_brvx4"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2casdi4d2o3j" path="res://shaders/water_plane.tscn" id="3_ga7wg"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_lo4sd"]
|
||||
@ -45,14 +43,6 @@ data = {
|
||||
}
|
||||
metadata/_editor_floor_ = Vector3(0, 0, 0)
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("2_ojnju")]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.388867, 0.921294, 0, -0.921294, 0.388867, -1.19974, 40.1006, 13.3341)
|
||||
attributes = null
|
||||
current = true
|
||||
fov = 37.8493
|
||||
near = 0.032
|
||||
_test_building = ExtResource("3_08gdj")
|
||||
|
||||
[node name="Music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("3_brvx4")
|
||||
autoplay = true
|
||||
|
@ -146,7 +146,7 @@ public partial class player : Camera3D
|
||||
else if (mousebtn.ButtonIndex == MouseButton.WheelDown)
|
||||
_wOut = true;
|
||||
}
|
||||
|
||||
}
|
||||
private void CheckGame() {
|
||||
bool gameover = false;
|
||||
|
||||
|
@ -1,16 +1,13 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://b5gb5paiupum"]
|
||||
[gd_scene load_steps=20 format=3 uid="uid://b5gb5paiupum"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player.cs" id="1_of2l4"]
|
||||
[ext_resource type="AudioStream" uid="uid://dye3nhm41yk6r" path="res://audio/chatter.wav" id="2_sa1qd"]
|
||||
[ext_resource type="AudioStream" uid="uid://c8dcqkmytnyay" path="res://audio/btn.wav" id="3_00x5l"]
|
||||
|
||||
[sub_resource type="CameraAttributesPhysical" id="CameraAttributesPhysical_1ejpb"]
|
||||
frustum_near = 0.032
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_hcpag"]
|
||||
interpolation_mode = 2
|
||||
colors = PackedColorArray(1, 0, 0, 1, 0.35782, 0, 0.0248139, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_y5odr"]
|
||||
gradient = SubResource("Gradient_hcpag")
|
||||
fill_to = Vector2(0.858974, 0.615385)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_camjl"]
|
||||
@ -67,7 +64,6 @@ height = 255
|
||||
font_size = 28
|
||||
|
||||
[node name="player" type="Camera3D" node_paths=PackedStringArray("_con", "_mousePosLabel", "_cursorPosLabel", "_cursor", "_cursorPoint", "_nuke", "_pr", "_kash", "_chatter", "_sndChtr", "_sndBtn", "_tmrChtr", "_tmrCashGen")]
|
||||
|
||||
attributes = SubResource("CameraAttributesPhysical_1ejpb")
|
||||
script = ExtResource("1_of2l4")
|
||||
_con = NodePath("Debug info/Label")
|
||||
@ -85,6 +81,7 @@ _tmrChtr = NodePath("tmr_Chatter")
|
||||
_tmrCashGen = NodePath("tmr_kash")
|
||||
|
||||
[node name="Debug info" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
@ -114,17 +111,45 @@ offset_right = 402.0
|
||||
offset_bottom = 182.0
|
||||
text = "Eat ze caca."
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
[node name="btn_boom" type="Button" parent="."]
|
||||
offset_left = 1772.0
|
||||
offset_top = 926.0
|
||||
offset_right = 1904.0
|
||||
offset_bottom = 1058.0
|
||||
text = "BOOM"
|
||||
text = "Nuke Enemy"
|
||||
icon = SubResource("GradientTexture2D_y5odr")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="btn_nukes" type="Button" parent="."]
|
||||
offset_left = 1637.0
|
||||
offset_top = 926.0
|
||||
offset_right = 1769.0
|
||||
offset_bottom = 1058.0
|
||||
text = "BDE"
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="btn_pr" type="Button" parent="."]
|
||||
offset_left = 1502.0
|
||||
offset_top = 926.0
|
||||
offset_right = 1634.0
|
||||
offset_bottom = 1058.0
|
||||
text = ":)
|
||||
"
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="btn_kashcow" type="Button" parent="."]
|
||||
offset_left = 1366.0
|
||||
offset_top = 926.0
|
||||
offset_right = 1498.0
|
||||
offset_bottom = 1058.0
|
||||
text = "$"
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="NukeBar" type="TextureProgressBar" parent="."]
|
||||
offset_left = 1817.0
|
||||
offset_top = 664.0
|
||||
@ -208,7 +233,6 @@ offset_left = 314.0
|
||||
offset_top = 270.0
|
||||
offset_right = 756.0
|
||||
offset_bottom = 513.0
|
||||
text = "CHATTER"
|
||||
label_settings = SubResource("LabelSettings_pws5q")
|
||||
autowrap_mode = 3
|
||||
|
||||
@ -224,4 +248,3 @@ one_shot = true
|
||||
|
||||
[node name="tmr_kash" type="Timer" parent="."]
|
||||
autostart = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user