| View previous topic :: View next topic |
| Author |
Message |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Mar 26, 2006 8:26 am Post subject: pspdegugscreen Qs |
|
|
Hi Guys,
I am having some trouble coding text movement in the debug screen
where I think it should be possible.
| Code: |
pspDebugScreenSetXY(0, 160);
printf(" YYYYYYYYYYYYYYYYYYYYYYYYYYYYY");
pspDebugScreenSetXY(0, 150);
printf(" XXXXXXXXXXXXXXXXXXXXX");
|
Why does this print one line over the other when
I set two different positions? : XXXXXXXXXXXXXXXXXXXXXYYYYY
Also, the variable/constant in Y seems to reference the screen from
botton to top. isn't this odd?
Is there any documentation re debug screen commands? I know there are a few of them I have used.
Cheers, Art. |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sun Mar 26, 2006 9:28 am Post subject: |
|
|
Note that the X,Y coordinates given are NOT pixelcoordinates, but char/line coordinates.
So setting it to (0,150) will print to the 150th line (~150*10 = 1500 pixel) wrapping around when over the bounds. |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Mar 26, 2006 9:36 am Post subject: |
|
|
Well that explains a lot... I think that fixes me up actually.
THanx :) |
|
| Back to top |
|
 |
|