Initial commit

This commit is contained in:
PoliEcho
2025-02-03 21:25:04 +01:00
committed by GitHub
commit 65af5ad2f9
1909 changed files with 14571 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
[gd_scene load_steps=2 format=3 uid="uid://drwc32sap2ko6"]
[ext_resource type="Texture2D" uid="uid://cjlu0wl3qj8dh" path="res://assets/art/topdown/shooter/robot_1/robot1_gun.png" id="1_oue85"]
[node name="Enemy" type="Enemy"]
scale = Vector2(2, 2)
collision_mask = 8
platform_on_leave = 2
[node name="PlayerCollisionPoly" type="CollisionPolygon2D" parent="."]
position = Vector2(0.5, -1.5)
rotation = -1.5708
polygon = PackedVector2Array(8, 21.5, -21.5, 21.5, -21.5, -21.5, -4.5, -21.5, 8, 1.5)
[node name="EnemySprite" type="Sprite2D" parent="PlayerCollisionPoly"]
texture = ExtResource("1_oue85")
[node name="FiringPoint" type="Marker2D" parent="PlayerCollisionPoly"]
unique_name_in_owner = true
position = Vector2(23.5, 9.50009)
+41
View File
@@ -0,0 +1,41 @@
[gd_scene load_steps=4 format=3 uid="uid://nuqlrvw8di7s"]
[ext_resource type="Texture2D" path="res://assets/art/topdown/shooter/soldier_1/soldier1_machine.png" id="1_rbbbp"]
[sub_resource type="Gradient" id="Gradient_l415w"]
offsets = PackedFloat32Array(0, 0.773179)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_b48d1"]
gradient = SubResource("Gradient_l415w")
fill = 1
fill_from = Vector2(0.5, 0.5)
[node name="Player" type="Player"]
scale = Vector2(2, 2)
collision_mask = 8
platform_on_leave = 2
[node name="PlayerCollisionPoly" type="CollisionPolygon2D" parent="."]
position = Vector2(0.5, -1.5)
rotation = -1.5708
polygon = PackedVector2Array(5.99992, 21.5, -14.5001, 21.9999, -19.0001, 14.4999, -26.0001, 14.4999, -26.4999, -14.0001, -18.4999, -14.5001, -16.096, -21.5, -0.999922, -21.5, 3.00003, -9.49999, 11, 5.00004, 25.5, 5.00009, 25.4999, 14.0001, 15.4999, 14.5001)
[node name="PlayerSprite" type="Sprite2D" parent="PlayerCollisionPoly"]
texture = ExtResource("1_rbbbp")
[node name="FiringPoint" type="Marker2D" parent="PlayerCollisionPoly"]
unique_name_in_owner = true
position = Vector2(23.5, 9.50009)
[node name="PointLight2D" type="PointLight2D" parent="."]
scale = Vector2(25, 25)
color = Color(0.839216, 0.913725, 0.898039, 1)
range_z_min = 0
range_z_max = 1000
range_layer_max = 100
shadow_enabled = true
shadow_color = Color(0, 0, 0, 0.937255)
shadow_filter = 2
texture = SubResource("GradientTexture2D_b48d1")
height = 100.0
+97
View File
@@ -0,0 +1,97 @@
[gd_scene load_steps=7 format=3 uid="uid://c8tur70b73kih"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/light/texture_03.png" id="1_nl15v"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/dark/texture_04.png" id="2_6qqh6"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/red/texture_02.png" id="3_blm5m"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/green/texture_10.png" id="4_ix12c"]
[ext_resource type="Texture2D" path="res://assets/art/prototype_textures/purple/texture_02.png" id="5_pmdlb"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_d0buj"]
resource_local_to_scene = true
polygon = PackedVector2Array(512, -512, -512, -512, -512, 512, 512, 512)
[node name="Level1" type="Level"]
[node name="BackgroundTexture" type="Sprite2D" parent="."]
show_behind_parent = true
scale = Vector2(4, 4)
texture = ExtResource("1_nl15v")
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
color = Color(1, 0.94902, 0.960784, 1)
energy = 0.75
blend_mode = 1
range_z_min = -100
range_z_max = 100
range_layer_max = 1
max_distance = 1000.0
[node name="Wall" type="StaticBody2D" parent="."]
z_index = 10
position = Vector2(400, 400)
scale = Vector2(0.25, 0.25)
collision_layer = 8
collision_mask = 7
[node name="WallCollisionPoly" type="CollisionPolygon2D" parent="Wall"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="WallTexture" type="Sprite2D" parent="Wall"]
texture = ExtResource("2_6qqh6")
[node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
occluder = SubResource("OccluderPolygon2D_d0buj")
[node name="DeathPit" type="StaticBody2D" parent="."]
modulate = Color(0.207843, 0.0235294, 0, 1)
self_modulate = Color(0.0313726, 0.113725, 1, 1)
position = Vector2(-400, -400)
scale = Vector2(0.25, 0.25)
collision_layer = 32
collision_mask = 0
[node name="DeathCollisionPoly" type="CollisionPolygon2D" parent="DeathPit"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="DeathPitTexture" type="Sprite2D" parent="DeathPit"]
show_behind_parent = true
texture = ExtResource("3_blm5m")
[node name="LightOccluder2D" type="LightOccluder2D" parent="DeathPit"]
show_behind_parent = true
light_mask = 2
occluder = SubResource("OccluderPolygon2D_d0buj")
occluder_light_mask = 0
[node name="DamageZone" type="StaticBody2D" parent="."]
position = Vector2(-400, 400)
scale = Vector2(0.25, 0.25)
collision_layer = 16
collision_mask = 0
[node name="DamageCollisionPoly" type="CollisionPolygon2D" parent="DamageZone"]
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="DamageTexture" type="Sprite2D" parent="DamageZone"]
texture = ExtResource("4_ix12c")
[node name="PhysicsBox" type="RigidBody2D" parent="."]
z_index = 10
position = Vector2(400, -400)
collision_layer = 64
collision_mask = 79
contact_monitor = true
linear_damp = 1.0
[node name="PhysicsBoxCollisionPoly" type="CollisionPolygon2D" parent="PhysicsBox"]
scale = Vector2(0.25, 0.25)
polygon = PackedVector2Array(512, 512, -512, 512, -512, -512, 512, -512)
[node name="PhysicsBoxTexture" type="Sprite2D" parent="PhysicsBox"]
scale = Vector2(0.25, 0.25)
texture = ExtResource("5_pmdlb")
[node name="LightOccluder2D" type="LightOccluder2D" parent="PhysicsBox"]
z_index = -1
scale = Vector2(0.25, 0.25)
occluder = SubResource("OccluderPolygon2D_d0buj")
+24
View File
@@ -0,0 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://csam3a1tugjo4"]
[ext_resource type="Texture2D" uid="uid://cowqe776n4b25" path="res://assets/art/topdown/tanks_redux/projectiles/bulletdark1_outline.png" id="1_sadn1"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_i8hct"]
radius = 9.89949
height = 35.0
[node name="Projectile" type="Projectile"]
collision_layer = 4
collision_mask = 74
mass = 0.01
can_sleep = false
continuous_cd = 1
max_contacts_reported = 1
contact_monitor = true
[node name="Bullet" type="Sprite2D" parent="."]
rotation = 1.5708
texture = ExtResource("1_sadn1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_i8hct")
+309
View File
@@ -0,0 +1,309 @@
[gd_scene load_steps=10 format=3 uid="uid://bshwhsqouic3e"]
[ext_resource type="Theme" uid="uid://bjiaijiglw4a3" path="res://assets/themes/ui_theme.tres" id="1_lp5so"]
[ext_resource type="Theme" path="res://assets/themes/fira_code_font_theme.tres" id="2_jha0r"]
[ext_resource type="FontFile" uid="uid://gfim3353elck" path="res://assets/themes/fonts/firacode/firacode_regular.ttf" id="3_rno71"]
[ext_resource type="FontFile" uid="uid://c06onx6hjeqes" path="res://assets/themes/fonts/firacode/firacode_bold.ttf" id="4_l2181"]
[ext_resource type="FontFile" uid="uid://b782x7gq8vkya" path="res://assets/themes/fonts/firacode/firacode_retina.ttf" id="5_gla07"]
[ext_resource type="StyleBox" path="res://assets/themes/console_text_box.tres" id="5_k0ydj"]
[ext_resource type="Theme" path="res://assets/themes/default.tres" id="7_hq11r"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_e6l8c"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3pq1m"]
[node name="MainDialog" type="MainDialog"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_stretch_ratio = 0.0
mouse_filter = 1
[node name="TopVerticalLayout" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="FileMenuContainer" type="MarginContainer" parent="TopVerticalLayout"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.0
mouse_force_pass_scroll_events = false
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 0
theme_override_constants/margin_bottom = 0
[node name="FileMenuHorizontalLayout" type="HBoxContainer" parent="TopVerticalLayout/FileMenuContainer"]
layout_mode = 2
mouse_filter = 0
[node name="FileMenuButton" type="MenuButton" parent="TopVerticalLayout/FileMenuContainer/FileMenuHorizontalLayout"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "File"
item_count = 3
popup/item_0/text = "SubOpt1"
popup/item_0/id = 0
popup/item_1/text = "SubOpt2"
popup/item_1/id = 1
popup/item_2/text = "SubOpt3"
popup/item_2/id = 2
[node name="OptionsButton" type="Button" parent="TopVerticalLayout/FileMenuContainer/FileMenuHorizontalLayout"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "Options"
[node name="DebugButton" type="Button" parent="TopVerticalLayout/FileMenuContainer/FileMenuHorizontalLayout"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "Debug"
[node name="TestButton" type="Button" parent="TopVerticalLayout/FileMenuContainer/FileMenuHorizontalLayout"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
text = "Test"
[node name="OuterDialogMargin" type="MarginContainer" parent="TopVerticalLayout"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 10
theme_override_constants/margin_right = 10
[node name="VerticalSplit" type="VSplitContainer" parent="TopVerticalLayout/OuterDialogMargin"]
layout_mode = 2
theme_override_constants/separation = 0
theme_override_constants/minimum_grab_thickness = 1
theme_override_constants/autohide = 1
split_offset = 250
[node name="SubViewportContainer" type="SubViewportContainer" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit"]
custom_minimum_size = Vector2(512, 256)
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("1_lp5so")
stretch = true
[node name="MainSubViewport" type="SubViewport" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/SubViewportContainer"]
disable_3d = true
handle_input_locally = false
audio_listener_enable_2d = true
physics_object_picking = true
physics_object_picking_sort = true
gui_disable_input = true
gui_embed_subwindows = true
size = Vector2i(1900, 895)
render_target_update_mode = 4
[node name="MainCanvasLayer" type="CanvasLayer" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/SubViewportContainer/MainSubViewport"]
unique_name_in_owner = true
follow_viewport_enabled = true
[node name="LowerDialogVertLayout" type="VBoxContainer" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit"]
clip_contents = true
custom_minimum_size = Vector2(640, 100)
layout_mode = 2
auto_translate = false
localize_numeral_system = false
mouse_filter = 0
theme = ExtResource("2_jha0r")
[node name="ConsoleMarginContainer" type="MarginContainer" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout"]
clip_contents = true
custom_minimum_size = Vector2(0, 110)
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_lp5so")
theme_override_constants/margin_bottom = -2
[node name="ConsolePanel" type="RichTextLabel" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/ConsoleMarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
auto_translate = false
localize_numeral_system = false
focus_mode = 2
theme = ExtResource("2_jha0r")
theme_override_colors/default_color = Color(0.792157, 0.768627, 0.756863, 1)
theme_override_colors/font_selected_color = Color(0.929412, 0.929412, 0.929412, 1)
theme_override_fonts/normal_font = ExtResource("3_rno71")
theme_override_fonts/bold_font = ExtResource("4_l2181")
theme_override_fonts/mono_font = ExtResource("5_gla07")
theme_override_font_sizes/normal_font_size = 14
theme_override_font_sizes/bold_font_size = 14
theme_override_font_sizes/italics_font_size = 14
theme_override_font_sizes/bold_italics_font_size = 14
theme_override_font_sizes/mono_font_size = 14
theme_override_styles/focus = ExtResource("5_k0ydj")
theme_override_styles/normal = ExtResource("5_k0ydj")
scroll_following = true
context_menu_enabled = true
meta_underlined = false
hint_underlined = false
threaded = true
selection_enabled = true
deselect_on_focus_loss_enabled = false
text_direction = 1
[node name="BottomToolbarHorizLayout" type="HBoxContainer" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout"]
clip_contents = true
custom_minimum_size = Vector2(0, 28)
layout_mode = 2
size_flags_vertical = 0
mouse_force_pass_scroll_events = false
theme = ExtResource("7_hq11r")
[node name="ToggleConsoleCB" type="CheckBox" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
focus_mode = 0
theme = ExtResource("1_lp5so")
theme_override_styles/focus = SubResource("StyleBoxEmpty_e6l8c")
text = "Toggle Console"
[node name="VSeparator" type="VSeparator" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
layout_mode = 2
size_flags_horizontal = 10
theme_override_constants/separation = 12
[node name="DebugLabel1" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_colors/font_color = Color(0.713726, 0.831373, 0.792157, 1)
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_font_sizes/font_size = 16
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Label1 =>"
vertical_alignment = 2
[node name="DebugValue1" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Val1"
vertical_alignment = 2
[node name="VSeparator2" type="VSeparator" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
layout_mode = 2
size_flags_horizontal = 10
theme_override_constants/separation = 12
[node name="DebugLabel2" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_colors/font_color = Color(0.713726, 0.831373, 0.792157, 1)
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_font_sizes/font_size = 16
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Label2 =>"
vertical_alignment = 2
[node name="DebugValue2" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Val2"
vertical_alignment = 2
[node name="VSeparator3" type="VSeparator" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
layout_mode = 2
size_flags_horizontal = 10
theme_override_constants/separation = 12
[node name="DebugLabel3" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_colors/font_color = Color(0.713726, 0.831373, 0.792157, 1)
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_font_sizes/font_size = 16
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Label3 =>"
vertical_alignment = 2
[node name="DebugValue3" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Val3"
vertical_alignment = 2
[node name="VSeparator4" type="VSeparator" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
layout_mode = 2
size_flags_horizontal = 10
theme_override_constants/separation = 12
[node name="DebugLabel4" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_colors/font_color = Color(0.713726, 0.831373, 0.792157, 1)
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_font_sizes/font_size = 16
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Label4 =>"
vertical_alignment = 2
[node name="DebugValue4" type="Label" parent="TopVerticalLayout/OuterDialogMargin/VerticalSplit/LowerDialogVertLayout/BottomToolbarHorizLayout"]
custom_minimum_size = Vector2(0, 22)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
auto_translate = false
localize_numeral_system = false
theme = ExtResource("7_hq11r")
theme_override_fonts/font = ExtResource("5_gla07")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3pq1m")
text = "Val4"
vertical_alignment = 2