crabs-game/scenes/game1/opening2_player.tscn
2020-08-19 11:56:10 +02:00

22 lines
612 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://images/game1/player.tres" type="SpriteFrames" id=1]
[ext_resource path="res://scripts/game1/PlayerController.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 10, 4.5 )
[node name="Player" type="RigidBody2D"]
position = Vector2( 1, -1 )
mode = 2
gravity_scale = 0.0
linear_damp = 25.0
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 0.5 )
shape = SubResource( 1 )
[node name="Sprite" type="AnimatedSprite" parent="."]
frames = ExtResource( 1 )