Capacitors and parallax

This commit is contained in:
Marco 2025-02-21 16:27:57 +01:00
commit 3670da9719
29 changed files with 705 additions and 57 deletions

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://ncukdupc7hbm"]
[ext_resource type="PackedScene" uid="uid://h11o0et1y54v" path="res://Scenes/Weapons/Bullets/explosion.tscn" id="1_bca33"]
[ext_resource type="Script" path="res://Scripts/Resources/BulletResource.cs" id="2_c6epu"]
[resource]
script = ExtResource("2_c6epu")
BulletScene = ExtResource("1_bca33")
BulletSpeed = 0.0
Direction = Vector2(1, 0)
BulletDamage = 8.0
LifeTime = 1.0
DestroyOnCollision = false
Owner = 0
DamageType = 4
TimeModifiers = null

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://dk2rbf88a5irh"]
[ext_resource type="PackedScene" uid="uid://h11o0et1y54v" path="res://Scenes/Weapons/Bullets/explosion.tscn" id="1_flnsi"]
[ext_resource type="Script" path="res://Scripts/Resources/BulletResource.cs" id="2_tnw0l"]
[resource]
script = ExtResource("2_tnw0l")
BulletScene = ExtResource("1_flnsi")
BulletSpeed = 0.0
Direction = Vector2(1, 0)
BulletDamage = 0.0
LifeTime = 1.0
DestroyOnCollision = false
Owner = 0
DamageType = 4
TimeModifiers = null

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="DebugMapSelectData" load_steps=20 format=3 uid="uid://d1lc8lhq1b05p"]
[gd_resource type="Resource" script_class="DebugMapSelectData" load_steps=22 format=3 uid="uid://d1lc8lhq1b05p"]
[ext_resource type="Script" path="res://Scripts/Resources/DebugMenu/DebugMapSelectData.cs" id="1_6kwth"]
[ext_resource type="Script" path="res://Scripts/Resources/MapStartDataResource.cs" id="1_ov731"]
@ -8,6 +8,18 @@
[ext_resource type="Resource" uid="uid://cj5aa7btaw6q0" path="res://Resources/Items/Blue_Keycard.tres" id="5_em757"]
[ext_resource type="Resource" uid="uid://clr1gln7nxa1o" path="res://Resources/Items/Power_Pickup.tres" id="6_sdmg8"]
[sub_resource type="Resource" id="Resource_cfhv5"]
script = ExtResource("1_ov731")
EggIndex = 0
StartingEquipment = []
[sub_resource type="Resource" id="Resource_0k62o"]
script = ExtResource("2_tnajf")
Enabled = true
Path = "res://Scenes/Maps/Tutorial.tscn"
_name = "Tutorial"
StartData = SubResource("Resource_cfhv5")
[sub_resource type="Resource" id="Resource_tpb7s"]
script = ExtResource("1_ov731")
EggIndex = 0
@ -82,4 +94,4 @@ _name = "Default Scene"
[resource]
script = ExtResource("1_6kwth")
Maps = Array[Object]([SubResource("Resource_edoov"), SubResource("Resource_47bot"), SubResource("Resource_mgdm6"), SubResource("Resource_6wrc7"), SubResource("Resource_x3w7w"), SubResource("Resource_ajht5"), SubResource("Resource_v2as6"), SubResource("Resource_qnbi6"), SubResource("Resource_7vmdn")])
Maps = Array[Object]([SubResource("Resource_0k62o"), SubResource("Resource_edoov"), SubResource("Resource_47bot"), SubResource("Resource_mgdm6"), SubResource("Resource_6wrc7"), SubResource("Resource_x3w7w"), SubResource("Resource_ajht5"), SubResource("Resource_v2as6"), SubResource("Resource_qnbi6"), SubResource("Resource_7vmdn")])

View file

