ape-ame/entagon.tscn

29 lines
1 KiB
Text
Raw Normal View History

2024-04-18 19:45:52 -04:00
[gd_scene load_steps=4 format=3 uid="uid://c54oi61t8bvtu"]
2024-04-16 20:29:45 -04:00
[ext_resource type="Script" path="res://Entagon.gd" id="1_726g8"]
[ext_resource type="PhysicsMaterial" uid="uid://c5tm7od8mwjjb" path="res://elastic.tres" id="1_pvpk5"]
2024-04-18 19:45:52 -04:00
[ext_resource type="SpriteFrames" uid="uid://cffqo7q1ofatc" path="res://entagon.gif" id="3_116st"]
2024-04-16 20:29:45 -04:00
[node name="Entagon" type="RigidBody2D"]
physics_material_override = ExtResource("1_pvpk5")
gravity_scale = 1.66533e-16
max_contacts_reported = 2
contact_monitor = true
linear_damp = 0.1
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)
sprite_frames = ExtResource("3_116st")
animation = &"gif"
autoplay = "gif"
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
[connection signal="body_entered" from="." to="." method="hit"]