EvoMikeUK Posted February 10, 2020 Share Posted February 10, 2020 (edited) Hey all, I was wondering if there was a way to Position player0 behind player1 as Batari Basic defaults to Player0 in front of Player1? I know you can do this with the playfield but cant find any info on sprites? Kind thanks, Michael @Generation2 Edited February 10, 2020 by EvoMikeUK Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted February 10, 2020 Share Posted February 10, 2020 From Stella Programmer's Guide, which you can find at MiniDig: So player0(P0) will always have priority over player1(P1). 1 Quote Link to comment Share on other sites More sharing options...
alex_79 Posted February 11, 2020 Share Posted February 11, 2020 It's worth mentioning that the Stella Programmer's Guide doesn't completely describe the behavior of the "score mode" in that last paragraph. When the score bit (CTRLPF bit D1) is set, the left half of the playfield takes color and priority of player 0, while the right half takes color and priority of player 1. The result is that, in this mode, Player 1 is behind the playfield (but still in front of the ball) in the left half of the screen. Also note that when the "playfield priority bit" (CTRLPF bit D2) is set, the score mode is always disabled, no matter what the value of the score bit is. 2 Quote Link to comment Share on other sites More sharing options...
+stephena Posted February 12, 2020 Share Posted February 12, 2020 Yep, Stella didn't support this for quite some time (around 4.x or so), since it wasn't really documented anywhere. I have a test ROM kicking around somewhere that illustrates the behaviour. If I find it, I'll attach it to this thread. Quote Link to comment Share on other sites More sharing options...
DirtyHairy Posted February 12, 2020 Share Posted February 12, 2020 10 hours ago, stephena said: Yep, Stella didn't support this for quite some time (around 4.x or so), since it wasn't really documented anywhere. I have a test ROM kicking around somewhere that illustrates the behaviour. If I find it, I'll attach it to this thread. Do you mean this? https://github.com/stella-emu/stella/issues/58 Quote Link to comment Share on other sites More sharing options...
JetSetIlly Posted February 12, 2020 Share Posted February 12, 2020 4 hours ago, DirtyHairy said: Do you mean this? https://github.com/stella-emu/stella/issues/58 Are there any non-test ROMs (ie. games) that rely on this behaviour? Quote Link to comment Share on other sites More sharing options...
+stephena Posted February 12, 2020 Share Posted February 12, 2020 5 hours ago, DirtyHairy said: Do you mean this? https://github.com/stella-emu/stella/issues/58 That's not the one I was talking about, but I guess that illustrates it too. Quote Link to comment Share on other sites More sharing options...
+stephena Posted February 12, 2020 Share Posted February 12, 2020 17 minutes ago, JetSetIlly said: Are there any non-test ROMs (ie. games) that rely on this behaviour? SwordQuest Waterworld I believe. Going from memory ATM; not in front of my dev environment/notes and test ROMs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.