Browse Source

Remplace l'aspect de la capsule

DricomDragon 11 months ago
parent
commit
8ad6d13e30

+ 3 - 3
godot/composants/objets/capsule/capsule.tscn

@@ -1,7 +1,7 @@
 [gd_scene load_steps=4 format=3 uid="uid://byxjroc2wrbgg"]
 
 [ext_resource type="Script" path="res://composants/objets/capsule/capsule.gd" id="1_so3qe"]
-[ext_resource type="Texture2D" uid="uid://chi8i5odmp41w" path="res://icon.svg" id="2_pwcvv"]
+[ext_resource type="Texture2D" uid="uid://b5vmhiqybeilg" path="res://composants/objets/capsule/capsule_fracassante.png" id="2_e7hdn"]
 
 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_58m61"]
 radius = 7.0
@@ -12,8 +12,8 @@ script = ExtResource("1_so3qe")
 
 [node name="Image" type="Sprite2D" parent="."]
 position = Vector2(1, 1)
-scale = Vector2(0.218, 0.109)
-texture = ExtResource("2_pwcvv")
+scale = Vector2(0.933333, 0.875)
+texture = ExtResource("2_e7hdn")
 centered = false
 
 [node name="ZoneActivation" type="Area2D" parent="."]

BIN
godot/composants/objets/capsule/capsule_fracassante.png


+ 34 - 0
godot/composants/objets/capsule/capsule_fracassante.png.import

@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://b5vmhiqybeilg"
+path="res://.godot/imported/capsule_fracassante.png-d520faebfe0d6ae4b9592746257b7bff.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://composants/objets/capsule/capsule_fracassante.png"
+dest_files=["res://.godot/imported/capsule_fracassante.png-d520faebfe0d6ae4b9592746257b7bff.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1