24 lines
575 B
Plaintext
24 lines
575 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
|
[ext_resource path="res://textures/player.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
|
position = Vector2( 100, 100 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="PlayerTexture" type="TextureRect" parent="."]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
texture = ExtResource( 2 )
|
|
expand = true
|
|
|
|
[node name="PlayerCollision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|