lunes, 29 de diciembre de 2025

Stealing from the history museum.mejoras dia 29-12-25;

 


jueves, 25 de diciembre de 2025

Godot 4.5 estudiando nuevo proyecto-11-parte;

Sigo trabajando el juego del robo en el museo, le puesto un corazon al Ladron protagonista del juego que ba menguando conforme se encuentra con dificultades en su labor, y tambien unos cambios de escenas y un reinicio de la principal , al final del pasillo comenzara otro nuevo nivel escena, y al comenzar al principio del juego presionando “b” se coloca una bomba…




.I'm still working on the museum heist game. I've added a heart to the protagonist thief that diminishes as he encounters difficulties in his task, and also some scene changes and a main scene restart. At the end of the corridor, another new level/scene will begin, and when starting at the beginning of the game, pressing "b" places a bomb...

 https://perico415.itch.io/stealing-from-the-history-museum


26-12-25

miércoles, 24 de diciembre de 2025

GDScript godot 4.5 cambia una escena por tiempo y anima la actual;

 extends Node3D


# Variable para llevar la cuenta del tiempo

var tiempo_transcurrido: float = 0.0


func _ready() -> void:

$AnimationPlayer.play("MakeHuman default skeleton|MakeHuman default skeletonAction")

func _process(delta: float) -> void:

# Sumamos el tiempo de cada frame a nuestro contador

tiempo_transcurrido += delta

# Si el contador llega a 4 segundos, cambiamos de escena

if tiempo_transcurrido >= 4.0:

get_tree().change_scene_to_file("res://LADRON/LADRONMUERTE/ladron_yo_animo_dia_24_12_27_cala_bera.tscn")

# Verificamos si se presiona la tecla Escape para salir

if Input.is_key_pressed(KEY_ESCAPE):

get_tree().quit()


---------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------

Explicacion: GDScript que anima continuamente un personaje y al transcurrir unos segundos cambia la escena, tambien se puede salir del juego presionando escape ESC

miércoles, 17 de diciembre de 2025

BORRAR AREA3D DE GODOT EN 5 SEGUNDOS CON GDSCRIPT;

 extends Area3D


func _ready() -> void:

# Espera 5 segundos y luego ejecuta queue_free()

get_tree().create_timer(5.0).timeout.connect(queue_free)