@ -0,0 +1,164 @@
[gd_scene load_steps=21 format=3 uid="uid://b0gpbkxdfbnjh"]
[ext_resource type="Script" path="res://Scripts/Door.cs" id="1_uxoep"]
[ext_resource type="Texture2D" uid="uid://gc24sjyj47x6" path="res://Sprites/Actors/ForceFieldHorizontal.png" id="2_12wxm"]
[sub_resource type="AtlasTexture" id="AtlasTexture_gecst"]
atlas = ExtResource("2_12wxm")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g2dl7"]
atlas = ExtResource("2_12wxm")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_0mu7k"]
atlas = ExtResource("2_12wxm")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_drt56"]
atlas = ExtResource("2_12wxm")
region = Rect2(224, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vjndy"]
atlas = ExtResource("2_12wxm")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_83rc5"]
atlas = ExtResource("2_12wxm")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_b6r7h"]
atlas = ExtResource("2_12wxm")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_k15wc"]
atlas = ExtResource("2_12wxm")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_26ncf"]
atlas = ExtResource("2_12wxm")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hui6k"]
atlas = ExtResource("2_12wxm")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_djxwi"]
atlas = ExtResource("2_12wxm")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_j1q4l"]
atlas = ExtResource("2_12wxm")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nfeg1"]
atlas = ExtResource("2_12wxm")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_uxj7e"]
atlas = ExtResource("2_12wxm")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bwgur"]
atlas = ExtResource("2_12wxm")
region = Rect2(224, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_h2s1d"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gecst")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g2dl7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0mu7k")
}],
"loop": true,
"name": &"Closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_drt56")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vjndy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_83rc5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b6r7h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k15wc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_26ncf")
}],
"loop": false,
"name": &"Closing",
"speed": 5.0
}, {
"frames": [],
"loop": true,
"name": &"Open",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hui6k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_djxwi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j1q4l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nfeg1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uxj7e")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwgur")
}],
"loop": false,
"name": &"Opening",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0wg11"]
size = Vector2(32, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f2rl6"]
size = Vector2(32, 32)
[node name="HorizontalForceField" type="Area2D" groups=["Solid"]]
collision_layer = 64
collision_mask = 154
script = ExtResource("1_uxoep")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
modulate = Color(1, 1, 1, 0.784314)
sprite_frames = SubResource("SpriteFrames_h2s1d")
animation = &"Closed"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource("RectangleShape2D_0wg11")
[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
shape = SubResource("RectangleShape2D_f2rl6")
[connection signal="animation_changed" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_changed"]

View file

@ -19,6 +19,16 @@ public partial class Barrel : Area2D, IDestructible
[Export] public BulletOwner BulletGroup { get; set; } = BulletOwner.None;
[ExportCategory("On Death Activation")]
[Export]
public ActivationType ActivationType { get; private set; } = ActivationType.Toggle;
[Export]
public Node2D Target { get; private set;}
[Signal]
public delegate void ExplodedEventHandler();
private GameManager _gameManager;
private float _currentHealth = 0f;
@ -40,12 +50,22 @@ public partial class Barrel : Area2D, IDestructible
private void Explode()
{
//ApplyExplosionDamage();
EmitSignal(SignalName.Exploded, this, _currentHealth);
ActivateOnDeath();
CreateExplosion();
CreateParticles();
CreateDebris();
QueueFree();
}
private void ActivateOnDeath()
{
if (Target is IActivable node)
{
node.Activate(ActivationType);
}
}
private void CreateExplosion()
{
if (ExplosionData == null) return;

View file

@ -1,10 +1,32 @@
[gd_scene load_steps=4 format=3 uid="uid://crph24e6e0v0q"]
[gd_scene load_steps=7 format=3 uid="uid://crph24e6e0v0q"]
[ext_resource type="Script" path="res://Scripts/Interactables/Switch.cs" id="1_alima"]
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_7m30w"]
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
[sub_resource type="AtlasTexture" id="AtlasTexture_rie4n"]
atlas = ExtResource("2_7m30w")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_sgwyd"]
atlas = ExtResource("2_7m30w")
region = Rect2(8, 0, 8, 8)
[sub_resource type="SpriteFrames" id="SpriteFrames_b2dxw"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rie4n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sgwyd")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="ControlPad" type="Area2D" groups=["Interactable"]]
collision_layer = 4
collision_mask = 2
@ -13,5 +35,7 @@ script = ExtResource("1_alima")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_vvpve")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_7m30w")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_b2dxw")
autoplay = "default"
frame_progress = 0.061742

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=11 format=4 uid="uid://prgabjxh44lf"]
[gd_scene load_steps=13 format=4 uid="uid://prgabjxh44lf"]
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_4uv21"]
[ext_resource type="PackedScene" uid="uid://bghghp5ep4w2j" path="res://Scenes/player.tscn" id="2_j0vja"]
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="3_a16tm"]
[ext_resource type="Script" path="res://Scripts/Resources/MapStartDataResource.cs" id="4_bc0u7"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="4_em3f4"]
[ext_resource type="Script" path="res://Scripts/TilemapAvoidance.cs" id="5_75e1c"]
[ext_resource type="Script" path="res://Scenes/CameraController.gd" id="11_uct4d"]
@ -11,12 +12,19 @@
[ext_resource type="Script" path="res://Scenes/CameraTarget.gd" id="14_2aa7w"]
[ext_resource type="Script" path="res://Scripts/AlarmManager.cs" id="15_d7e3u"]
[node name="GameScene" type="Node2D" node_paths=PackedStringArray("PlayerSpawnMarker")]
[sub_resource type="Resource" id="Resource_6wo78"]
script = ExtResource("4_bc0u7")
EggIndex = 0
StartingEquipment = []
[node name="GameScene" type="Node2D"]
script = ExtResource("1_4uv21")
PlayerTemplate = ExtResource("2_j0vja")
PlayerSpawnMarker = NodePath("PlayerStartPosition")
SpawnMarkers = {
0: NodePath("PlayerStartPosition")
}
WeaponTemplate = ExtResource("3_a16tm")
StartingEquipment = Array[Object]([])
MapStartData = SubResource("Resource_6wo78")
[node name="Tilemaps" type="Node2D" parent="."]

102
Scenes/Maps/Tutorial.tscn Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,23 +1,10 @@
[gd_scene load_steps=11 format=3 uid="uid://bj28qiai2x2ar"]
[gd_scene load_steps=9 format=3 uid="uid://bj28qiai2x2ar"]
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_avwdx"]
[ext_resource type="Texture2D" uid="uid://d2f16ke8c7vwx" path="res://Sprites/Barrel.png" id="1_e66t6"]
[ext_resource type="PackedScene" uid="uid://clyyl3jgpfoo7" path="res://Scenes/Props/Broken_Barrel.tscn" id="2_f145b"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_sm378"]
[ext_resource type="PackedScene" uid="uid://h11o0et1y54v" path="res://Scenes/Weapons/Bullets/explosion.tscn" id="4_epbro"]
[ext_resource type="Script" path="res://Scripts/Resources/BulletResource.cs" id="5_xl8uf"]
[sub_resource type="Resource" id="Resource_kqink"]
script = ExtResource("5_xl8uf")
BulletScene = ExtResource("4_epbro")
BulletSpeed = 0.0
Direction = Vector2(1, 0)
BulletDamage = 8.0
LifeTime = 1.0
DestroyOnCollision = false
Owner = 0
DamageType = 4
TimeModifiers = null
[ext_resource type="Resource" uid="uid://ncukdupc7hbm" path="res://Resources/Bullets/Explosion.tres" id="4_eyb2j"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
@ -38,7 +25,7 @@ ExplosionRadius = 4.0
ExplosionDamage = 3.0
DebrisScene = ExtResource("2_f145b")
ExplosionParticles = ExtResource("3_sm378")
ExplosionData = SubResource("Resource_kqink")
ExplosionData = ExtResource("4_eyb2j")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]

View file

@ -0,0 +1,52 @@
[gd_scene load_steps=7 format=3 uid="uid://duaisem6rf56s"]
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_n1osj"]
[ext_resource type="Texture2D" uid="uid://5xl4cht2471h" path="res://Sprites/Props/Capacitor.png" id="2_l3vrs"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_mrlx1"]
atlas = ExtResource("2_l3vrs")
region = Rect2(48, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_0dae5"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mrlx1")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(11, 14)
[node name="BrokenCapacitor" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_n1osj")
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_0dae5")
[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,75 @@
[gd_scene load_steps=12 format=3 uid="uid://dux8pv1y8wkt0"]
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_012qq"]
[ext_resource type="PackedScene" uid="uid://duaisem6rf56s" path="res://Scenes/Props/Broken_Capacitor.tscn" id="2_hnb2s"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_fms01"]
[ext_resource type="Resource" uid="uid://dk2rbf88a5irh" path="res://Resources/Bullets/Explosion_Harmless.tres" id="4_q7brp"]
[ext_resource type="Texture2D" uid="uid://5xl4cht2471h" path="res://Sprites/Props/Capacitor.png" id="6_2htjq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_y2ecd"]
atlas = ExtResource("6_2htjq")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_fc7w7"]
atlas = ExtResource("6_2htjq")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jc6gn"]
atlas = ExtResource("6_2htjq")
region = Rect2(32, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_dcpu5"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_y2ecd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fc7w7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jc6gn")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(11, 14)
[node name="Capacitor" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 138
script = ExtResource("1_012qq")
Health = 2.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
DebrisScene = ExtResource("2_hnb2s")
ExplosionParticles = ExtResource("3_fms01")
ExplosionData = ExtResource("4_q7brp")
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_dcpu5")
autoplay = "default"
frame = 2
frame_progress = 0.119855
[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")

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,7 @@ public partial class BulletEmitter : Node2D, IActivable
[Export] public float Spread { get; set; } = 0f;
[Export] public float Rotation { get; set; } = 0f;
[Export] public float EmissionRotation { get; set; } = 0f;
private BulletSpawner _bulletSpawner;
@ -32,12 +32,12 @@ public partial class BulletEmitter : Node2D, IActivable
case ActivationType.Toggle:
break;
case ActivationType.Enable:
_bulletSpawner.SpawnBullet(BulletResource.MakeBullet(this.GlobalPosition, 1, Spread, Rotation));
_bulletSpawner.SpawnBullet(BulletResource.MakeBullet(this.GlobalPosition, 1, Spread, EmissionRotation));
break;
case ActivationType.Disable:
break;
case ActivationType.Use:
_bulletSpawner.SpawnBullet(BulletResource.MakeBullet(this.GlobalPosition, 1, Spread, Rotation));
_bulletSpawner.SpawnBullet(BulletResource.MakeBullet(this.GlobalPosition, 1, Spread, EmissionRotation));
break;
case ActivationType.Destroy:
break;

View file

@ -31,19 +31,26 @@ public partial class Door : Activable
{
_animatedSprite.Play("Opening");
State = DoorState.Open;
_collisionShape.Disabled = true;
_solidShape.Disabled = true;
CallDeferred(MethodName.DeferredDisableCollision, true);
//_collisionShape.Disabled = true;
//_solidShape.Disabled = true;
}
public void Close()
{
_animatedSprite.Play("Closing");
State = DoorState.Closed;
_collisionShape.Disabled = false;
_solidShape.Disabled = false;
CallDeferred(MethodName.DeferredDisableCollision, false);
//_collisionShape.Disabled = false;
//_solidShape.Disabled = false;
}
private void DeferredDisableCollision(bool state)
{
_collisionShape.Disabled = state;
_solidShape.Disabled = state;
}
public override void Activate(ActivationType activationType = ActivationType.Toggle)
{
switch (activationType)

BIN
Sprites/Actors/ForceFieldHorizontal.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

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

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://gc24sjyj47x6"
path="res://.godot/imported/ForceFieldHorizontal.png-728aebcb610ba4e68e91abcd4d922811.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Actors/ForceFieldHorizontal.png"
dest_files=["res://.godot/imported/ForceFieldHorizontal.png-728aebcb610ba4e68e91abcd4d922811.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/Button_Small.aseprite (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

BIN
Sprites/Props/BoxMarcio.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Props/Capacitor.aseprite (Stored with Git LFS)

Binary file not shown.

BIN
Sprites/Props/Capacitor.png (Stored with Git LFS)

Binary file not shown.

BIN
Tilesets/Space.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Tilesets/Space.png (Stored with Git LFS) Normal file

Binary file not shown.

34
Tilesets/Space.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://df8t3kan5qgjb"
path="res://.godot/imported/Space.png-9ac6a4a96c13da997bd992a8ec540109.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Tilesets/Space.png"
dest_files=["res://.godot/imported/Space.png-9ac6a4a96c13da997bd992a8ec540109.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
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=32 format=3 uid="uid://6k28roiljylj"]
[gd_resource type="TileSet" load_steps=34 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"]
@ -11,6 +11,7 @@
[ext_resource type="PackedScene" uid="uid://crmwuwhltmdq7" path="res://Scenes/Props/MediumTank.tscn" id="8_vuaww"]
[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"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_l8pdw"]
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
@ -509,6 +510,7 @@ texture = ExtResource("1_70kxh")
8:8/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 4, -8, 4, -8, -8)
8:8/0/terrains_peering_bit/left_side = 0
9:8/0 = 0
9:8/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:9/0 = 0
0:9/0/z_index = 1
0:9/0/terrain_set = 0
@ -571,6 +573,7 @@ texture = ExtResource("1_70kxh")
8:9/0/terrains_peering_bit/left_side = 0
8:9/0/terrains_peering_bit/top_side = 0
9:9/0 = 0
9:9/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:10/0 = 0
1:10/0 = 0
2:10/0 = 0
@ -610,6 +613,7 @@ texture = ExtResource("1_70kxh")
8:10/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 4, -8, 4, -8, -8)
8:10/0/terrains_peering_bit/top_side = 0
9:10/0 = 0
9:10/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:11/0 = 0
0:11/0/z_index = 1
0:11/0/terrain_set = 0
@ -673,6 +677,7 @@ texture = ExtResource("1_70kxh")
8:11/0/terrains_peering_bit/bottom_side = 4
8:11/0/terrains_peering_bit/left_side = 4
9:11/0 = 0
9:11/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:12/0 = 0
0:12/0/z_index = 1
0:12/0/terrain_set = 0
@ -842,6 +847,19 @@ texture = ExtResource("1_70kxh")
10:2/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:3/0 = 0
10:3/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:8/0 = 0
10:8/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:9/0 = 0
10:9/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:10/0 = 0
10:10/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:11/0 = 0
10:11/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:12/0 = 0
10:13/0 = 0
10:4/0 = 0
10:14/0 = 0
10:15/0 = 0
[sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_qg3vu"]
resource_name = "Props"
@ -856,6 +874,46 @@ scenes/8/scene = ExtResource("9_wc4jy")
scenes/9/scene = ExtResource("10_hg2bp")
scenes/10/scene = ExtResource("3_fhx8p")
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_wgdjv"]
texture = ExtResource("12_fb37q")
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
5:2/0 = 0
6:2/0 = 0
7:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
3:4/0 = 0
4:4/0 = 0
0:5/0 = 0
1:5/0 = 0
2:5/0 = 0
3:5/0 = 0
4:5/0 = 0
4:6/0 = 0
3:6/0 = 0
2:6/0 = 0
[resource]
physics_layer_0/collision_layer = 1
physics_layer_0/collision_mask = 30
@ -875,3 +933,4 @@ terrain_set_0/terrain_4/color = Color(0.28125, 0.5, 0.25, 1)
navigation_layer_0/layers = 1
sources/0 = SubResource("TileSetAtlasSource_jwf4b")
sources/1 = SubResource("TileSetScenesCollectionSource_qg3vu")
sources/2 = SubResource("TileSetAtlasSource_wgdjv")

View file

@ -9,7 +9,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../builds/cirnoreason.exe"
export_path="../godotbuilds/CirnoGodot/cirnoreason.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false