I've tried to find the core class Window, but cant seem to find it anywhere. But what I really want to know is if there is any Clamping going on that prevents a window from appearing at least partially off screen. And if there is, is it possible to somehow disable the Clamping to allow a window to appear partially off screen?
There is no clamping. Just set its coordinates off or partially off screen.
I found the clamping. It wasnt using min / max values to clamp.
BTW, how come youre like the only person that ever answers my questions? Are you just that awesome F0?
Quote from: Heretic86 on July 10, 2012, 09:00:11 pm
I found the clamping. It wasnt using min / max values to clamp.
What clamping? Windows are only displayed within their viewport, but even that isn't clamping, its just the render area. You can move a window's X coordinate to 18923, and that is its location. It is obviously not rendered or able to be seen, but logically that is where its at. If you made a loop that moved it one pixel per frame to the left, it would take 19823 frames before you would see its left edge appear on the screen. Its logical location is not clamped to the display area.
Quote from: Heretic86 on July 10, 2012, 09:00:11 pm
BTW, how come youre like the only person that ever answers my questions? Are you just that awesome F0?
8)
Yeah, viewports do more of a cut-off thing.
Quote from: Heretic86 on July 10, 2012, 09:00:11 pm
BTW, how come youre like the only person that ever answers my questions? Are you just that awesome F0?
I'm just lazy. ._. And yes, he is that awesome.
It was just a limitation on the window position elsewhere in the code I didnt spot earlier. @x = 0 if @x < 0 Limited to the screens range basically.