Priority of background objects

Need help with any SMBX game-related issues? Ask your questions here.
Twisted4932
Monty Mole
Monty Mole
Posts: 143
Joined: Fri Jun 18, 2021 4:36 pm
Flair: Inactive for now.
Pronouns: He/him

Priority of background objects

Postby Twisted4932 » Mon Jul 19, 2021 6:47 pm

What's the point of modify the priority of a background graphic?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Priority of background objects

Postby Enjl » Tue Jul 20, 2021 1:30 am

You can make them go in front of other things, or further behind them.

Twisted4932
Monty Mole
Monty Mole
Posts: 143
Joined: Fri Jun 18, 2021 4:36 pm
Flair: Inactive for now.
Pronouns: He/him

Re: Priority of background objects

Postby Twisted4932 » Tue Jul 20, 2021 12:36 pm

Isn't that the "foreground" modification for npcs?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Priority of background objects

Postby Enjl » Tue Jul 20, 2021 2:10 pm

No? The foreground config for NPCs is a boolean which toggles between priorities -15 and -45 for most.
The priority config for BGOs is for BGOS (not NPCs), is a number (not a boolean) and lets you specify the priority freely.
Check the docs for more info.
https://docs.codehaus.moe/#/features/bgo-config
https://docs.codehaus.moe/#/features/npc-config

Twisted4932
Monty Mole
Monty Mole
Posts: 143
Joined: Fri Jun 18, 2021 4:36 pm
Flair: Inactive for now.
Pronouns: He/him

Re: Priority of background objects

Postby Twisted4932 » Tue Jul 20, 2021 3:51 pm

What I meant in the previous reply was if priority is something like a equivalent to foreground for npcs, not the same thing.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Priority of background objects

Postby Enjl » Tue Jul 20, 2021 5:45 pm

They accomplish the same goal of changing the render priority, but the foreground flag is a lot more limited.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest