ape-ame/exagon.tscn

45 lines
1.7 KiB
Text
Raw Normal View History

2024-04-20 09:45:17 -04:00
[gd_scene load_steps=7 format=3 uid="uid://c87easb8570vd"]
2024-04-16 20:29:45 -04:00
[ext_resource type="PhysicsMaterial" uid="uid://c5tm7od8mwjjb" path="res://elastic.tres" id="1_1oplx"]
[ext_resource type="Script" path="res://Shield.gd" id="2_q7qjq"]
[ext_resource type="Texture2D" uid="uid://xq1dd6w22i6f" path="res://Hexagon outline.png" id="2_x53yb"]
2024-04-18 19:45:52 -04:00
[ext_resource type="SpriteFrames" uid="uid://6oj6l7lnsjhi" path="res://exagon.gif" id="4_cfpay"]
2024-04-20 09:45:17 -04:00
[ext_resource type="AudioStream" uid="uid://b73ik24u615jc" path="res://phaserDown1.ogg" id="5_8ceda"]
2024-04-16 20:29:45 -04:00
[sub_resource type="CircleShape2D" id="CircleShape2D_evq3y"]
radius = 25.0
[node name="Exagon" type="Node2D"]
[node name="Shield" type="StaticBody2D" parent="." groups=["destructible"]]
collision_layer = 2
collision_mask = 2
physics_material_override = ExtResource("1_1oplx")
script = ExtResource("2_q7qjq")
[node name="Sprite" type="Sprite2D" parent="Shield"]
self_modulate = Color(0.529412, 0.819608, 1, 0.27451)
texture = ExtResource("2_x53yb")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Shield"]
position = Vector2(13, 194)
polygon = PackedVector2Array(-13, -443, 204, -317, 206, -69, -12, 57, -231, -71, -231, -316)
2024-04-20 09:45:17 -04:00
[node name="PowerDownFX" type="AudioStreamPlayer2D" parent="Shield"]
stream = ExtResource("5_8ceda")
pitch_scale = 0.95
2024-04-16 20:29:45 -04:00
[node name="Generator" type="StaticBody2D" parent="."]
2024-04-18 19:45:52 -04:00
[node name="Sprite" type="AnimatedSprite2D" parent="Generator"]
texture_filter = 1
position = Vector2(-0.500002, 0.500002)
scale = Vector2(1.59375, 1.59375)
sprite_frames = ExtResource("4_cfpay")
animation = &"gif"
autoplay = "gif"
frame_progress = 0.425841
2024-04-16 20:29:45 -04:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Generator"]
shape = SubResource("CircleShape2D_evq3y")