-
Notifications
You must be signed in to change notification settings - Fork 1
/
Player.tscn
55 lines (41 loc) · 1.33 KB
/
Player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 12.5697, 49.9986 )
[node name="Player" type="KinematicBody2D"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
_sections_unfolded = [ "Transform" ]
max_speed = 600
velocity = Vector2( 0, 0 )
margin = Vector2( 10, 5 )
disabled = false
action_up = "p1_up"
action_down = "p1_down"
[node name="Polygon2D" type="Polygon2D" parent="." index="0"]
polygon = PoolVector2Array( 0, 0, 25, 0, 25, 100, 0, 100 )
uv = PoolVector2Array( )
color = Color( 0.902344, 0.902344, 0.902344, 1 )
vertex_colors = PoolColorArray( )
offset = Vector2( -12.5, -50 )
antialiased = false
texture = null
texture_offset = Vector2( 0, 0 )
texture_scale = Vector2( 1, 1 )
texture_rotation_degrees = 0.0
invert_enable = false
invert_border = 100.0
_sections_unfolded = [ "Transform" ]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
shape = SubResource( 1 )
_sections_unfolded = [ "Transform" ]
[node name="BounceTimer" type="Timer" parent="." index="2"]
process_mode = 1
wait_time = 0.1
one_shot = false
autostart = false
[connection signal="timeout" from="BounceTimer" to="." method="_on_Timer_timeout"]