eye is now centered

This commit is contained in:
pennyrigate 2023-08-23 19:11:22 -04:00
parent 362ff7f6ee
commit 62e6e23d94

View file

@ -37,7 +37,7 @@ radius = 2.66902
height = 10.9959 height = 10.9959
[sub_resource type="PhysicsMaterial" id=4] [sub_resource type="PhysicsMaterial" id=4]
bounce = 1.0 bounce = 0.9
[sub_resource type="CircleShape2D" id=3] [sub_resource type="CircleShape2D" id=3]
radius = 6.0 radius = 6.0
@ -157,18 +157,18 @@ rotation = 0.294044
shape = SubResource( 20 ) shape = SubResource( 20 )
[node name="Eye" type="RigidBody2D" parent="."] [node name="Eye" type="RigidBody2D" parent="."]
position = Vector2( 5, 15 )
physics_material_override = SubResource( 4 ) physics_material_override = SubResource( 4 )
script = ExtResource( 16 ) script = ExtResource( 16 )
[node name="DeathSplatter" parent="Eye" instance=ExtResource( 1 )] [node name="DeathSplatter" parent="Eye" instance=ExtResource( 1 )]
position = Vector2( 6, 9 ) position = Vector2( 1, -6 )
[node name="Sprite" type="Sprite" parent="Eye"] [node name="Sprite" type="Sprite" parent="Eye"]
position = Vector2( 26, 27 ) position = Vector2( 21, 12 )
texture = ExtResource( 6 ) texture = ExtResource( 6 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Eye"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Eye"]
position = Vector2( 5, 15 )
shape = SubResource( 3 ) shape = SubResource( 3 )
[node name="Eyestalk" type="RigidBody2D" parent="."] [node name="Eyestalk" type="RigidBody2D" parent="."]