Lessons/tutorial---basic-player-traits/player.tscn
axel 44b1fc1fc8 Helen LIIIIIIIVVVVESSSS!
Godot Project created
added Hitbox, Grazebox and movement
created asset for player and player bullets
2024-10-17 18:09:14 -07:00

38 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://dn6vstynf4qyu"]
[ext_resource type="Script" path="res://player.gd" id="1_ro1ml"]
[ext_resource type="Texture2D" uid="uid://cxbou1xqm7udc" path="res://assets/LowQualityHelen.png" id="2_ertgi"]
[sub_resource type="SpriteFrames" id="SpriteFrames_77x2a"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_ertgi")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_emqsv"]
radius = 57.85
[sub_resource type="CircleShape2D" id="CircleShape2D_tnmln"]
radius = 18.63
[node name="Player" type="Area2D"]
script = ExtResource("1_ro1ml")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(4, 0)
sprite_frames = SubResource("SpriteFrames_77x2a")
[node name="GrazeBox" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource("CircleShape2D_emqsv")
[node name="KillBox" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_tnmln")
debug_color = Color(0.966315, 0, 0.481295, 0.42)