Map Scrolling..?
Sorry if this is a silly question , but this is the first game im writing.
Im able to draw a isomtric map , tile by tile in the screen but i would like to know how to make this map to scroll. if there is any tutorial pls tell me
Keep track of two global variable: mapX, mapY. Then whenever you draw a tile use the tile''s coordinates + (mapX, mapY). To scroll, just change mapX and mapY.
Could I recommend CDX and a sub product CDXMappy?
www.sourceforge.net/projects/cdx
Regards
BaelWrath
If it is not nailed down it''s mine,
and if I can prise it loose,
it''s not nailed down!
www.sourceforge.net/projects/cdx
Regards
BaelWrath
If it is not nailed down it''s mine,
and if I can prise it loose,
it''s not nailed down!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement