abaudrand #1 Posted September 21, 2010 I'm still working on my game Dragons' night (title seems already taken for a video game so I will change it later) and I'm looking for a way to hide the player0 sprite behind a square but keep it in front of the playfield. I've unfortunately found that in order of priority, the sprites of Player0 and Player 1 are always atop missiles and the ball. You can only set the PF upon everything with the CTRLPF function. 1. SPRITES 2. MISSILES AND BALL 3. PF OR (with changing CTRLPF) 1. PF 2. SPRITES 3. MISSILES AND BALL Anyone got an idea to have: 1. MISSILES AND/OR BALL 2. SPRITES 3. PF Quote Share this post Link to post Share on other sites
eshu #2 Posted September 21, 2010 I'm still working on my game Dragons' night (title seems already taken for a video game so I will change it later) and I'm looking for a way to hide the player0 sprite behind a square but keep it in front of the playfield. I've unfortunately found that in order of priority, the sprites of Player0 and Player 1 are always atop missiles and the ball. You can only set the PF upon everything with the CTRLPF function. 1. SPRITES 2. MISSILES AND BALL 3. PF OR (with changing CTRLPF) 1. PF 2. SPRITES 3. MISSILES AND BALL Anyone got an idea to have: 1. MISSILES AND/OR BALL 2. SPRITES 3. PF The player1 sprite appears "behind" missile0 on either priority - I don't know if that will help? Quote Share this post Link to post Share on other sites
SeaGtGruff #3 Posted September 21, 2010 The player1 sprite appears "behind" missile0 on either priority - I don't know if that will help? The only other thing I can think of would be to change the player's graphics to make it *look* like it's going behind a block. Or, if you write your own kernel, you could change the graphics priority from line to line, so you could have the players go behind the playfield on some lines, yet have them be in front of the playfield on other lines. Michael Quote Share this post Link to post Share on other sites
abaudrand #4 Posted September 21, 2010 The player1 sprite appears "behind" missile0 on either priority - I don't know if that will help? I didn't tried that as my sprite for player0 and player 1 are already defined in the game. so to sum up, the chart will be something like: 1. Player0 and Missile0 2. Player1 and Missile1 3. Ball and PF If its the case, maybe a rewriting of my game (inverting P0 and P1) will help me. Thanks for your reply IT HELPS ME A LOT Quote Share this post Link to post Share on other sites