Is it impossible to put a sprite under plan A or plan B?

For anything related to VDP (plane, color, sprite, tiles)

Moderators: BigEvilCorporation, Mask of Destiny

Post Reply
greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Is it impossible to put a sprite under plan A or plan B?

Post by greatkreator » Sun Jul 15, 2012 10:47 am

Is it impossible to put a sprite under plan A or plan B?

I know that it is impossible but I hope that maybe a trick exists that does it.

Gigasoft
Very interested
Posts: 95
Joined: Fri Jan 01, 2010 2:24 am

Post by Gigasoft » Sun Jul 15, 2012 12:28 pm

Either use the priority bits, or use more sprites to cover up your sprite. It helps if you arrange the tiles that make up larger tiles in vertical order, so that you can use large sprites.

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Sun Jul 15, 2012 1:39 pm

As far I know the priority just affects tile color? Isn't it?

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Sun Jul 15, 2012 1:43 pm

greatkreator wrote:As far I know the priority just affects tile color? Isn't it?
It should affect the layering of sprites and backgrounds.

Only one way to find out. Try it out and see! :)

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sun Jul 15, 2012 2:11 pm

greatkreator wrote:As far I know the priority just affects tile color? Isn't it?
Tile color ?? This is true only when hilight shadow effect is enable but the first purpose of priority bit is the Z location.
A high priority tile of plan B will be above a low priority tile of sprite.

Here is the Z arrangement (from bottom to top) depending plan and priority :
B low < A/W low < Sprite low < B high < A/W high < Sprite high

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Sun Jul 15, 2012 3:37 pm

Actually I have tried and it didn't work to me.
I think I did something wrong.
I made a simple test: a tile on the plan A with any priority rendered under sprite with any priority.
That's why I was asking.
I will try again.
Thanks guys.


P.S. I was very tired last time when tested the priorities of the A&B plans and the sprite plan.
Just right tested it in few minutes and it worked very well.

Post Reply