ape-ame/riangle.tscn

51 lines
1.7 KiB
Text
Raw Normal View History

2024-04-24 14:57:29 -04:00
[gd_scene load_steps=5 format=3 uid="uid://yu50iyftoyaj"]
2024-04-16 20:29:45 -04:00
2024-04-18 19:45:52 -04:00
[ext_resource type="SpriteFrames" uid="uid://dt3chppm3qub7" path="res://riangle.gif" id="1_5ndal"]
2024-04-24 14:57:29 -04:00
[ext_resource type="Script" path="res://riangle.gd" id="1_0404b"]
2024-04-16 20:29:45 -04:00
[ext_resource type="Script" path="res://Gun.gd" id="3_kffl0"]
[ext_resource type="PackedScene" uid="uid://c6ybtahxwpukd" path="res://bullet.tscn" id="4_tfncc"]
2024-04-25 15:27:00 -04:00
[node name="Riangle" type="StaticBody2D" groups=["destructible", "enemy"]]
2024-04-16 20:29:45 -04:00
scale = Vector2(0.25, 0.25)
2024-04-24 14:57:29 -04:00
script = ExtResource("1_0404b")
2024-04-16 20:29:45 -04:00
2024-04-18 19:45:52 -04:00
[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-21.5874, 1.58741)
2024-04-16 20:29:45 -04:00
rotation = 1.5708
2024-04-18 19:45:52 -04:00
scale = Vector2(5.50033, 5.50033)
sprite_frames = ExtResource("1_5ndal")
animation = &"gif"
autoplay = "gif"
frame_progress = 0.383366
speed_scale = 2.0
2024-04-16 20:29:45 -04:00
[node name="Gun2" type="Marker2D" parent="."]
position = Vector2(-224, 284)
rotation = 2.0944
script = ExtResource("3_kffl0")
bullet = ExtResource("4_tfncc")
[node name="Gun3" type="Marker2D" parent="."]
position = Vector2(-224, -284)
rotation = 4.18879
script = ExtResource("3_kffl0")
bullet = ExtResource("4_tfncc")
[node name="Gun" type="Marker2D" parent="."]
position = Vector2(272, 0)
script = ExtResource("3_kffl0")
bullet = ExtResource("4_tfncc")
[node name="Timer" type="Timer" parent="."]
autostart = true
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2(-8, 0)
polygon = PackedVector2Array(-80, -104, 100, 0, -80, 104)
2024-04-24 14:57:29 -04:00
[connection signal="timeout" from="Timer" to="." method="destroy"]
2024-04-16 20:29:45 -04:00
[connection signal="timeout" from="Timer" to="Gun2" method="shoot"]
[connection signal="timeout" from="Timer" to="Gun3" method="shoot"]
[connection signal="timeout" from="Timer" to="Gun" method="shoot"]