Skip to content

Commit e95703c

Browse files
committed
feat: sprite do player foi alterado para utilizar o cavaleiro parado por padrao
1 parent 84fd1b7 commit e95703c

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
lines changed
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
11
[gd_scene load_steps=4 format=3 uid="uid://bgowra4ubjdnq"]
22

33
[ext_resource type="Script" uid="uid://de61d5m60vonw" path="res://Src/Modules/Player/Scripts/Player.cs" id="1_d6hpj"]
4-
[ext_resource type="Texture2D" uid="uid://cld63q5s143di" path="res://icon.svg" id="2_y2y0i"]
4+
[ext_resource type="Texture2D" uid="uid://du7cgbk1wqk0g" path="res://Src/Modules/Player/Textures/Idle.png" id="2_d6hpj"]
55

6-
[sub_resource type="CircleShape2D" id="CircleShape2D_mmth5"]
6+
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_d6hpj"]
7+
radius = 7.14286
8+
height = 14.2857
79

810
[node name="Player" type="CharacterBody2D"]
911
physics_interpolation_mode = 1
1012
script = ExtResource("1_d6hpj")
1113
_speed = 200.0
1214

1315
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
14-
shape = SubResource("CircleShape2D_mmth5")
16+
position = Vector2(8, 8)
17+
scale = Vector2(0.7, 0.7)
18+
shape = SubResource("CapsuleShape2D_d6hpj")
1519

1620
[node name="Sprite2D" type="Sprite2D" parent="."]
17-
scale = Vector2(0.113281, 0.117188)
18-
texture = ExtResource("2_y2y0i")
21+
position = Vector2(8, 8)
22+
scale = Vector2(1, 1)
23+
texture = ExtResource("2_d6hpj")
1924

2025
[node name="Camera2D" type="Camera2D" parent="."]
2126
physics_interpolation_mode = 1
22-
zoom = Vector2(2, 2)
27+
position = Vector2(8, 8)
28+
zoom = Vector2(2.6, 2.6)
2329
process_callback = 0
2430
position_smoothing_enabled = true
279 Bytes
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://du7cgbk1wqk0g"
6+
path="res://.godot/imported/Idle.png-59e0bddc4cf3bca14482cc4b8546ec95.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://Src/Modules/Player/Textures/Idle.png"
14+
dest_files=["res://.godot/imported/Idle.png-59e0bddc4cf3bca14482cc4b8546ec95.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

0 commit comments

Comments
 (0)