ape-ame/entagon.tscn

107 lines
3.1 KiB
Text
Raw Normal View History

2025-02-05 14:05:36 -05:00
[gd_scene load_steps=14 format=3 uid="uid://c54oi61t8bvtu"]
2024-04-16 20:29:45 -04:00
[ext_resource type="Script" path="res://Entagon.gd" id="1_726g8"]
2024-05-07 14:29:47 -04:00
[ext_resource type="Texture2D" uid="uid://b6xcx23pog1hf" path="res://entagon.png" id="2_vqlca"]
2024-04-20 09:45:17 -04:00
[ext_resource type="Texture2D" uid="uid://djfjdlri5xdkn" path="res://dotted line.png" id="4_vixiu"]
[ext_resource type="Script" path="res://TrajectoryDisplay.gd" id="5_w6b4q"]
2024-04-16 20:29:45 -04:00
2024-04-25 20:56:12 -04:00
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_odemo"]
bounce = 1.0
2024-05-07 14:29:47 -04:00
[sub_resource type="AtlasTexture" id="AtlasTexture_na0t5"]
atlas = ExtResource("2_vqlca")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kvsdg"]
atlas = ExtResource("2_vqlca")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7iwp2"]
atlas = ExtResource("2_vqlca")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_euoju"]
atlas = ExtResource("2_vqlca")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rpqlb"]
atlas = ExtResource("2_vqlca")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_t7qac"]
atlas = ExtResource("2_vqlca")
region = Rect2(0, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_v0b8u"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_na0t5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kvsdg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7iwp2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_euoju")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rpqlb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t7qac")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
2025-02-05 14:05:36 -05:00
[sub_resource type="CircleShape2D" id="CircleShape2D_eo18f"]
radius = 30.0
[node name="Entagon" type="RigidBody2D" groups=["destructible", "enemy"]]
collision_mask = 0
2024-04-25 20:56:12 -04:00
physics_material_override = SubResource("PhysicsMaterial_odemo")
2024-04-16 20:29:45 -04:00
gravity_scale = 1.66533e-16
contact_monitor = true
2025-02-06 11:35:16 -05:00
max_contacts_reported = 2
linear_damp = 2.0
2024-04-16 20:29:45 -04:00
angular_velocity = 0.174533
script = ExtResource("1_726g8")
2024-04-18 19:45:52 -04:00
[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-0.999999, 0.999999)
scale = Vector2(0.90625, 0.90625)
2024-05-07 14:29:47 -04:00
sprite_frames = SubResource("SpriteFrames_v0b8u")
autoplay = "default"
frame = 5
frame_progress = 0.0888797
2024-04-16 20:29:45 -04:00
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
scale = Vector2(0.1, 0.1)
2024-04-18 19:45:52 -04:00
polygon = PackedVector2Array(-10, -230, 210, -60, 140, 170, -130, 170, -230, -50)
2024-04-16 20:29:45 -04:00
2024-04-20 09:45:17 -04:00
[node name="TrajectoryDisplay" type="Line2D" parent="."]
z_index = -1
texture_repeat = 2
position = Vector2(-2, 0)
points = PackedVector2Array(0, 0, 100, 0)
width = 50.0
default_color = Color(0.909804, 0.717647, 0.337255, 0.529412)
texture = ExtResource("4_vixiu")
texture_mode = 1
script = ExtResource("5_w6b4q")
target_shield = true
2025-02-05 14:05:36 -05:00
[node name="ShapeCast2D" type="ShapeCast2D" parent="TrajectoryDisplay"]
shape = SubResource("CircleShape2D_eo18f")
target_position = Vector2(2.08165e-12, 500)
2024-04-20 09:45:17 -04:00
2025-02-06 14:49:13 -05:00
[node name="ShieldMarker" type="Marker2D" parent="."]
scale = Vector2(1.5, 1.5)
2024-04-16 20:29:45 -04:00
[connection signal="body_entered" from="." to="." method="hit"]