From da9a609f661b5892ccae4fdac3e0afde40aca0df Mon Sep 17 00:00:00 2001 From: Siphonight Date: Mon, 16 Nov 2026 09:26:35 +0100 Subject: [PATCH] =?UTF-8?q?Diagnostic=20HUD=20Cryopod=20(irreproductible?= =?UTF-8?q?=20=C3=A9mulateur=20:=20=C3=A0=20la=20r=C3=A9solution=20du=20de?= =?UTF-8?q?vice=202244x1008=20+=20APK=20v0.14.0=20exacte,=20le=20HUD=20s'a?= =?UTF-8?q?ffiche=20;=20le=20gamelog=20utilisateur=20prouve=20que=20cryopo?= =?UTF-8?q?d=5Fstatus.png=20ne=20se=20charge=20jamais=20sur=20son=20device?= =?UTF-8?q?)=20=E2=80=94=20log=20d'instanciation=20ajout=C3=A9=20(le=20pro?= =?UTF-8?q?chain=20gamelog=20tranchera=20cr=C3=A9ation=20vs=20rendu)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lostsector/objects/hud/CryopodStatus.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lost-sector/src/main/java/com/ezardlabs/lostsector/objects/hud/CryopodStatus.java b/lost-sector/src/main/java/com/ezardlabs/lostsector/objects/hud/CryopodStatus.java index b6de482..02e2b12 100644 --- a/lost-sector/src/main/java/com/ezardlabs/lostsector/objects/hud/CryopodStatus.java +++ b/lost-sector/src/main/java/com/ezardlabs/lostsector/objects/hud/CryopodStatus.java @@ -5,6 +5,7 @@ import com.ezardlabs.dethsquare.GameObject; import com.ezardlabs.dethsquare.GuiRenderer; import com.ezardlabs.dethsquare.GuiText; import com.ezardlabs.dethsquare.TextureAtlas; +import com.ezardlabs.dethsquare.util.GameLog; public class CryopodStatus extends Component { private GuiText health; @@ -17,6 +18,17 @@ public class CryopodStatus extends Component { @Override public void start() { gameObject.renderer.setDepth(0); + /* + * Diagnostic (retour v0.14.0 : "les chiffres de la vie du pod ne + * s'affichent plus" — irréproductible sur émulateur À LA RÉSOLUTION + * du device 2244x1008 avec l'APK exacte ; le texture log prouve que + * cryopod_status.png ne se charge jamais sur le device) : log + * d'instanciation — si la ligne N'APPARAÎT PAS dans le gamelog, + * le GameObject n'est jamais créé (création Cryopod) ; si elle + * apparaît, il est créé mais jamais rendu (depth/cutout). + */ + GameLog.i("LS-RENDER", "HUD Cryopod instancié à " + transform.position + + " (active=" + gameObject.isActive() + ")"); TextureAtlas numberFont = TextureAtlas.load("fonts/lcd-numbers"); health = new GuiText("000", numberFont, 22.75f, 3.25f); shield = new GuiText("000", numberFont, 22.75f, 3.25f);