mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 14:51:17 +00:00
Autotiles for fences
This commit is contained in:
parent
7db0e8f5b6
commit
def0f40007
7 changed files with 115 additions and 30 deletions
|
|
@ -25,6 +25,7 @@ collision_layer = 16
|
||||||
collision_mask = 9
|
collision_mask = 9
|
||||||
script = ExtResource("1_na4uq")
|
script = ExtResource("1_na4uq")
|
||||||
Phases = Array[Resource]([ExtResource("2_1rhf6")])
|
Phases = Array[Resource]([ExtResource("2_1rhf6")])
|
||||||
|
Health = 1000.0
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=11 format=4 uid="uid://bu5fvatj2j08j"]
|
[gd_scene load_steps=12 format=4 uid="uid://bu5fvatj2j08j"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_paetl"]
|
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_paetl"]
|
||||||
[ext_resource type="PackedScene" uid="uid://d1rlw6ddpmrn8" path="res://Scenes/Actors/Rumia.tscn" id="2_47q21"]
|
[ext_resource type="PackedScene" uid="uid://d1rlw6ddpmrn8" path="res://Scenes/Actors/Rumia.tscn" id="2_47q21"]
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://dohakkayqj4w2" path="res://Scenes/Weapons/Bullets/enemyBullet_green.tscn" id="6_8e062"]
|
[ext_resource type="PackedScene" uid="uid://dohakkayqj4w2" path="res://Scenes/Weapons/Bullets/enemyBullet_green.tscn" id="6_8e062"]
|
||||||
[ext_resource type="Script" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="7_pi1kp"]
|
[ext_resource type="Script" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="7_pi1kp"]
|
||||||
[ext_resource type="Script" path="res://Scripts/Resources/BossPhase.cs" id="8_jya7d"]
|
[ext_resource type="Script" path="res://Scripts/Resources/BossPhase.cs" id="8_jya7d"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bdp710abe10s5" path="res://Scenes/Interactable/AreaTrigger.tscn" id="9_xhf0g"]
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_0v4v8"]
|
[sub_resource type="Resource" id="Resource_0v4v8"]
|
||||||
script = ExtResource("7_pi1kp")
|
script = ExtResource("7_pi1kp")
|
||||||
|
|
@ -48,9 +49,13 @@ tile_map_data = PackedByteArray("AAAIAAAAAAAAAAIAAAAJAAAAAAAAAAIAAAAOAAAAAAAAAAI
|
||||||
tile_set = ExtResource("3_cyhmq")
|
tile_set = ExtResource("3_cyhmq")
|
||||||
|
|
||||||
[node name="Rumia" parent="." instance=ExtResource("2_47q21")]
|
[node name="Rumia" parent="." instance=ExtResource("2_47q21")]
|
||||||
position = Vector2(163, 37)
|
position = Vector2(178, 63)
|
||||||
Phases = Array[Resource]([ExtResource("5_jkuab"), SubResource("Resource_rasgx")])
|
Phases = Array[Resource]([ExtResource("5_jkuab"), SubResource("Resource_rasgx")])
|
||||||
Health = 1000.0
|
|
||||||
|
|
||||||
[node name="PlayerStartPosition" type="Marker2D" parent="."]
|
[node name="PlayerStartPosition" type="Marker2D" parent="."]
|
||||||
position = Vector2(178, 115)
|
position = Vector2(178, 115)
|
||||||
|
|
||||||
|
[node name="AreaTrigger" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("9_xhf0g")]
|
||||||
|
position = Vector2(177, 115)
|
||||||
|
Target = NodePath("../Rumia")
|
||||||
|
OneTime = true
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -23,7 +23,7 @@ public partial class Boss : Enemy, IActivable
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
{
|
{
|
||||||
base._Ready();
|
base._Ready();
|
||||||
_gameManager = GetNode<GameManager>("/root/GameScene");
|
_gameManager = this.GetGameManager();
|
||||||
|
|
||||||
_homePosition = this.GlobalPosition;
|
_homePosition = this.GlobalPosition;
|
||||||
|
|
||||||
|
|
|
||||||
BIN
Tilesets/factory.aseprite
(Stored with Git LFS)
BIN
Tilesets/factory.aseprite
(Stored with Git LFS)
Binary file not shown.
BIN
Tilesets/factory.png
(Stored with Git LFS)
BIN
Tilesets/factory.png
(Stored with Git LFS)
Binary file not shown.
|
|
@ -207,31 +207,92 @@ texture = ExtResource("1_70kxh")
|
||||||
1:8/0 = 0
|
1:8/0 = 0
|
||||||
2:8/0 = 0
|
2:8/0 = 0
|
||||||
3:8/0 = 0
|
3:8/0 = 0
|
||||||
|
3:8/0/terrain_set = 0
|
||||||
|
3:8/0/terrain = 0
|
||||||
|
3:8/0/terrains_peering_bit/right_side = 0
|
||||||
|
3:8/0/terrains_peering_bit/bottom_side = 0
|
||||||
4:8/0 = 0
|
4:8/0 = 0
|
||||||
|
4:8/0/terrain_set = 0
|
||||||
|
4:8/0/terrains_peering_bit/right_side = 0
|
||||||
|
4:8/0/terrains_peering_bit/left_side = 0
|
||||||
5:8/0 = 0
|
5:8/0 = 0
|
||||||
|
5:8/0/terrain_set = 0
|
||||||
|
5:8/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
5:8/0/terrains_peering_bit/left_side = 0
|
||||||
6:8/0 = 0
|
6:8/0 = 0
|
||||||
|
6:8/0/terrain_set = 0
|
||||||
7:8/0 = 0
|
7:8/0 = 0
|
||||||
|
7:8/0/terrain_set = 0
|
||||||
|
7:8/0/terrain = 0
|
||||||
|
7:8/0/terrains_peering_bit/right_side = 0
|
||||||
|
7:8/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
7:8/0/terrains_peering_bit/left_side = 0
|
||||||
8:8/0 = 0
|
8:8/0 = 0
|
||||||
|
8:8/0/terrain_set = 0
|
||||||
9:8/0 = 0
|
9:8/0 = 0
|
||||||
0:9/0 = 0
|
0:9/0 = 0
|
||||||
1:9/0 = 0
|
1:9/0 = 0
|
||||||
2:9/0 = 0
|
2:9/0 = 0
|
||||||
3:9/0 = 0
|
3:9/0 = 0
|
||||||
|
3:9/0/terrain_set = 0
|
||||||
|
3:9/0/terrain = 0
|
||||||
|
3:9/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
3:9/0/terrains_peering_bit/top_side = 0
|
||||||
4:9/0 = 0
|
4:9/0 = 0
|
||||||
|
4:9/0/terrain_set = 0
|
||||||
|
4:9/0/terrain = 0
|
||||||
5:9/0 = 0
|
5:9/0 = 0
|
||||||
|
5:9/0/terrain_set = 0
|
||||||
|
5:9/0/terrain = 0
|
||||||
|
5:9/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
5:9/0/terrains_peering_bit/top_side = 0
|
||||||
6:9/0 = 0
|
6:9/0 = 0
|
||||||
|
6:9/0/terrain_set = 0
|
||||||
|
6:9/0/terrain = 0
|
||||||
|
6:9/0/terrains_peering_bit/right_side = 0
|
||||||
|
6:9/0/terrains_peering_bit/bottom_side = 0
|
||||||
7:9/0 = 0
|
7:9/0 = 0
|
||||||
|
7:9/0/terrain_set = 0
|
||||||
|
7:9/0/terrain = 0
|
||||||
|
7:9/0/terrains_peering_bit/right_side = 0
|
||||||
|
7:9/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
7:9/0/terrains_peering_bit/left_side = 0
|
||||||
|
7:9/0/terrains_peering_bit/top_side = 0
|
||||||
8:9/0 = 0
|
8:9/0 = 0
|
||||||
|
8:9/0/terrain_set = 0
|
||||||
|
8:9/0/terrain = 0
|
||||||
|
8:9/0/terrains_peering_bit/bottom_side = 0
|
||||||
|
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 = 0
|
||||||
0:10/0 = 0
|
0:10/0 = 0
|
||||||
1:10/0 = 0
|
1:10/0 = 0
|
||||||
2:10/0 = 0
|
2:10/0 = 0
|
||||||
3:10/0 = 0
|
3:10/0 = 0
|
||||||
|
3:10/0/terrain_set = 0
|
||||||
|
3:10/0/terrain = 0
|
||||||
|
3:10/0/terrains_peering_bit/right_side = 0
|
||||||
|
3:10/0/terrains_peering_bit/top_side = 0
|
||||||
4:10/0 = 0
|
4:10/0 = 0
|
||||||
|
4:10/0/terrain_set = 0
|
||||||
|
4:10/0/terrain = 0
|
||||||
|
4:10/0/terrains_peering_bit/right_side = 0
|
||||||
|
4:10/0/terrains_peering_bit/left_side = 0
|
||||||
5:10/0 = 0
|
5:10/0 = 0
|
||||||
|
5:10/0/terrain_set = 0
|
||||||
|
5:10/0/terrain = 0
|
||||||
|
5:10/0/terrains_peering_bit/left_side = 0
|
||||||
|
5:10/0/terrains_peering_bit/top_side = 0
|
||||||
6:10/0 = 0
|
6:10/0 = 0
|
||||||
|
6:10/0/terrain_set = 0
|
||||||
7:10/0 = 0
|
7:10/0 = 0
|
||||||
|
7:10/0/terrain_set = 0
|
||||||
|
7:10/0/terrain = 0
|
||||||
|
7:10/0/terrains_peering_bit/right_side = 0
|
||||||
|
7:10/0/terrains_peering_bit/left_side = 0
|
||||||
|
7:10/0/terrains_peering_bit/top_side = 0
|
||||||
8:10/0 = 0
|
8:10/0 = 0
|
||||||
|
8:10/0/terrain_set = 0
|
||||||
9:10/0 = 0
|
9:10/0 = 0
|
||||||
0:11/0 = 0
|
0:11/0 = 0
|
||||||
1:11/0 = 0
|
1:11/0 = 0
|
||||||
|
|
@ -290,6 +351,9 @@ physics_layer_0/collision_layer = 1
|
||||||
physics_layer_0/collision_mask = 30
|
physics_layer_0/collision_mask = 30
|
||||||
physics_layer_1/collision_layer = 32
|
physics_layer_1/collision_layer = 32
|
||||||
physics_layer_1/collision_mask = 18
|
physics_layer_1/collision_mask = 18
|
||||||
|
terrain_set_0/mode = 0
|
||||||
|
terrain_set_0/terrain_0/name = "Fence"
|
||||||
|
terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
|
||||||
navigation_layer_0/layers = 1
|
navigation_layer_0/layers = 1
|
||||||
sources/0 = SubResource("TileSetAtlasSource_jwf4b")
|
sources/0 = SubResource("TileSetAtlasSource_jwf4b")
|
||||||
sources/1 = SubResource("TileSetScenesCollectionSource_qg3vu")
|
sources/1 = SubResource("TileSetScenesCollectionSource_qg3vu")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue