mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 05:05:54 +00:00
4 way animation handler for new actors
This commit is contained in:
parent
0e15d2acba
commit
335f4d5430
8 changed files with 260 additions and 117 deletions
110
Resources/Sprites/FairyGuard.tres
Normal file
110
Resources/Sprites/FairyGuard.tres
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=14 format=3 uid="uid://ch2ll1on8im2p"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xhwfgbv0fjbr" path="res://Sprites/Actors/FairyGuard.png" id="1_fb3du"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_42a57"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gl2o5"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ad5n8"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hfqok"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_47idc"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(32, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gquu4"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2ftnw"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o4btr"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ue8y7"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(32, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n8dp2"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(0, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6p57w"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(16, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gpakj"]
|
||||
atlas = ExtResource("1_fb3du")
|
||||
region = Rect2(32, 16, 16, 16)
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_42a57")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gl2o5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ad5n8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hfqok")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_47idc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gquu4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2ftnw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o4btr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ue8y7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n8dp2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6p57w")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gpakj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
80
Scenes/Actors/4WayActorEnemyTest.tscn
Normal file
80
Scenes/Actors/4WayActorEnemyTest.tscn
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
[gd_scene load_steps=14 format=3 uid="uid://bc054js8ep2b"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/Actor.cs" id="1_ugrra"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://ch2ll1on8im2p" path="res://Resources/Sprites/FairyGuard.tres" id="2_i2plx"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/EnemyPossessionMovement.cs" id="3_tum7w"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/KeyboardInputProvider.cs" id="4_3noop"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/FourWayAnimationHandler.cs" id="5_yr00f"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/ActorAi.cs" id="6_23xma"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/EnemyNavigationMovement.cs" id="7_2f0xw"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/ProximityPlayerDetection.cs" id="8_m5ma3"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/Actors/ActorResourceProvider.cs" id="9_fyr27"]
|
||||
[ext_resource type="PackedScene" uid="uid://cj63k0dmk7tl1" path="res://Scenes/Weapons/enemy_weapon_base.tscn" id="10_yktta"]
|
||||
[ext_resource type="Resource" uid="uid://cdfmedtgp2rcn" path="res://Resources/Weapons/EnemyWeapon.tres" id="11_kuimj"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_2b36v"]
|
||||
radius = 5.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_sthwe"]
|
||||
radius = 85.0529
|
||||
|
||||
[node name="ActorEnemyTest" type="CharacterBody2D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 113
|
||||
script = ExtResource("1_ugrra")
|
||||
MovementSpeed = 30.0
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("2_i2plx")
|
||||
animation = &"down"
|
||||
|
||||
[node name="MovementProvider" type="Node2D" parent="."]
|
||||
script = ExtResource("3_tum7w")
|
||||
|
||||
[node name="InputProvider" type="Node2D" parent="MovementProvider"]
|
||||
script = ExtResource("4_3noop")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_2b36v")
|
||||
|
||||
[node name="AnimationHandler" type="Node2D" parent="." node_paths=PackedStringArray("_animatedSprite")]
|
||||
script = ExtResource("5_yr00f")
|
||||
_animatedSprite = NodePath("../AnimatedSprite2D")
|
||||
|
||||
[node name="ActorAi" type="Node2D" parent="."]
|
||||
script = ExtResource("6_23xma")
|
||||
Ai = 0
|
||||
|
||||
[node name="NavigationMovementProvider" type="Node2D" parent="." node_paths=PackedStringArray("EquippedWeapon", "_playerDetection")]
|
||||
script = ExtResource("7_2f0xw")
|
||||
_navigationEnabled = true
|
||||
CollisionMask = 81
|
||||
EquippedWeapon = NodePath("../EnemyWeapon")
|
||||
_playerDetection = NodePath("../PlayerDetection")
|
||||
|
||||
[node name="PlayerDetection" type="Area2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("8_m5ma3")
|
||||
|
||||
[node name="PlayerDetectionArea" type="CollisionShape2D" parent="PlayerDetection"]
|
||||
shape = SubResource("CircleShape2D_sthwe")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
||||
target_desired_distance = 64.0
|
||||
path_max_distance = 800.0
|
||||
path_postprocessing = 1
|
||||
avoidance_enabled = true
|
||||
debug_path_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="HealthProvider" type="Node2D" parent="."]
|
||||
script = ExtResource("9_fyr27")
|
||||
ResourceName = "Health"
|
||||
|
||||
[node name="EnemyWeapon" parent="." instance=ExtResource("10_yktta")]
|
||||
WeaponData = ExtResource("11_kuimj")
|
||||
|
||||
[connection signal="area_entered" from="PlayerDetection" to="PlayerDetection" method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="PlayerDetection" to="PlayerDetection" method="_on_area_exited"]
|
||||
[connection signal="velocity_computed" from="NavigationAgent2D" to="NavigationMovementProvider" method="_on_navigation_agent_2d_velocity_computed"]
|
||||
|
|
@ -1,119 +1,12 @@
|
|||
[gd_scene load_steps=24 format=3 uid="uid://clxx2ytg3qkcr"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://clxx2ytg3qkcr"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Enemy.cs" id="1_d31cy"]
|
||||
[ext_resource type="Texture2D" uid="uid://xhwfgbv0fjbr" path="res://Sprites/Actors/FairyGuard.png" id="2_dhwsn"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://ch2ll1on8im2p" path="res://Resources/Sprites/FairyGuard.tres" id="2_vh71w"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/ProximityPlayerDetection.cs" id="3_i7ey1"]
|
||||
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="4_p0lt3"]
|
||||
[ext_resource type="Resource" uid="uid://cdfmedtgp2rcn" path="res://Resources/Weapons/EnemyWeapon.tres" id="5_s8k35"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuixq5ex0j40h" path="res://Scenes/enemyBullet.tscn" id="6_vxjxr"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_42a57"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gl2o5"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ad5n8"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hfqok"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_47idc"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(32, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gquu4"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2ftnw"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o4btr"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ue8y7"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(32, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n8dp2"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(0, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6p57w"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(16, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gpakj"]
|
||||
atlas = ExtResource("2_dhwsn")
|
||||
region = Rect2(32, 16, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_0g5m3"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_42a57")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gl2o5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ad5n8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hfqok")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_47idc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gquu4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2ftnw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o4btr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ue8y7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n8dp2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6p57w")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gpakj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_8gtts"]
|
||||
radius = 7.0
|
||||
|
||||
|
|
@ -136,7 +29,7 @@ _navigationEnabled = true
|
|||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_0g5m3")
|
||||
sprite_frames = ExtResource("2_vh71w")
|
||||
animation = &"left"
|
||||
frame = 2
|
||||
frame_progress = 0.309308
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -142,7 +142,7 @@ ActivationType = 0
|
|||
Targets = Array[NodePath]([NodePath("../Rumia")])
|
||||
WaitForCompletion = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_c0pje"]
|
||||
[sub_resource type="Resource" id="Resource_psv6q"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("49_0si7g")
|
||||
Target = NodePath(".")
|
||||
|
|
@ -678,7 +678,7 @@ Events = Array[Object]([SubResource("Resource_068l7"), SubResource("Resource_l3n
|
|||
|
||||
[node name="BossBattleStartScript" parent="." instance=ExtResource("43_kf3qc")]
|
||||
position = Vector2(-1487, -396)
|
||||
Events = Array[Object]([SubResource("Resource_4f4id"), SubResource("Resource_s2o7m"), SubResource("Resource_b1dht"), SubResource("Resource_xrgpy"), SubResource("Resource_c0pje")])
|
||||
Events = Array[Object]([SubResource("Resource_4f4id"), SubResource("Resource_s2o7m"), SubResource("Resource_b1dht"), SubResource("Resource_xrgpy"), SubResource("Resource_psv6q")])
|
||||
|
||||
[node name="Enemy8" parent="." instance=ExtResource("47_u1ve6")]
|
||||
position = Vector2(-1117, 184)
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public partial class AnimationHandler : ActorModule
|
|||
return _directionsTable[FacingDirection.Up];
|
||||
}
|
||||
|
||||
private readonly Dictionary<FacingDirection, string> _directionsTable = new()
|
||||
protected readonly Dictionary<FacingDirection, string> _directionsTable = new()
|
||||
{
|
||||
{ FacingDirection.Right, "right" },
|
||||
{ FacingDirection.Left, "left" },
|
||||
|
|
@ -75,7 +75,7 @@ public partial class AnimationHandler : ActorModule
|
|||
{ FacingDirection.DownRight, "down_right" }
|
||||
};
|
||||
|
||||
private enum FacingDirection
|
||||
protected enum FacingDirection
|
||||
{
|
||||
Up,
|
||||
Down,
|
||||
|
|
|
|||
29
Scripts/Components/Actors/FourWayAnimationHandler.cs
Normal file
29
Scripts/Components/Actors/FourWayAnimationHandler.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Components.Actors;
|
||||
|
||||
public partial class FourWayAnimationHandler : AnimationHandler
|
||||
{
|
||||
public override void Update(double delta)
|
||||
{
|
||||
_animatedSprite.Play(DirectionToString(_parent.FacingDirection));
|
||||
_animatedSprite.SpeedScale = _parent.Velocity.Length() > 0 ? 1 : 0;
|
||||
}
|
||||
|
||||
protected override string DirectionToString(Vector2 direction)
|
||||
{
|
||||
var angle = Mathf.RadToDeg(direction.Angle());
|
||||
angle = Mathf.PosMod(angle, 360);
|
||||
|
||||
if (angle >= 337.5 || angle < 22.5) return _directionsTable[FacingDirection.Right];
|
||||
if (angle >= 22.5 && angle < 67.5) return _directionsTable[FacingDirection.Right];
|
||||
if (angle >= 67.5 && angle < 112.5) return _directionsTable[FacingDirection.Down];
|
||||
if (angle >= 112.5 && angle < 157.5) return _directionsTable[FacingDirection.Left];
|
||||
if (angle >= 157.5 && angle < 202.5) return _directionsTable[FacingDirection.Left];
|
||||
if (angle >= 202.5 && angle < 247.5) return _directionsTable[FacingDirection.Left];
|
||||
if (angle >= 247.5 && angle < 292.5) return _directionsTable[FacingDirection.Up];
|
||||
if (angle >= 292.5 && angle < 337.5) return _directionsTable[FacingDirection.Right];
|
||||
|
||||
return _directionsTable[FacingDirection.Up];
|
||||
}
|
||||
}
|
||||
|
|
@ -244,11 +244,13 @@ texture = ExtResource("1_70kxh")
|
|||
4:4/0/z_index = 1
|
||||
4:4/0/terrain_set = 0
|
||||
4:4/0/terrain = 2
|
||||
4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
4:4/0/terrains_peering_bit/top_side = 2
|
||||
5:4/0 = 0
|
||||
5:4/0/z_index = 1
|
||||
5:4/0/terrain_set = 0
|
||||
5:4/0/terrain = 2
|
||||
5:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
5:4/0/terrains_peering_bit/bottom_side = 2
|
||||
6:4/0 = 0
|
||||
6:4/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_8lv53")
|
||||
|
|
@ -475,6 +477,7 @@ texture = ExtResource("1_70kxh")
|
|||
0:8/0/z_index = 1
|
||||
0:8/0/terrain_set = 0
|
||||
0:8/0/terrain = 2
|
||||
0:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:8/0/terrains_peering_bit/right_side = 2
|
||||
0:8/0/terrains_peering_bit/bottom_side = 2
|
||||
0:8/0/terrains_peering_bit/bottom_left_corner = 2
|
||||
|
|
@ -486,6 +489,7 @@ texture = ExtResource("1_70kxh")
|
|||
1:8/0/z_index = 1
|
||||
1:8/0/terrain_set = 0
|
||||
1:8/0/terrain = 2
|
||||
1:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:8/0/terrains_peering_bit/right_side = 2
|
||||
1:8/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
1:8/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -497,6 +501,7 @@ texture = ExtResource("1_70kxh")
|
|||
2:8/0/z_index = 1
|
||||
2:8/0/terrain_set = 0
|
||||
2:8/0/terrain = 2
|
||||
2:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:8/0/terrains_peering_bit/right_side = 2
|
||||
2:8/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
2:8/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -545,6 +550,7 @@ texture = ExtResource("1_70kxh")
|
|||
0:9/0/z_index = 1
|
||||
0:9/0/terrain_set = 0
|
||||
0:9/0/terrain = 2
|
||||
0:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:9/0/terrains_peering_bit/right_side = 2
|
||||
0:9/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
0:9/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -556,6 +562,7 @@ texture = ExtResource("1_70kxh")
|
|||
1:9/0/z_index = 1
|
||||
1:9/0/terrain_set = 0
|
||||
1:9/0/terrain = 2
|
||||
1:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:9/0/terrains_peering_bit/right_side = 2
|
||||
1:9/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
1:9/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -648,18 +655,21 @@ texture = ExtResource("1_70kxh")
|
|||
0:11/0/z_index = 1
|
||||
0:11/0/terrain_set = 0
|
||||
0:11/0/terrain = 2
|
||||
0:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:11/0/terrains_peering_bit/right_side = 2
|
||||
0:11/0/terrains_peering_bit/bottom_side = 2
|
||||
1:11/0 = 0
|
||||
1:11/0/z_index = 1
|
||||
1:11/0/terrain_set = 0
|
||||
1:11/0/terrain = 2
|
||||
1:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:11/0/terrains_peering_bit/bottom_side = 2
|
||||
1:11/0/terrains_peering_bit/left_side = 2
|
||||
2:11/0 = 0
|
||||
2:11/0/z_index = 1
|
||||
2:11/0/terrain_set = 0
|
||||
2:11/0/terrain = 2
|
||||
2:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:11/0/terrains_peering_bit/right_side = 2
|
||||
2:11/0/terrains_peering_bit/bottom_side = 2
|
||||
2:11/0/terrains_peering_bit/top_side = 2
|
||||
|
|
@ -668,6 +678,7 @@ texture = ExtResource("1_70kxh")
|
|||
3:11/0/z_index = 1
|
||||
3:11/0/terrain_set = 0
|
||||
3:11/0/terrain = 2
|
||||
3:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:11/0/terrains_peering_bit/bottom_side = 2
|
||||
3:11/0/terrains_peering_bit/left_side = 2
|
||||
3:11/0/terrains_peering_bit/top_left_corner = 2
|
||||
|
|
@ -676,6 +687,7 @@ texture = ExtResource("1_70kxh")
|
|||
4:11/0/z_index = 1
|
||||
4:11/0/terrain_set = 0
|
||||
4:11/0/terrain = 2
|
||||
4:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
4:11/0/terrains_peering_bit/right_side = 2
|
||||
4:11/0/terrains_peering_bit/bottom_side = 2
|
||||
4:11/0/terrains_peering_bit/bottom_left_corner = 2
|
||||
|
|
@ -684,6 +696,7 @@ texture = ExtResource("1_70kxh")
|
|||
5:11/0/z_index = 1
|
||||
5:11/0/terrain_set = 0
|
||||
5:11/0/terrain = 2
|
||||
5:11/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
5:11/0/terrains_peering_bit/right_side = 2
|
||||
5:11/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
5:11/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -712,18 +725,21 @@ texture = ExtResource("1_70kxh")
|
|||
0:12/0/z_index = 1
|
||||
0:12/0/terrain_set = 0
|
||||
0:12/0/terrain = 2
|
||||
0:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:12/0/terrains_peering_bit/right_side = 2
|
||||
0:12/0/terrains_peering_bit/top_side = 2
|
||||
1:12/0 = 0
|
||||
1:12/0/z_index = 1
|
||||
1:12/0/terrain_set = 0
|
||||
1:12/0/terrain = 2
|
||||
1:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:12/0/terrains_peering_bit/left_side = 2
|
||||
1:12/0/terrains_peering_bit/top_side = 2
|
||||
2:12/0 = 0
|
||||
2:12/0/z_index = 1
|
||||
2:12/0/terrain_set = 0
|
||||
2:12/0/terrain = 2
|
||||
2:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:12/0/terrains_peering_bit/right_side = 2
|
||||
2:12/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
2:12/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
@ -732,6 +748,7 @@ texture = ExtResource("1_70kxh")
|
|||
3:12/0/z_index = 1
|
||||
3:12/0/terrain_set = 0
|
||||
3:12/0/terrain = 2
|
||||
3:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:12/0/terrains_peering_bit/bottom_side = 2
|
||||
3:12/0/terrains_peering_bit/bottom_left_corner = 2
|
||||
3:12/0/terrains_peering_bit/left_side = 2
|
||||
|
|
@ -740,6 +757,7 @@ texture = ExtResource("1_70kxh")
|
|||
4:12/0/z_index = 1
|
||||
4:12/0/terrain_set = 0
|
||||
4:12/0/terrain = 2
|
||||
4:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
4:12/0/terrains_peering_bit/right_side = 2
|
||||
4:12/0/terrains_peering_bit/left_side = 2
|
||||
4:12/0/terrains_peering_bit/top_left_corner = 2
|
||||
|
|
@ -748,6 +766,7 @@ texture = ExtResource("1_70kxh")
|
|||
5:12/0/z_index = 1
|
||||
5:12/0/terrain_set = 0
|
||||
5:12/0/terrain = 2
|
||||
5:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
5:12/0/terrains_peering_bit/right_side = 2
|
||||
5:12/0/terrains_peering_bit/left_side = 2
|
||||
5:12/0/terrains_peering_bit/top_side = 2
|
||||
|
|
@ -776,6 +795,7 @@ texture = ExtResource("1_70kxh")
|
|||
0:13/0/z_index = 1
|
||||
0:13/0/terrain_set = 0
|
||||
0:13/0/terrain = 2
|
||||
0:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:13/0/terrains_peering_bit/right_side = 2
|
||||
0:13/0/terrains_peering_bit/bottom_side = 2
|
||||
0:13/0/terrains_peering_bit/left_side = 2
|
||||
|
|
@ -783,6 +803,7 @@ texture = ExtResource("1_70kxh")
|
|||
1:13/0/z_index = 1
|
||||
1:13/0/terrain_set = 0
|
||||
1:13/0/terrain = 2
|
||||
1:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:13/0/terrains_peering_bit/bottom_side = 2
|
||||
1:13/0/terrains_peering_bit/left_side = 2
|
||||
1:13/0/terrains_peering_bit/top_side = 2
|
||||
|
|
@ -790,6 +811,7 @@ texture = ExtResource("1_70kxh")
|
|||
2:13/0/z_index = 1
|
||||
2:13/0/terrain_set = 0
|
||||
2:13/0/terrain = 2
|
||||
2:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:13/0/terrains_peering_bit/right_side = 2
|
||||
2:13/0/terrains_peering_bit/bottom_side = 2
|
||||
2:13/0/terrains_peering_bit/left_side = 2
|
||||
|
|
@ -799,6 +821,7 @@ texture = ExtResource("1_70kxh")
|
|||
3:13/0/z_index = 1
|
||||
3:13/0/terrain_set = 0
|
||||
3:13/0/terrain = 2
|
||||
3:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:13/0/terrains_peering_bit/right_side = 2
|
||||
3:13/0/terrains_peering_bit/bottom_side = 2
|
||||
3:13/0/terrains_peering_bit/left_side = 2
|
||||
|
|
@ -814,6 +837,7 @@ texture = ExtResource("1_70kxh")
|
|||
0:14/0/z_index = 1
|
||||
0:14/0/terrain_set = 0
|
||||
0:14/0/terrain = 2
|
||||
0:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:14/0/terrains_peering_bit/right_side = 2
|
||||
0:14/0/terrains_peering_bit/left_side = 2
|
||||
0:14/0/terrains_peering_bit/top_side = 2
|
||||
|
|
@ -821,6 +845,7 @@ texture = ExtResource("1_70kxh")
|
|||
1:14/0/z_index = 1
|
||||
1:14/0/terrain_set = 0
|
||||
1:14/0/terrain = 2
|
||||
1:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:14/0/terrains_peering_bit/right_side = 2
|
||||
1:14/0/terrains_peering_bit/bottom_side = 2
|
||||
1:14/0/terrains_peering_bit/top_side = 2
|
||||
|
|
@ -828,6 +853,7 @@ texture = ExtResource("1_70kxh")
|
|||
2:14/0/z_index = 1
|
||||
2:14/0/terrain_set = 0
|
||||
2:14/0/terrain = 2
|
||||
2:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:14/0/terrains_peering_bit/right_side = 2
|
||||
2:14/0/terrains_peering_bit/bottom_side = 2
|
||||
2:14/0/terrains_peering_bit/bottom_left_corner = 2
|
||||
|
|
@ -837,6 +863,7 @@ texture = ExtResource("1_70kxh")
|
|||
3:14/0/z_index = 1
|
||||
3:14/0/terrain_set = 0
|
||||
3:14/0/terrain = 2
|
||||
3:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:14/0/terrains_peering_bit/right_side = 2
|
||||
3:14/0/terrains_peering_bit/bottom_right_corner = 2
|
||||
3:14/0/terrains_peering_bit/bottom_side = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue