![]() |
![]() |
#1 | |
'That brit'
Judge
|
If you have, for example, a v.drawFill that goes from 0 to 320 on x and from 150 to 200 on y. The drawFill will not be affected by V_SNAPTOTOP or V_SNAPTOBOTTOM. Meaning you can never have that fill along the very bottom of the screen in not aspect correct resolutions. It's because the changes to it drawing aren't performed because it's drawing it across the entire width of the screen. I think the same probably happens with a vertical drawFill too.
Example: Code:
v.drawFill(0, 163, 320, 37, 31+V_SNAPTOBOTTOM) ![]() Also, the top fill in that image doesn't even need V_SNAPTOTOP to be at the very top of the screen so something is wrong there as well.
__________________
Quote:
Last edited by Monster Iestyn; 04-25-2017 at 05:06 PM. |
|
![]() |
![]() |
#2 |
Ya Gal Sal Here (σᴥσ)
Judge
|
IIRC most video flags don't work with v.drawFill in general. The screen darken when voting in SUGOI is done with a scaled black 1x1 patch instead of a fill because V_TRANS50 wouldn't work on it.
|
![]() |
![]() |
#3 | |
'That brit'
Judge
|
The V_SNAPTO* flags are meant to work with drawFill though. When using any fill that is within the screen edges completely, they work.
__________________
Quote:
|
|
![]() |
![]() |
#4 |
Friendly Neighbour-Hood
Moderator
|
I suspect this might be fixed now following Inuyasha's fix (http://git.magicalgirl.moe/STJr/SRB2/merge_requests/173) being merged in, though I'll have to double check that.
EDIT: Yep the given example works properly now in non-green resolutions.
__________________
My page stuffed full of MIDI goodness! The Hitchhiker's Guide to the Robo-Hoodiverse Timeline of Sonic Robo Blast History! That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin". Last edited by Monster Iestyn; 04-25-2017 at 05:06 PM. |
![]() |