123456789101112131415161718192021222324252627282930313233343536373839404142 |
- [gd_scene load_steps=8 format=2]
- [ext_resource path="res://Player.gd" type="Script" id=1]
- [ext_resource path="res://dodge_assets/art/playerGrey_walk1.png" type="Texture" id=2]
- [ext_resource path="res://dodge_assets/art/playerGrey_walk2.png" type="Texture" id=3]
- [ext_resource path="res://dodge_assets/art/playerGrey_up1.png" type="Texture" id=4]
- [ext_resource path="res://dodge_assets/art/playerGrey_up2.png" type="Texture" id=5]
- [sub_resource type="SpriteFrames" id=1]
- animations = [ {
- "frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
- "loop": true,
- "name": "right",
- "speed": 5.0
- }, {
- "frames": [ ExtResource( 4 ), ExtResource( 5 ) ],
- "loop": true,
- "name": "up",
- "speed": 5.0
- } ]
- [sub_resource type="CircleShape2D" id=2]
- radius = 15.9444
- [node name="Player" type="Area2D"]
- script = ExtResource( 1 )
- __meta__ = {
- "_edit_group_": true
- }
- [node name="AnimatedSprite" type="AnimatedSprite" parent="."]
- scale = Vector2( 0.5, 0.5 )
- frames = SubResource( 1 )
- animation = "up"
- __meta__ = {
- "_edit_group_": true
- }
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- position = Vector2( 0, -6.70612 )
- shape = SubResource( 2 )
- [connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
|