19 lines
529 B
Plaintext
19 lines
529 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Assets/Player/player.png" type="Texture" id=1]
|
|
[ext_resource path="res://Player.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 3, 8 )
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 0, -16 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 0, -8 )
|
|
shape = SubResource( 1 )
|