+atari2600land Posted December 20, 2008 Share Posted December 20, 2008 Is there a difference between this: %01111100 %11111110 %01101100 %11000000 and this: %00000000 %00000000 %01111100 %11111110 %01101100 %11000000 %00000000 %00000000 when it comes to height? Say for example, I set the player's height at 72. Would the height be two pixels up since I put two rows of blank space above where the sprite actually starts? Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted December 20, 2008 Share Posted December 20, 2008 Is there a difference between this: %01111100 %11111110 %01101100 %11000000 and this: %00000000 %00000000 %01111100 %11111110 %01101100 %11000000 %00000000 %00000000 when it comes to height? Say for example, I set the player's height at 72. Would the height be two pixels up since I put two rows of blank space above where the sprite actually starts? If you're using the "player0:" command (or 1 through 5), bB will set the player's height for you, and yes, it will include any blank rows in the height. If you're talking about the player's vertical position on the screen ("player0y"), the answer is also yes, the sprite will be put at the indicated position regardless of what each row of bits looks like-- so if the first two rows are blank, then the part of the sprite you can actually see (i.e., that's made up of non-blank rows) will appear to be at a vertical position that's off by 2 from the position you specified. The same thing goes for columns of blank pixels-- e.g., if the two leftmost bits in every row of player data (i.e., the two leftmost columns of pixels) are all 0s, the sprite will appear to be 2 off from the "player0x" position you specified. Michael 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.