2020-08-17 14:37:07 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://images/game1/player.tres" type="SpriteFrames" id=1]
|
2020-08-17 14:37:07 +02:00
|
|
|
[ext_resource path="res://scripts/game1/PlayerController.gd" type="Script" id=2]
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
2020-08-19 11:56:10 +02:00
|
|
|
extents = Vector2( 10, 4.5 )
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[node name="Player" type="RigidBody2D"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( 1, -1 )
|
2020-08-17 12:15:41 +02:00
|
|
|
mode = 2
|
|
|
|
gravity_scale = 0.0
|
2020-08-19 18:59:29 +02:00
|
|
|
sleeping = true
|
2020-08-17 14:37:07 +02:00
|
|
|
linear_damp = 25.0
|
|
|
|
script = ExtResource( 2 )
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2020-08-19 11:56:10 +02:00
|
|
|
position = Vector2( 0, 0.5 )
|
2020-08-17 12:15:41 +02:00
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="Sprite" type="AnimatedSprite" parent="."]
|
|
|
|
frames = ExtResource( 1 )
|