1.1/Add trap

This commit is contained in:
2026-05-28 08:51:08 -03:00
parent b8442324fa
commit b0ced7a793
37 changed files with 6522 additions and 40 deletions
File diff suppressed because one or more lines are too long
+14 -8
View File
@@ -3,7 +3,7 @@ extends CharacterBody3D
const SPEED:= 300.0 const SPEED:= 300.0
const JUMP_VELOCITY:= 10.0 const JUMP_VELOCITY:= 10.0
var Executed = false
@onready var animator = get_node("gobot_new/AnimationPlayer") @onready var animator = get_node("gobot_new/AnimationPlayer")
@onready var hud_container: HBoxContainer = $hud/Hud_container @onready var hud_container: HBoxContainer = $hud/Hud_container
@@ -29,10 +29,7 @@ var is_dead := false
func verfy_life():
if health == 0:
is_dead = true
@@ -122,6 +119,15 @@ func collect_coin():
coins += 1 coins += 1
hud_container.update_coin(coins) hud_container.update_coin(coins)
func damage_player(amount: int): func damage(amount: int):
health -= amount if not Executed:
verfy_life() health -= amount
verify_life()
Executed = true
await get_tree().create_timer(1.0).timeout
Executed = false
func verify_life():
if health == 0:
is_dead = true
+15
View File
@@ -0,0 +1,15 @@
extends MeshInstance3D
@export var damage_trap := 1
var Execute:= false
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
func _on_area_3d_body_entered(body: Node3D) -> void:
while Execute ==false:
body.damage(damage_trap)
Execute = true
await get_tree().create_timer(1.0).timeout
Execute = false
+1
View File
@@ -0,0 +1 @@
uid://cyf2dpymwq3qh
+16
View File
@@ -0,0 +1,16 @@
extends MeshInstance3D
var dead:= false
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_area_3d_body_entered(body: Node3D) -> void:
print(body.name)
+1
View File
@@ -0,0 +1 @@
uid://by3rc8i42d8iu
Binary file not shown.
@@ -0,0 +1,22 @@
# Blender 4.1.0 MTL File: 'break_pieces.blend'
# www.blender.org
newmtl wood.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.723051 0.246202 0.078187
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
newmtl woodDark.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.351531 0.122139 0.040915
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://cmxf4bppbbuf3"
path="res://.godot/imported/break_pieces.obj-ed6ef762054edc105402edc983a40547.mesh"
[deps]
files=["res://.godot/imported/break_pieces.obj-ed6ef762054edc105402edc983a40547.mesh"]
source_file="res://test/assets/addons/caixa/extras/break_pieces.obj"
dest_files=["res://.godot/imported/break_pieces.obj-ed6ef762054edc105402edc983a40547.mesh", "res://.godot/imported/break_pieces.obj-ed6ef762054edc105402edc983a40547.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false
@@ -0,0 +1,22 @@
# Blender 4.1.0 MTL File: 'break_pieces.blend'
# www.blender.org
newmtl wood.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.723051 0.246202 0.078187
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
newmtl woodDark.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.351531 0.122139 0.040915
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://68pbraju6q62"
path="res://.godot/imported/break_pieces02.obj-45bf26e3904c36fbbc83ff10efc488d4.mesh"
[deps]
files=["res://.godot/imported/break_pieces02.obj-45bf26e3904c36fbbc83ff10efc488d4.mesh"]
source_file="res://test/assets/addons/caixa/extras/break_pieces02.obj"
dest_files=["res://.godot/imported/break_pieces02.obj-45bf26e3904c36fbbc83ff10efc488d4.mesh", "res://.godot/imported/break_pieces02.obj-45bf26e3904c36fbbc83ff10efc488d4.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false
@@ -0,0 +1,22 @@
# Blender 4.1.0 MTL File: 'break_pieces.blend'
# www.blender.org
newmtl wood.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.723051 0.246202 0.078187
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
newmtl woodDark.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.351531 0.122139 0.040915
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://b3rm12kmexhlw"
path="res://.godot/imported/break_pieces03.obj-36810d8fd586a47a769897f30235e5ac.mesh"
[deps]
files=["res://.godot/imported/break_pieces03.obj-36810d8fd586a47a769897f30235e5ac.mesh"]
source_file="res://test/assets/addons/caixa/extras/break_pieces03.obj"
dest_files=["res://.godot/imported/break_pieces03.obj-36810d8fd586a47a769897f30235e5ac.mesh", "res://.godot/imported/break_pieces03.obj-36810d8fd586a47a769897f30235e5ac.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false
@@ -0,0 +1,22 @@
# Blender 4.1.0 MTL File: 'break_pieces.blend'
# www.blender.org
newmtl wood.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.723051 0.246202 0.078187
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
newmtl woodDark.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.351531 0.122139 0.040915
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://chjf62v6f8o2e"
path="res://.godot/imported/break_pieces04.obj-621c9b48678995a862616c80aaa5e94f.mesh"
[deps]
files=["res://.godot/imported/break_pieces04.obj-621c9b48678995a862616c80aaa5e94f.mesh"]
source_file="res://test/assets/addons/caixa/extras/break_pieces04.obj"
dest_files=["res://.godot/imported/break_pieces04.obj-621c9b48678995a862616c80aaa5e94f.mesh", "res://.godot/imported/break_pieces04.obj-621c9b48678995a862616c80aaa5e94f.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false
@@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dpfl6e3ivjnqf"]
[resource]
diffuse_mode = 3
specular_mode = 1
albedo_color = Color(0.627451, 0.384314, 0.223529, 1)
roughness = 0.03
ao_light_affect = 1.0
Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ci3yp1i3qxev8"
path="res://.godot/imported/gobot.png-521ba3bbca4ba7736a0973976cf7a222.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/assets/addons/caixa/extras/gobot.png"
dest_files=["res://.godot/imported/gobot.png-521ba3bbca4ba7736a0973976cf7a222.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dolmq7f8kkce1"
path="res://.godot/imported/gobot_icon.png-47e29ad47030ae6e1c0c4a9b2064fc24.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/assets/addons/caixa/extras/gobot_icon.png"
dest_files=["res://.godot/imported/gobot_icon.png-47e29ad47030ae6e1c0c4a9b2064fc24.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ddefc1h3up6aa"
path="res://.godot/imported/gradient-5.png-0ebf8bfcab0d22229bea7d4a54eaa021.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/assets/addons/caixa/extras/gradient-5.png"
dest_files=["res://.godot/imported/gradient-5.png-0ebf8bfcab0d22229bea7d4a54eaa021.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
@@ -0,0 +1,7 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bwswvrsviiitw"]
[resource]
diffuse_mode = 3
specular_mode = 1
albedo_color = Color(0.866667, 0.533333, 0.309804, 1)
roughness = 0.05
@@ -0,0 +1,141 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.1.62",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"mushroom",
"translation":[
0,
-0.03771442174911499,
0
]
}
],
"materials":[
{
"doubleSided":true,
"name":"Material.001",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"Mesh",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"gradient-5",
"uri":"gradient-5.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":730,
"max":[
0.9342317581176758,
1.8263678550720215,
0.9342317581176758
],
"min":[
-0.9342318773269653,
0.00722842151299119,
-0.9342318773269653
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":730,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":730,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":3840,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":8760,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8760,
"byteOffset":8760,
"target":34962
},
{
"buffer":0,
"byteLength":5840,
"byteOffset":17520,
"target":34962
},
{
"buffer":0,
"byteLength":7680,
"byteOffset":23360,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":31040,
"uri":"mushpad.bin"
}
]
}
@@ -0,0 +1,41 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://4yn4rbqsxc08"
valid=false
[deps]
source_file="res://test/assets/addons/caixa/extras/mushpad.gltf"
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
@@ -0,0 +1,22 @@
# Blender 4.1.0 MTL File: 'break_pieces.blend'
# www.blender.org
newmtl wood.002
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.723055 0.246201 0.078187
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
newmtl woodDark.002
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.351533 0.122139 0.040915
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
@@ -0,0 +1,697 @@
# Blender 4.1.0
# www.blender.org
mtllib new_crate.mtl
o crate
v 0.085308 0.177011 0.200000
v -0.170615 -0.078911 0.200000
v -0.170615 0.177011 0.200000
v -0.085308 -0.193604 0.170615
v 0.170615 -0.193604 0.170615
v 0.170615 -0.193604 -0.085308
v 0.200000 -0.164219 -0.170615
v 0.200000 -0.164219 0.085308
v 0.200000 0.091704 -0.170615
v -0.170615 -0.164219 -0.200000
v 0.085308 -0.164219 -0.200000
v -0.170615 0.091704 -0.200000
v -0.200000 0.091704 0.170615
v -0.200000 -0.164219 0.170615
v -0.200000 -0.164219 -0.085308
v 0.170615 -0.164219 0.200000
v -0.085308 -0.164219 0.200000
v 0.170615 0.091704 0.200000
v -0.200000 0.177011 -0.170615
v -0.200000 0.177011 0.085308
v -0.200000 -0.078911 -0.170615
v 0.200000 -0.078911 0.170615
v 0.200000 0.177011 0.170615
v 0.200000 0.177011 -0.085308
v -0.170615 0.206396 0.085308
v -0.170615 0.206396 -0.170615
v 0.085308 0.206396 -0.170615
v -0.085308 0.177011 -0.200000
v 0.170615 -0.078911 -0.200000
v 0.170615 0.177011 -0.200000
v 0.170615 0.206396 0.170615
v -0.085308 0.206396 0.170615
v 0.170615 0.206396 -0.085308
v -0.170615 -0.193604 -0.170615
v -0.170615 -0.193604 0.085308
v 0.085308 -0.193604 -0.170615
v -0.170615 -0.164219 0.250000
v -0.170615 0.177011 0.250000
v -0.170615 -0.164219 0.225000
v -0.170615 -0.078911 0.225000
v -0.170615 0.177011 0.200000
v -0.170615 -0.078911 0.200000
v 0.225000 -0.164219 0.170615
v 0.225000 -0.164219 0.085308
v 0.250000 -0.164219 0.170615
v 0.250000 -0.164219 -0.170615
v 0.200000 -0.164219 -0.170615
v 0.200000 -0.164219 0.085308
v -0.170615 -0.218604 0.085308
v -0.170615 -0.218604 0.170615
v 0.085308 -0.218604 -0.170615
v -0.085308 -0.218604 0.170615
v 0.170615 -0.218604 -0.085308
v 0.170615 -0.218604 -0.170615
v 0.170615 0.206396 -0.085308
v -0.085308 0.206396 0.170615
v 0.170615 0.231396 -0.085308
v -0.085308 0.231396 0.170615
v -0.170615 0.206396 0.085308
v -0.170615 0.231396 0.085308
v -0.170615 0.206396 -0.170615
v -0.170615 0.256396 -0.170615
v -0.170615 0.256396 0.170615
v -0.170615 0.231396 0.170615
v 0.170615 0.231396 -0.170615
v 0.085308 0.231396 -0.170615
v 0.170615 0.256396 -0.170615
v -0.170615 0.256396 -0.170615
v -0.170615 0.206396 -0.170615
v 0.085308 0.206396 -0.170615
v 0.085308 0.177011 0.225000
v -0.170615 -0.078911 0.225000
v 0.085308 0.177011 0.200000
v -0.170615 -0.078911 0.200000
v -0.170615 0.231396 0.170615
v -0.170615 0.231396 0.085308
v -0.085308 0.231396 0.170615
v 0.085308 0.231396 -0.170615
v 0.170615 0.231396 -0.085308
v 0.170615 0.231396 -0.170615
v 0.170615 -0.218604 -0.085308
v -0.085308 -0.218604 0.170615
v 0.170615 -0.193604 -0.085308
v -0.085308 -0.193604 0.170615
v -0.200000 -0.164219 -0.085308
v -0.225000 -0.164219 -0.085308
v -0.200000 0.091704 0.170615
v -0.225000 0.091704 0.170615
v -0.225000 -0.078911 -0.170615
v -0.200000 -0.078911 -0.170615
v -0.225000 0.177011 0.085308
v -0.200000 0.177011 0.085308
v -0.170615 0.177011 -0.250000
v -0.170615 0.177011 -0.225000
v 0.170615 0.177011 -0.250000
v -0.085308 0.177011 -0.225000
v -0.085308 0.177011 -0.200000
v 0.170615 0.177011 -0.200000
v -0.225000 0.177011 0.170615
v -0.225000 0.091704 0.170615
v -0.225000 0.177011 0.085308
v -0.225000 -0.164219 -0.085308
v -0.225000 -0.078911 -0.170615
v -0.225000 -0.164219 -0.170615
v 0.225000 0.177011 -0.170615
v 0.225000 0.177011 -0.085308
v 0.250000 0.177011 -0.170615
v 0.250000 0.177011 0.170615
v 0.200000 0.177011 0.170615
v 0.200000 0.177011 -0.085308
v 0.170615 0.177011 0.250000
v 0.170615 -0.164219 0.250000
v 0.170615 0.177011 0.225000
v 0.170615 0.091704 0.225000
v 0.170615 -0.164219 0.200000
v 0.170615 0.091704 0.200000
v 0.170615 0.177011 -0.200000
v 0.170615 -0.078911 -0.200000
v 0.170615 0.177011 -0.250000
v 0.170615 -0.078911 -0.225000
v 0.170615 -0.164219 -0.225000
v 0.170615 -0.164219 -0.250000
v 0.170615 0.256396 0.170615
v 0.170615 0.206396 0.170615
v 0.170615 0.256396 -0.170615
v 0.170615 0.231396 -0.085308
v 0.170615 0.231396 -0.170615
v 0.170615 0.206396 -0.085308
v -0.170615 -0.164219 0.250000
v -0.170615 -0.164219 0.225000
v 0.170615 -0.164219 0.250000
v -0.085308 -0.164219 0.225000
v -0.085308 -0.164219 0.200000
v 0.170615 -0.164219 0.200000
v -0.170615 -0.243604 0.170615
v -0.170615 -0.218604 0.170615
v -0.170615 -0.243604 -0.170615
v -0.170615 -0.218604 0.085308
v -0.170615 -0.193604 0.085308
v -0.170615 -0.193604 -0.170615
v -0.250000 -0.164219 0.170615
v -0.250000 -0.164219 -0.170615
v -0.200000 -0.164219 0.170615
v -0.225000 -0.164219 -0.085308
v -0.200000 -0.164219 -0.085308
v -0.225000 -0.164219 -0.170615
v -0.250000 -0.164219 0.170615
v -0.200000 -0.164219 0.170615
v -0.250000 0.177011 0.170615
v -0.225000 0.091704 0.170615
v -0.225000 0.177011 0.170615
v -0.200000 0.091704 0.170615
v -0.085308 -0.164219 0.225000
v -0.170615 -0.164219 0.225000
v 0.170615 0.091704 0.225000
v -0.170615 -0.078911 0.225000
v 0.085308 0.177011 0.225000
v 0.170615 0.177011 0.225000
v -0.085308 -0.164219 0.225000
v 0.170615 0.091704 0.225000
v -0.085308 -0.164219 0.200000
v 0.170615 0.091704 0.200000
v 0.250000 -0.164219 -0.170615
v 0.200000 -0.164219 -0.170615
v 0.250000 0.177011 -0.170615
v 0.225000 0.091704 -0.170615
v 0.225000 0.177011 -0.170615
v 0.200000 0.091704 -0.170615
v -0.170615 -0.218604 0.085308
v 0.085308 -0.218604 -0.170615
v -0.170615 -0.193604 0.085308
v 0.085308 -0.193604 -0.170615
v 0.200000 -0.078911 0.170615
v 0.225000 -0.078911 0.170615
v 0.200000 0.177011 0.170615
v 0.250000 0.177011 0.170615
v 0.250000 -0.164219 0.170615
v 0.225000 -0.164219 0.170615
v 0.170615 -0.243604 -0.170615
v -0.170615 -0.243604 -0.170615
v 0.170615 -0.218604 -0.170615
v 0.085308 -0.218604 -0.170615
v -0.170615 -0.193604 -0.170615
v 0.085308 -0.193604 -0.170615
v 0.085308 -0.164219 -0.225000
v 0.170615 -0.164219 -0.225000
v -0.170615 0.091704 -0.225000
v 0.170615 -0.078911 -0.225000
v -0.085308 0.177011 -0.225000
v -0.170615 0.177011 -0.225000
v 0.225000 -0.078911 0.170615
v 0.200000 -0.078911 0.170615
v 0.225000 0.177011 -0.085308
v 0.200000 0.177011 -0.085308
v -0.200000 -0.078911 -0.170615
v -0.225000 -0.078911 -0.170615
v -0.200000 0.177011 -0.170615
v -0.250000 0.177011 -0.170615
v -0.250000 -0.164219 -0.170615
v -0.225000 -0.164219 -0.170615
v -0.170615 0.206396 0.085308
v 0.085308 0.206396 -0.170615
v -0.170615 0.231396 0.085308
v 0.085308 0.231396 -0.170615
v 0.225000 -0.164219 0.170615
v 0.225000 -0.078911 0.170615
v 0.225000 -0.164219 0.085308
v 0.225000 0.177011 -0.085308
v 0.225000 0.091704 -0.170615
v 0.225000 0.177011 -0.170615
v -0.250000 0.177011 -0.170615
v -0.250000 0.177011 0.170615
v -0.200000 0.177011 -0.170615
v -0.225000 0.177011 0.085308
v -0.200000 0.177011 0.085308
v -0.225000 0.177011 0.170615
v -0.170615 -0.164219 -0.200000
v -0.170615 0.091704 -0.200000
v -0.170615 -0.164219 -0.250000
v -0.170615 0.091704 -0.225000
v -0.170615 0.177011 -0.225000
v -0.170615 0.177011 -0.250000
v -0.170615 0.231396 0.170615
v -0.085308 0.231396 0.170615
v -0.170615 0.256396 0.170615
v 0.170615 0.256396 0.170615
v 0.170615 0.206396 0.170615
v -0.085308 0.206396 0.170615
v -0.170615 0.091704 -0.200000
v 0.085308 -0.164219 -0.200000
v -0.170615 0.091704 -0.225000
v 0.085308 -0.164219 -0.225000
v -0.170615 -0.243604 0.170615
v 0.170615 -0.243604 0.170615
v -0.170615 -0.218604 0.170615
v -0.085308 -0.218604 0.170615
v 0.170615 -0.193604 0.170615
v -0.085308 -0.193604 0.170615
v 0.170615 -0.078911 -0.200000
v -0.085308 0.177011 -0.200000
v 0.170615 -0.078911 -0.225000
v -0.085308 0.177011 -0.225000
v 0.170615 -0.193604 0.170615
v 0.170615 -0.243604 0.170615
v 0.170615 -0.193604 -0.085308
v 0.170615 -0.218604 -0.085308
v 0.170615 -0.243604 -0.170615
v 0.170615 -0.218604 -0.170615
v -0.170615 0.177011 0.200000
v -0.170615 0.177011 0.250000
v 0.085308 0.177011 0.200000
v 0.085308 0.177011 0.225000
v 0.170615 0.177011 0.250000
v 0.170615 0.177011 0.225000
v -0.170615 -0.164219 -0.200000
v -0.170615 -0.164219 -0.250000
v 0.085308 -0.164219 -0.200000
v 0.085308 -0.164219 -0.225000
v 0.170615 -0.164219 -0.250000
v 0.170615 -0.164219 -0.225000
v 0.200000 -0.164219 0.085308
v 0.225000 -0.164219 0.085308
v 0.200000 0.091704 -0.170615
v 0.225000 0.091704 -0.170615
v -0.250000 -0.243604 0.250000
v -0.170615 -0.243604 -0.170615
v -0.250000 -0.243604 -0.250000
v 0.250000 -0.243604 -0.250000
v -0.170615 -0.243604 0.170615
v 0.170615 -0.243604 -0.170615
v 0.250000 -0.243604 0.250000
v 0.170615 -0.243604 0.170615
v -0.250000 0.177011 -0.170615
v -0.250000 0.256396 -0.250000
v -0.250000 0.177011 0.170615
v -0.250000 -0.164219 -0.170615
v -0.250000 0.256396 0.250000
v -0.250000 -0.243604 -0.250000
v -0.250000 -0.243604 0.250000
v -0.250000 -0.164219 0.170615
v -0.250000 -0.243604 0.250000
v 0.170615 -0.164219 0.250000
v 0.250000 -0.243604 0.250000
v 0.250000 0.256396 0.250000
v -0.170615 -0.164219 0.250000
v 0.170615 0.177011 0.250000
v -0.250000 0.256396 0.250000
v -0.170615 0.177011 0.250000
v -0.250000 0.256396 -0.250000
v -0.170615 0.256396 0.170615
v -0.250000 0.256396 0.250000
v 0.250000 0.256396 0.250000
v -0.170615 0.256396 -0.170615
v 0.170615 0.256396 0.170615
v 0.250000 0.256396 -0.250000
v 0.170615 0.256396 -0.170615
v 0.250000 -0.243604 -0.250000
v -0.170615 -0.164219 -0.250000
v -0.250000 -0.243604 -0.250000
v -0.250000 0.256396 -0.250000
v 0.170615 -0.164219 -0.250000
v -0.170615 0.177011 -0.250000
v 0.250000 0.256396 -0.250000
v 0.170615 0.177011 -0.250000
v 0.250000 0.256396 0.250000
v 0.250000 -0.164219 0.170615
v 0.250000 -0.243604 0.250000
v 0.250000 -0.243604 -0.250000
v 0.250000 0.177011 0.170615
v 0.250000 -0.164219 -0.170615
v 0.250000 0.256396 -0.250000
v 0.250000 0.177011 -0.170615
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vn 0.7071 -0.0000 0.7071
vn -0.7071 0.7071 -0.0000
vn -0.0000 -0.7071 0.7071
vn -0.0000 0.7071 -0.7071
vn 0.7071 -0.7071 -0.0000
vn -0.7071 -0.0000 -0.7071
vn -0.0000 0.7071 0.7071
vn -0.7071 -0.7071 -0.0000
vn 0.7071 0.7071 -0.0000
vn -0.0000 -0.7071 -0.7071
vt -6.717134 16.559654
vt -6.717134 6.483953
vt 3.358567 16.559654
vt -6.717134 3.358567
vt -6.717130 -6.717134
vt 3.358567 -6.717134
vt 6.717130 13.201087
vt -3.358567 3.125386
vt 6.717130 3.125386
vt 6.717134 13.201087
vt 6.717134 3.125386
vt -6.717130 6.483953
vt -6.717130 16.559654
vt 3.358567 6.717130
vt -6.717134 6.717130
vt -6.717134 -3.358567
vt 6.717134 3.358567
vt -3.358567 -6.717134
vt 6.717130 -6.717134
vt -3.358567 6.717130
vt 6.717134 -3.358567
vt 6.717134 6.717130
vt -8.858268 3.125386
vt -9.842520 16.559654
vt -9.842520 3.125386
vt -8.858268 6.483953
vt -7.874016 16.559654
vt -7.874016 6.483953
vt 9.842520 -6.717134
vt 8.858268 -3.358567
vt 8.858268 -6.717134
vt 9.842520 6.717130
vt 7.874016 6.717130
vt 7.874016 -3.358567
vt 6.717134 -6.717134
vt -6.717130 6.717130
vt 7.124596 18.700787
vt -7.124596 17.716536
vt 7.124596 17.716536
vt -7.124596 18.700787
vt 6.717130 17.716536
vt -3.358567 18.700787
vt -3.358567 17.716536
vt 6.717130 19.685040
vt -6.717134 19.685040
vt -6.717134 18.700787
vt 3.358567 18.700787
vt 6.717130 18.700787
vt -6.717134 17.716536
vt 3.358567 17.716536
vt 7.874016 14.084309
vt 8.858268 -0.164884
vt 8.858268 14.084309
vt 7.874016 -0.164884
vt -6.717134 -6.717134
vt 6.717130 6.717130
vt 7.124596 1.968504
vt -7.124596 0.984252
vt 7.124596 0.984252
vt -7.124596 1.968504
vt -7.874016 14.084309
vt -8.858268 -0.164884
vt -7.874016 -0.164884
vt -8.858268 14.084309
vt 8.858268 14.084311
vt 7.874016 -0.164879
vt 8.858268 -0.164879
vt 7.874016 14.084311
vt -6.717130 9.842520
vt 6.717134 8.858268
vt 6.717134 9.842520
vt 3.358567 8.858268
vt 3.358567 7.874016
vt -6.717130 7.874016
vt 6.717134 16.559654
vt -6.717130 3.125386
vt -9.842520 6.717130
vt -8.858268 3.358567
vt -8.858268 6.717130
vt -9.842520 -6.717134
vt -7.874016 -6.717134
vt -7.874016 3.358567
vt 8.858268 16.559654
vt 9.842520 3.125386
vt 9.842520 16.559654
vt 8.858268 13.201087
vt 7.874016 3.125386
vt 7.874016 13.201087
vt -6.717131 19.685032
vt 6.717133 17.716528
vt 6.717133 19.685032
vt -3.358568 18.700781
vt -6.717131 18.700781
vt -3.358568 17.716528
vt 6.717130 -9.842520
vt -6.717134 -8.858268
vt -6.717134 -9.842520
vt -3.358567 -8.858268
vt -3.358567 -7.874016
vt 6.717130 -7.874016
vt 6.717130 0.000000
vt -6.717134 0.984252
vt -6.717134 0.000000
vt -3.358567 0.984252
vt -3.358567 1.968504
vt 6.717130 1.968504
vt -6.717134 3.125386
vt 6.717130 16.559654
vt -7.874016 -0.164883
vt -8.858268 14.084307
vt -8.858268 -0.164883
vt -7.874016 14.084307
vt 7.124597 1.968504
vt -7.124593 0.984252
vt 7.124597 0.984252
vt -7.124593 1.968504
vt 6.717130 0.984252
vt 3.358567 0.984252
vt -6.717134 1.968504
vt 3.358567 1.968504
vt 7.124597 18.700787
vt -7.124593 17.716536
vt 7.124597 17.716536
vt -7.124593 18.700787
vt 6.717134 19.685040
vt 6.717134 18.700787
vt -6.717130 19.685040
vt -6.717130 17.716536
vt 6.717134 0.984252
vt -6.717130 0.000000
vt 6.717134 0.000000
vt -6.717130 1.968504
vt -3.358568 1.968511
vt 6.717133 0.000007
vt 6.717133 1.968511
vt -3.358568 0.984259
vt -6.717131 0.000007
vt -6.717131 0.984259
vt 6.717134 -9.842520
vt 6.717134 -7.874016
vt -6.717130 -9.842520
vt -6.717130 -8.858268
vt -6.717134 9.842520
vt -6.717134 7.874016
vt 6.717130 9.842520
vt 6.717130 8.858268
vt 9.842520 9.842520
vt 9.842520 -9.842520
vt -9.842520 9.842520
vt -9.842520 -9.842520
vt -9.842520 19.685040
vt 9.842520 19.685040
vt -9.842520 0.000000
vt 9.842520 0.000000
s 0
usemtl woodDark.002
f 3/1/1 2/2/1 1/3/1
f 6/4/2 5/5/2 4/6/2
f 9/7/3 8/8/3 7/9/3
f 12/10/4 11/8/4 10/11/4
f 15/8/5 14/11/5 13/10/5
f 18/7/1 17/8/1 16/9/1
f 21/12/5 20/3/5 19/13/5
f 24/3/3 23/1/3 22/2/3
f 27/14/6 26/15/6 25/16/6
f 30/13/4 29/12/4 28/3/4
f 33/17/6 32/18/6 31/19/6
f 36/20/2 35/21/2 34/22/2
usemtl wood.002
f 39/23/3 38/24/3 37/25/3
f 38/24/3 39/23/3 40/26/3
f 38/24/3 40/26/3 41/27/3
f 41/27/3 40/26/3 42/28/3
f 45/29/6 44/30/6 43/31/6
f 46/32/6 44/30/6 45/29/6
f 47/33/6 44/30/6 46/32/6
f 44/30/6 47/33/6 48/34/6
f 51/20/2 50/35/2 49/21/2
f 50/35/2 51/20/2 52/6/2
f 52/6/2 51/20/2 53/4/2
f 53/4/2 51/20/2 54/36/2
f 57/37/7 56/38/7 55/39/7
f 56/38/7 57/37/7 58/40/7
f 61/41/3 60/42/3 59/43/3
f 62/44/3 60/42/3 61/41/3
f 63/45/3 60/42/3 62/44/3
f 60/42/3 63/45/3 64/46/3
f 67/44/1 66/47/1 65/48/1
f 68/45/1 66/47/1 67/44/1
f 69/49/1 66/47/1 68/45/1
f 66/47/1 69/49/1 70/50/1
f 73/51/8 72/52/8 71/53/8
f 72/52/8 73/51/8 74/54/8
f 77/18/6 76/16/6 75/55/6
f 76/16/6 77/18/6 78/14/6
f 78/14/6 77/18/6 79/17/6
f 78/14/6 79/17/6 80/56/6
s 1
f 83/57/7 82/58/7 81/59/7
f 82/58/7 83/57/7 84/60/7
f 87/61/9 86/62/9 85/63/9
f 86/62/9 87/61/9 88/64/9
s 0
f 91/65/10 90/66/10 89/67/10
f 90/66/10 91/65/10 92/68/10
f 95/69/2 94/70/2 93/71/2
f 94/70/2 95/69/2 96/72/2
f 96/72/2 95/69/2 97/73/2
f 97/73/2 95/69/2 98/74/2
f 101/3/5 100/10/5 99/75/5
f 100/10/5 101/3/5 102/8/5
f 102/8/5 101/3/5 103/12/5
f 102/8/5 103/12/5 104/76/5
f 107/77/2 106/78/2 105/79/2
f 108/80/2 106/78/2 107/77/2
f 109/81/2 106/78/2 108/80/2
f 106/78/2 109/81/2 110/82/2
f 113/83/5 112/84/5 111/85/5
f 112/84/5 113/83/5 114/86/5
f 112/84/5 114/86/5 115/87/5
f 115/87/5 114/86/5 116/88/5
f 119/24/5 118/28/5 117/27/5
f 118/28/5 119/24/5 120/26/5
f 120/26/5 119/24/5 121/23/5
f 121/23/5 119/24/5 122/25/5
f 125/89/5 124/90/5 123/91/5
f 124/90/5 125/89/5 126/92/5
f 126/92/5 125/89/5 127/93/5
f 128/94/5 124/90/5 126/92/5
f 131/95/6 130/96/6 129/97/6
f 130/96/6 131/95/6 132/98/6
f 132/98/6 131/95/6 133/99/6
f 133/99/6 131/95/6 134/100/6
f 137/101/3 136/102/3 135/103/3
f 136/102/3 137/101/3 138/104/3
f 138/104/3 137/101/3 139/105/3
f 139/105/3 137/101/3 140/106/3
f 143/81/6 142/77/6 141/80/6
f 142/77/6 143/81/6 144/78/6
f 144/78/6 143/81/6 145/82/6
f 146/79/6 142/77/6 144/78/6
f 149/85/4 148/87/4 147/84/4
f 148/87/4 149/85/4 150/86/4
f 150/86/4 149/85/4 151/83/4
f 152/88/4 148/87/4 150/86/4
f 155/7/1 154/107/1 153/8/1
f 154/107/1 155/7/1 156/2/1
f 156/2/1 155/7/1 157/3/1
f 157/3/1 155/7/1 158/108/1
f 161/109/11 160/110/11 159/111/11
f 160/110/11 161/109/11 162/112/11
f 165/85/1 164/87/1 163/84/1
f 164/87/1 165/85/1 166/86/1
f 166/86/1 165/85/1 167/83/1
f 168/88/1 164/87/1 166/86/1
f 171/113/12 170/114/12 169/115/12
f 170/114/12 171/113/12 172/116/12
f 175/27/4 174/26/4 173/28/4
f 176/24/4 174/26/4 175/27/4
f 177/25/4 174/26/4 176/24/4
f 174/26/4 177/25/4 178/23/4
f 181/117/1 180/103/1 179/101/1
f 180/103/1 181/117/1 182/118/1
f 180/103/1 182/118/1 183/119/1
f 183/119/1 182/118/1 184/120/1
f 187/10/4 186/76/4 185/8/4
f 186/76/4 187/10/4 188/12/4
f 188/12/4 187/10/4 189/3/4
f 189/3/4 187/10/4 190/75/4
f 193/53/13 192/54/13 191/52/13
f 192/54/13 193/53/13 194/51/13
f 197/27/1 196/26/1 195/28/1
f 198/24/1 196/26/1 197/27/1
f 199/25/1 196/26/1 198/24/1
f 196/26/1 199/25/1 200/23/1
f 203/121/12 202/122/12 201/123/12
f 202/122/12 203/121/12 204/124/12
f 207/8/3 206/2/3 205/107/3
f 206/2/3 207/8/3 208/3/3
f 208/3/3 207/8/3 209/7/3
f 208/3/3 209/7/3 210/108/3
f 213/33/2 212/29/2 211/32/2
f 212/29/2 213/33/2 214/30/2
f 214/30/2 213/33/2 215/34/2
f 216/31/2 212/29/2 214/30/2
f 219/84/3 218/88/3 217/87/3
f 218/88/3 219/84/3 220/86/3
f 220/86/3 219/84/3 221/83/3
f 221/83/3 219/84/3 222/85/3
f 225/125/4 224/47/4 223/126/4
f 226/127/4 224/47/4 225/125/4
f 227/128/4 224/47/4 226/127/4
f 224/47/4 227/128/4 228/50/4
f 231/64/14 230/63/14 229/61/14
s 1
f 230/63/14 231/64/14 232/62/14
s 0
f 235/129/4 234/130/4 233/131/4
f 234/130/4 235/129/4 236/118/4
f 234/130/4 236/118/4 237/132/4
f 237/132/4 236/118/4 238/120/4
f 241/67/15 240/68/15 239/66/15
f 240/68/15 241/67/15 242/65/15
f 245/133/5 244/134/5 243/135/5
f 244/134/5 245/133/5 246/136/5
f 244/134/5 246/136/5 247/137/5
f 247/137/5 246/136/5 248/138/5
f 251/99/2 250/139/2 249/140/2
f 250/139/2 251/99/2 252/98/2
f 250/139/2 252/98/2 253/141/2
f 253/141/2 252/98/2 254/142/2
f 257/73/6 256/143/6 255/144/6
f 256/143/6 257/73/6 258/72/6
f 256/143/6 258/72/6 259/145/6
f 259/145/6 258/72/6 260/146/6
f 263/112/16 262/111/16 261/109/16
f 262/111/16 263/112/16 264/110/16
f 267/147/2 266/22/2 265/148/2
f 266/22/2 267/147/2 268/149/2
f 269/35/2 265/148/2 266/22/2
f 266/22/2 268/149/2 270/36/2
f 265/148/2 269/35/2 271/150/2
f 270/36/2 268/149/2 272/5/2
f 271/150/2 269/35/2 272/5/2
f 271/150/2 272/5/2 268/149/2
f 275/75/5 274/151/5 273/13/5
f 273/13/5 274/151/5 276/76/5
f 275/75/5 277/152/5 274/151/5
f 278/153/5 276/76/5 274/151/5
f 277/152/5 275/75/5 279/154/5
f 278/153/5 280/11/5 276/76/5
f 279/154/5 280/11/5 278/153/5
f 280/11/5 279/154/5 275/75/5
f 283/154/1 282/9/1 281/153/1
f 282/9/1 283/154/1 284/152/1
f 285/107/1 281/153/1 282/9/1
f 282/9/1 284/152/1 286/108/1
f 281/153/1 285/107/1 287/151/1
f 286/108/1 284/152/1 288/1/1
f 287/151/1 285/107/1 288/1/1
f 287/151/1 288/1/1 284/152/1
f 291/150/6 290/55/6 289/149/6
f 290/55/6 291/150/6 292/148/6
f 293/15/6 289/149/6 290/55/6
f 290/55/6 292/148/6 294/19/6
f 289/149/6 293/15/6 295/147/6
f 294/19/6 292/148/6 296/56/6
f 295/147/6 293/15/6 296/56/6
f 295/147/6 296/56/6 292/148/6
f 299/154/4 298/11/4 297/153/4
f 298/11/4 299/154/4 300/152/4
f 301/76/4 297/153/4 298/11/4
f 298/11/4 300/152/4 302/75/4
f 297/153/4 301/76/4 303/151/4
f 302/75/4 300/152/4 304/13/4
f 303/151/4 301/76/4 304/13/4
f 303/151/4 304/13/4 300/152/4
f 307/153/3 306/107/3 305/151/3
f 306/107/3 307/153/3 308/154/3
f 309/1/3 305/151/3 306/107/3
f 306/107/3 308/154/3 310/9/3
f 305/151/3 309/1/3 311/152/3
f 310/9/3 308/154/3 312/108/3
f 311/152/3 309/1/3 312/108/3
f 311/152/3 312/108/3 308/154/3
@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://b4qqxlxafak8j"
path="res://.godot/imported/new_crate.obj-fcf91a36b6f61bd4fb2bb689a5e428bd.mesh"
[deps]
files=["res://.godot/imported/new_crate.obj-fcf91a36b6f61bd4fb2bb689a5e428bd.mesh"]
source_file="res://test/assets/addons/caixa/extras/new_crate.obj"
dest_files=["res://.godot/imported/new_crate.obj-fcf91a36b6f61bd4fb2bb689a5e428bd.mesh", "res://.godot/imported/new_crate.obj-fcf91a36b6f61bd4fb2bb689a5e428bd.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://hppmg3p0d3gk"
path="res://.godot/imported/select_indicator.png-f8bd05a1cbabf4b3d623765b2d6fd61d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/assets/addons/caixa/extras/select_indicator.png"
dest_files=["res://.godot/imported/select_indicator.png-f8bd05a1cbabf4b3d623765b2d6fd61d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://88vudwbjaek5"
path="res://.godot/imported/slice_title.png-58a089149fae765c9931529684bda4eb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/assets/addons/caixa/extras/slice_title.png"
dest_files=["res://.godot/imported/slice_title.png-58a089149fae765c9931529684bda4eb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
+10 -8
View File
@@ -17,12 +17,7 @@ var EXECUTED:= false
@export var LIFE:= 2 @export var LIFE:= 2
func verfy_life():
if LIFE == 0:
dead = true
$head/Collision_head.set_deferred("disabled", true)
state_machine.travel("poweroff")
await animation_tree.animation_finished
func _process(delta: float): func _process(delta: float):
if not dead: if not dead:
@@ -60,7 +55,7 @@ func attack_player():
func _on_area_3d_body_entered(body: Node3D) -> void: #head func _on_area_3d_body_entered(body: Node3D) -> void: #head
if body.name == "player": if body.name == "player":
body.damage_player(DAMAGE_ATTACK) body.damage(DAMAGE_ATTACK)
EXECUTED = true EXECUTED = true
await get_tree().create_timer(2.0).timeout await get_tree().create_timer(2.0).timeout
EXECUTED = false EXECUTED = false
@@ -81,4 +76,11 @@ func _on_secondary_action_timer_timeout() -> void:
func _on_damage_box_body_entered(body: Node3D) -> void: func _on_damage_box_body_entered(body: Node3D) -> void:
if body.name == "player": if body.name == "player":
LIFE -= 1 LIFE -= 1
verfy_life() verify_life()
func verify_life():
if LIFE == 0:
dead = true
$head/Collision_head.set_deferred("disabled", true)
state_machine.travel("poweroff")
await animation_tree.animation_finished