GUECS now doesn't have the facts feature from DinkyECS and instead you refer to the whole area with gui.MAIN. This is an entity that's at 0 and represents the whole grid. Background is placed there.

This commit is contained in:
Zed A. Shaw 2025-05-04 23:40:06 -04:00
parent abea6da2e0
commit 7c90eb6da1
5 changed files with 7 additions and 39 deletions

View file

@ -54,7 +54,7 @@ namespace gui {
$boss_background = textures::get(boss.background);
$boss_background.sprite->setPosition({BOSS_VIEW_X, BOSS_VIEW_Y});
$status.set_the<Background>({$status.$parser});
$status.set<Background>($status.MAIN, {$status.$parser});
if(boss.stage) {
$boss_has_stage = true;