2020-10-04 15:29:28 +00:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2020-10-04 13:34:50 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Sprites/saw.png" type="Texture" id=1]
|
2020-10-04 14:35:24 +00:00
|
|
|
[ext_resource path="res://Objects/ScrollingObjects/Buzzsaw.gd" type="Script" id=2]
|
2020-10-04 15:29:28 +00:00
|
|
|
[ext_resource path="res://Objects/ScrollingObjects/Utilities/ConveyorScrollParent.tscn" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://Objects/ScrollingObjects/Utilities/WrapParent.tscn" type="PackedScene" id=4]
|
|
|
|
|
2020-10-04 13:34:50 +00:00
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
|
|
radius = 71.9263
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id=2]
|
|
|
|
resource_name = "SpinClockwise"
|
|
|
|
loop = true
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("Sprite:rotation_degrees")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PoolRealArray( 0, 1 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ 0.0, 360.0 ]
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Buzzsaw" type="Area2D"]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
2020-10-04 15:29:28 +00:00
|
|
|
rotation = 3.58744
|
2020-10-04 13:34:50 +00:00
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
anims/SpinClockwise = SubResource( 2 )
|
2020-10-04 14:35:24 +00:00
|
|
|
|
|
|
|
[node name="ConveyorScrollParent" parent="." instance=ExtResource( 3 )]
|
2020-10-04 15:29:28 +00:00
|
|
|
|
|
|
|
[node name="WrapParent" parent="." instance=ExtResource( 4 )]
|
|
|
|
position = Vector2( 80, 0 )
|