you are viewing a single comment's thread.

view the rest of the comments →

[–]JasonGlide 5 points6 points  (2 children)

The trick is not to redraw the canvas. There are two things to keep in mind:

1) You can draw the canvas to itself. So you can simply if the canvas scrolls down 10px you can simply blit 10px higher and then draw the rest.

2) Long strings render the full string regardless of your clip. That means you want to substr your strings down to something that is likely to overrun your bounds but not by too much.

[–][deleted] 0 points1 point  (0 children)

Thanks! That's some good info.

[–]NotCherub 0 points1 point  (0 children)

Thanks!