Letterbox scaling allows content to overflow on screen

I can’t confirm this actually happens on the device, but when I try to use letterbox scaling for a 320x480 game, on the Droid it shows the letterbox on the bottom, but the issue is I have content that scrolls off the screen and when it reaches the letterbox it still shows up, which shouldn’t happen. I think the letter box should be considered “off screen” and nothing that has negative screen coordinates should ever be shown… [import]uid: 6678 topic_id: 1344 reply_id: 301344[/import]

Your estimation is wrong. It simply scales but does not mask any of your content.

You could use 4 large black rectangles “outside” the screen to mask those contents.

The whole scaling stuff is cheessy IMHO :slight_smile: [import]uid: 6928 topic_id: 1344 reply_id: 3635[/import]

I don’t think it’s cheesy. All the scaling options do exactly what they’re supposed to except letterbox. I actually find the ones that work really impressive.

I’m aware it doesn’t “mask” the content, but it’s not a matter of that, it’s not really functional/usable if it doesn’t. The black area is NOT considered the screen since it’s in the negative coordinate plane. It shouldn’t have to be masked. I consider this a bug since in every other scaling mode negative = not visible. [import]uid: 6678 topic_id: 1344 reply_id: 3637[/import]

Actually, to correct myself, as far as I know, the black area can never be on the left or top, so it won’t ever be in the negative. But the bottom/right is still beyond the virtual screen so this shouldn’t change the fact that nothing in this area should be visible. [import]uid: 6678 topic_id: 1344 reply_id: 3639[/import]

I meant the implementation is cheesy … Because it just scales and don’t masks. That’s all… [import]uid: 6928 topic_id: 1344 reply_id: 3640[/import]

If that’s what you mean then of course I agree… Letterbox needs to mask to actually be usable, no question. [import]uid: 6678 topic_id: 1344 reply_id: 3644[/import]