37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
[gd_scene format=3 uid="uid://d3jw2bvkr8ahq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://nwj4n7if8kqd" path="res://Art/circle25r.png" id="1_bdrbe"]
|
|
[ext_resource type="Script" uid="uid://hcna8x41gtkq" path="res://Pegs/NeutralPeg.cs" id="1_vrgbl"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_7k104"]
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_4gyqm"]
|
|
radius = 12.5
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_6w6fg"]
|
|
radius = 12.5
|
|
|
|
[node name="NeutralPeg" type="StaticBody2D" unique_id=1417697759]
|
|
input_pickable = true
|
|
physics_material_override = SubResource("PhysicsMaterial_7k104")
|
|
script = ExtResource("1_vrgbl")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1762191899]
|
|
shape = SubResource("CircleShape2D_4gyqm")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1941012605]
|
|
texture_filter = 1
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("1_bdrbe")
|
|
|
|
[node name="Actions" type="Node2D" parent="." unique_id=2023031702]
|
|
|
|
[node name="HoverBounds" type="Area2D" parent="." unique_id=937525982]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HoverBounds" unique_id=2142666816]
|
|
shape = SubResource("CircleShape2D_6w6fg")
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
|
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|