Priority of background objects

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

KnownStranger
Blooper
Blooper
Posts: 155
Joined: Fri Jun 18, 2021 4:36 pm

Priority of background objects

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

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

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Priority of background objects

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

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

KnownStranger
Blooper
Blooper
Posts: 155
Joined: Fri Jun 18, 2021 4:36 pm

Re: Priority of background objects

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

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

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Priority of background objects

Postby Emral » 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

KnownStranger
Blooper
Blooper
Posts: 155
Joined: Fri Jun 18, 2021 4:36 pm

Re: Priority of background objects

Postby KnownStranger » 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.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Priority of background objects

Postby Emral » 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 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari