SRL Archive - OSR Help

Overlapping Paint


jman1208

2012-10-17 21:48:05

This has been happening to me lately…


I have my paint start after Debugplayer.. and it doesn't update. Then it have it execute after my last function and it overlaps.

riwu

2012-10-17 21:55:05

You have to constantly update it and call it, like how you would update a progress report.

Brandon

2012-10-17 22:41:21

This is because you probably ignored the clear parameters of the desired functions. If set to false, the canvas doesn't get cleaned. It'll write over top what's already there.

Getdropped

2012-10-17 23:11:10

EX:

smart_clearcanvas;
SMART_DrawText(10, 190, UpCharsEx, '' +'Laps: ' + IntToStr(TimesFinished) + '', clYellow);
SMART_DrawText(10, 210, UpCharsEx, '' + 'Exp: ' + IntToStr(EXPGained)+ '', clYellow);
SMART_DrawText(280, 190, UpCharsEx,''+TimeRunning+'', clYellow);

Use "smart_clearcanvas;" to make a clean screen ;) just put it infront of your paint, hope i could help

P1ng

2012-10-18 01:42:08

You need to add SMART_ClearCanvas; to your progress report procedure so that the stuff that is already written there gets wiped. :)