let's say i've got a 2d map thats 4x the screen size. i understand the concept between world coordinates and screen coordinates. what i'm stuck on is where do i do this translation for my sprites?
my first thought was check to see if Sprite has a draw method I could override and convert the sprites world coordinates to screen coordinates. that seemed to be a dead end.
i see that the Layer class has a draw method and if I override that it doesn't actually replace the drawing functionality, it looks like it calls my code in addition to the standard drawing code.
so i guess my question is...
Is the draw method on the layer class the best place to update all my sprites positions based on the current x,y scrolling offset?
if the answer is yes, it seems like that wouldn't scale well performance-wise? unless i do a down-selection of sprites to determine what could be in the visible screen area.
if it helps at all, i'm using AtlasSprite and AtlasSpriteManager.
Bonus karma for a tutorial or example! :) I searched, but came up empty handed.
---
off topic: how do you set your avatar graphic on here? i didn't see it in the profile area.