gagebair Posted January 11, 2022 Share Posted January 11, 2022 I want to place my player 0 sprite in the very center of the screen AND have it be stationary. So far, I've been able to center it vertically, but from what I've been reading, it seems like it is impossible to place a static player 0 sprite centered horizontally without having it move first, due to only being able to place sprites every 15 color clocks. Is there anyway at all to do what I want to do? Any help at all would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
+Karl G Posted January 17, 2022 Share Posted January 17, 2022 Looks like your question got overlooked. Sorry about that! Yes, you can position the player0 or any other positionable object in the center or wherever you like. The RESP0 register is used to set the coarse position as you have discovered (often in 15-pixel increments if set with a loop). To set the fine offset and get to a specific pixel position, you use the HMXX register corresponding to the positional object, or HMP0 in the case of the player0 object. http://www.taswegian.com/WoodgrainWizard/tiki-index.php?page=HMP0 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.