Strange Y canvas size -
Nero_3D - 08.12.2013
I am not sure if this is a bug or just a problem of my pc but it should be 640 x 480 canvas
The 640 of x are there but the 480 of y not, also it doesn't matter which resolution I use
It end somewhere around 445 not 480, if it helps the
dxdiag
Re: Strange Y canvas size -
Pottus - 08.12.2013
Can you provide your code?
Re: Strange Y canvas size -
newbie scripter - 08.12.2013
i see the text is tilted to its right.
Re: Strange Y canvas size -
nGen.SoNNy - 08.12.2013
Pretty weird but if we don't see the code we can't say something about your problem.
AW: Strange Y canvas size -
Nero_3D - 08.12.2013
Pretty simple code which puts a textdraw in each row
pawn Код:
new
Text: gText
;
public OnFilterScriptInit() {
for(new i, tmp[8] = "~r~"; i != 480; ++i) {
valstr(tmp[3], i, false);
gText = TextDrawCreate((i * 31) % 620 + 20, i, tmp);
TextDrawLetterSize(gText, 0.20, 0.70);
TextDrawAlignment(gText, 2);
TextDrawSetOutline(gText, 1);
TextDrawFont(gText, 1);
TextDrawShowForAll(gText);
}
}
public OnFilterScriptExit() {
for(new i; i != 480; ++i) {
TextDrawDestroy(gText - Text: i);
}
}
Maybe someone can reproduce this ?, and show me if he gets 480 canvas
Re: Strange Y canvas size -
Pottus - 08.12.2013
I've done a few tests and it would seem the bounds are from 0 to 440 on the y-axis.
Re: Strange Y canvas size -
Kar - 08.12.2013
NVM: guess it was just my imagination
Re: AW: Strange Y canvas size -
RyDeR` - 09.12.2013
Quote:
Originally Posted by Nero_3D
Pretty simple code which puts a textdraw in each row
Maybe someone can reproduce this ?, and show me if he gets 480 canvas
|
Nope.
http://i.imgur.com/ylj2FWd.jpg
AW: Strange Y canvas size -
Nero_3D - 09.12.2013
Thanks, good to know that this isn't only on my side, I wanted to know that because of my next release
Re: Strange Y canvas size -
nGen.SoNNy - 10.12.2013
So what's the problem ?