[gd_scene load_steps=5 format=2]

[ext_resource path="res://Character.gd" type="Script" id=1]
[ext_resource path="res://Hook.tscn" type="PackedScene" id=2]

[sub_resource type="PhysicsMaterial" id=1]
friction = 0.5

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 30, 30 )

[node name="Character" type="RigidBody2D"]
physics_material_override = SubResource( 1 )
gravity_scale = 8.5
contacts_reported = 1
contact_monitor = true
can_sleep = false
linear_damp = 1.25
script = ExtResource( 1 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -30 )
shape = SubResource( 2 )

[node name="Hook" parent="." instance=ExtResource( 2 )]
position = Vector2( 0, -30 )
force = 1200.0

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 0, -160 )
current = true
drag_margin_h_enabled = false
drag_margin_v_enabled = false

[node name="JustAiredTimer" type="Timer" parent="."]
wait_time = 0.15
one_shot = true

