Envie/Player/player.tscn

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-01-14 15:04:44 -05:00
[gd_scene load_steps=5 format=3 uid="uid://b62h0w8gjm6tj"]
[ext_resource type="Script" path="res://Player/player.gd" id="1_mbyc2"]
2023-01-14 17:14:55 -05:00
[ext_resource type="Texture2D" uid="uid://wkeakqjvu3gg" path="res://Sprites/dingo_jam_mc_front_64.png" id="2_ae25p"]
2023-01-14 15:04:44 -05:00
[sub_resource type="SpriteFrames" id="SpriteFrames_mqbrd"]
animations = [{
"frames": [{
"duration": 1.0,
2023-01-14 17:14:55 -05:00
"texture": ExtResource("2_ae25p")
2023-01-14 15:04:44 -05:00
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ng5bv"]
size = Vector2(64, 64)
[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_mbyc2")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource("SpriteFrames_mqbrd")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ng5bv")
2023-01-14 17:14:55 -05:00
[node name="Camera2D" type="Camera2D" parent="."]
current = true
[node name="RayCast2D" type="RayCast2D" parent="."]
target_position = Vector2(2000, 0)
[node name="Line2D" type="Line2D" parent="RayCast2D"]
points = PackedVector2Array(0, 0, 2000, 0)
width = 5.0
default_color = Color(1, 0, 0, 0.392157)