diff options
Diffstat (limited to 'Player.tscn')
| -rw-r--r-- | Player.tscn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Player.tscn b/Player.tscn new file mode 100644 index 0000000..1ab64f3 --- /dev/null +++ b/Player.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Assets/icon.png" type="Texture" id=1] +[ext_resource path="res://Player.gd" type="Script" id=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 32, 32 ) + +[node name="Player" type="KinematicBody2D"] +script = ExtResource( 2 ) +GRAVITY = 1500.0 +JUMP_FORCE = 500.0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 1 ) |
