2020-10-03 16:46:14 +00:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-10-03 01:20:01 +00:00
|
|
|
|
2020-10-03 17:03:53 +00:00
|
|
|
[ext_resource path="res://Sprites/player_danny_devito.png" type="Texture" id=1]
|
2020-10-03 16:46:14 +00:00
|
|
|
[ext_resource path="res://Scripts/Player.gd" type="Script" id=2]
|
2020-10-03 01:20:01 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
2020-10-03 17:03:53 +00:00
|
|
|
extents = Vector2( 20, 20 )
|
2020-10-03 01:20:01 +00:00
|
|
|
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
|
|
|
collision_layer = 2
|
2020-10-03 16:46:14 +00:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
gravity = Vector2( 0, 10 )
|
|
|
|
move_speed = 300.0
|
|
|
|
jump_speed = 500.0
|
|
|
|
jump_buffer_msec = 64.0
|
2020-10-03 01:20:01 +00:00
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|