Transparent WINDOW

SGDK only sub forum

Moderator: Stef

Post Reply
cloudstrifer
Very interested
Posts: 74
Joined: Mon Feb 19, 2018 7:31 pm

Transparent WINDOW

Post by cloudstrifer » Thu Mar 08, 2018 3:21 am

Hi, how to make my WINDOW layer be transparent (like Sonic HUD)?
My PLAN_A have high priority.

Can someone show me examples?

Thank you!

Grind
Very interested
Posts: 64
Joined: Fri Jun 13, 2014 1:26 pm
Location: US
Contact:

Re: Transparent WINDOW

Post by Grind » Thu Mar 08, 2018 4:14 am

Window replaces Plane A, so they cannot be drawn over the same area at the same time. It is a limitation of the VDP. I believe sonic uses sprites for the HUD.

Sik
Very interested
Posts: 896
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Transparent WINDOW

Post by Sik » Thu Mar 08, 2018 12:46 pm

Sonic just uses sprites for the HUD, yeah. It's not even a big HUD.
Sik is pronounced as "seek", not as "sick".

cloudstrifer
Very interested
Posts: 74
Joined: Mon Feb 19, 2018 7:31 pm

Re: Transparent WINDOW

Post by cloudstrifer » Thu Mar 08, 2018 6:01 pm

I imagined this.

Sprites should be high priority to be at the top.

Thank you!

Sik
Very interested
Posts: 896
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Transparent WINDOW

Post by Sik » Thu Mar 08, 2018 6:13 pm

Yep, they should also come first in the list so game sprites (player, items, etc.) don't go over it.
Sik is pronounced as "seek", not as "sick".

cloudstrifer
Very interested
Posts: 74
Joined: Mon Feb 19, 2018 7:31 pm

Re: Transparent WINDOW

Post by cloudstrifer » Thu Mar 08, 2018 7:03 pm

Nice!

Thank You!

Post Reply