This commit is contained in:
MaddoScientisto 2025-03-09 15:13:07 +01:00
commit 73c80d64ac
21 changed files with 322 additions and 32 deletions

File diff suppressed because one or more lines are too long

61
Scenes/Props/Box_Hex.tscn Normal file
View file

@ -0,0 +1,61 @@
[gd_scene load_steps=9 format=3 uid="uid://drcrl8lr8arlr"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_pi3gx"]
[ext_resource type="PackedScene" uid="uid://dyvl0kyyete74" path="res://Scenes/Props/Box_Hex_Broken.tscn" id="2_pi3gx"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_cj0wp"]
[ext_resource type="Texture2D" uid="uid://c6viqia3n1clp" path="res://Sprites/Box_Hex_Green.png" id="4_afyat"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_cj0wp"]
atlas = ExtResource("4_afyat")
region = Rect2(0, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_v070w"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_cj0wp")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(12, 10)
[node name="Hex Box" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_pi3gx")
Health = 4.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
DebrisScene = ExtResource("2_pi3gx")
ExplosionParticles = ExtResource("3_cj0wp")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_2ewfl")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_v070w")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
visible = false
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_ss2y0")
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
visible = false
radius = 8.36
vertices = PackedVector2Array(-6, -9, 6, -9, 6, 2, -6, 2)

View file

@ -0,0 +1,52 @@
[gd_scene load_steps=7 format=3 uid="uid://dyvl0kyyete74"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_o8kg7"]
[ext_resource type="Texture2D" uid="uid://c6viqia3n1clp" path="res://Sprites/Box_Hex_Green.png" id="2_o8kg7"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_gjk4d"]
atlas = ExtResource("2_o8kg7")
region = Rect2(16, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_n61jf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gjk4d")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(11, 14)
[node name="Hex Broken" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_o8kg7")
Health = 2.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_2ewfl")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_n61jf")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_ss2y0")

View file

@ -0,0 +1,61 @@
[gd_scene load_steps=9 format=3 uid="uid://bx2h6niaxi6mv"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_qpdex"]
[ext_resource type="PackedScene" uid="uid://dwvt4ckmqwqko" path="res://Scenes/Props/Box_Wood_Broken.tscn" id="2_qpdex"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_5nv8d"]
[ext_resource type="Texture2D" uid="uid://cbd17wjvcdvec" path="res://Sprites/Box_Wood.png" id="4_qpdex"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_pic8d"]
atlas = ExtResource("4_qpdex")
region = Rect2(0, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_5nv8d"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_pic8d")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(12, 10)
[node name="Wood Box" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_qpdex")
Health = 4.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
DebrisScene = ExtResource("2_qpdex")
ExplosionParticles = ExtResource("3_5nv8d")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_2ewfl")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_5nv8d")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
visible = false
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_ss2y0")
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
visible = false
radius = 8.36
vertices = PackedVector2Array(-6, -9, 6, -9, 6, 2, -6, 2)

View file

@ -0,0 +1,52 @@
[gd_scene load_steps=7 format=3 uid="uid://dwvt4ckmqwqko"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_1mliv"]
[ext_resource type="Texture2D" uid="uid://cbd17wjvcdvec" path="res://Sprites/Box_Wood.png" id="2_1mliv"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_4fc6y"]
atlas = ExtResource("2_1mliv")
region = Rect2(16, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_gn3bd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_4fc6y")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(11, 14)
[node name="Wood Box Broken" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_1mliv")
Health = 2.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_2ewfl")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_gn3bd")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_ss2y0")

BIN
Sprites/Box_Blue.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Blue.png (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Green.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Green.png (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Hex_Green.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Hex_Green.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6viqia3n1clp"
path="res://.godot/imported/Box_Hex_Green.png-bd8789ba72d7ecebfb07fdd6c6baeafe.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Box_Hex_Green.png"
dest_files=["res://.godot/imported/Box_Hex_Green.png-bd8789ba72d7ecebfb07fdd6c6baeafe.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Sprites/Box_Red.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Red.png (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Yellow.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Box_Yellow.png (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/ICCTv.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/ICCTv.png (Stored with Git LFS)

Binary file not shown.

BIN
Tilesets/factory.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Tilesets/factory.png (Stored with Git LFS)

Binary file not shown.

View file

@ -1,4 +1,4 @@
[gd_resource type="TileSet" load_steps=43 format=3 uid="uid://6k28roiljylj"]
[gd_resource type="TileSet" load_steps=46 format=3 uid="uid://6k28roiljylj"]
[ext_resource type="Texture2D" uid="uid://tphqodqyere1" path="res://Tilesets/factory.png" id="1_70kxh"]
[ext_resource type="PackedScene" uid="uid://bj28qiai2x2ar" path="res://Scenes/Props/Barrel.tscn" id="2_cxg4b"]
@ -12,7 +12,9 @@
[ext_resource type="PackedScene" uid="uid://uaf5r6cd71hu" path="res://Scenes/Props/LargeTank.tscn" id="6_p8eu6"]
[ext_resource type="PackedScene" uid="uid://c6k01tus0815r" path="res://Scenes/Props/Box_Yellow.tscn" id="7_k5ppi"]
[ext_resource type="PackedScene" uid="uid://7cpk3c3d8cl7" path="res://Scenes/Props/MediumLiquidTank.tscn" id="7_k6a3n"]
[ext_resource type="PackedScene" uid="uid://drcrl8lr8arlr" path="res://Scenes/Props/Box_Hex.tscn" id="8_ubrnc"]
[ext_resource type="PackedScene" uid="uid://crmwuwhltmdq7" path="res://Scenes/Props/MediumTank.tscn" id="8_vuaww"]
[ext_resource type="PackedScene" uid="uid://bx2h6niaxi6mv" path="res://Scenes/Props/Box_Wood.tscn" id="9_ipvrl"]
[ext_resource type="PackedScene" uid="uid://bnhck5eh0tqxf" path="res://Scenes/Props/MediumTerminal.tscn" id="9_wc4jy"]
[ext_resource type="PackedScene" uid="uid://e80xujqyjoh" path="res://Scenes/Props/Box_Vertical.tscn" id="10_hg2bp"]
[ext_resource type="Texture2D" uid="uid://df8t3kan5qgjb" path="res://Tilesets/Space.png" id="12_fb37q"]
@ -41,6 +43,12 @@ polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
agent_radius = 0.0
[sub_resource type="NavigationPolygon" id="NavigationPolygon_hupu0"]
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
agent_radius = 0.0
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ipvrl"]
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
@ -981,6 +989,16 @@ texture = ExtResource("1_70kxh")
12:4/0 = 0
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
11:4/0 = 0
13:2/0 = 0
13:2/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
14:2/0 = 0
14:2/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
14:3/0 = 0
14:3/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
13:3/0 = 0
13:3/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
14:4/0 = 0
14:4/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_hupu0")
[sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_qg3vu"]
resource_name = "Props"
@ -998,6 +1016,8 @@ scenes/11/scene = ExtResource("4_rjv5q")
scenes/12/scene = ExtResource("5_bqohu")
scenes/13/scene = ExtResource("6_fudr4")
scenes/14/scene = ExtResource("7_k5ppi")
scenes/15/scene = ExtResource("8_ubrnc")
scenes/16/scene = ExtResource("9_ipvrl")
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_wgdjv"]
texture = ExtResource("12_fb37q")