Set the horizontal and vertical wrap modes both them are wrapmode
The IsoHexCore Engine 405
Now finalize the scroller initialization. First, set the horizontal and vertical wrap modes (both of them are WRAPMODE_CLIP). Then calculate the anchor space, and finally set the scroller’s anchor to (0,0).
//set wrap modes for scroller
Scroller.SetHWrapMode(WRAPMODE_CLIP);
Scroller.SetVWrapMode(WRAPMODE_CLIP);
//calculate anchor space
Scroller.CalcAnchorSpace();
//set scroller anchor to (0,0)
Scroller.GetAnchor()->x=0;
Scroller.GetAnchor()->y=0;
TeamLRN
Not much to it. It’s really cool that you don’t have to jump through elaborate hoops in order to get rid of your iso engine components. They practically clean themselves up.
Main Loop
The main loop can be broken into four major steps: clear back buffer, draw tilemap, draw cursor, and flip. All of this code is in Prog_Loop.Time to plot your tiles. Loop through the map coordinates using a POINT variable ptMap. For each map position, plot the tile using your TilePlotter and then convert that point from world to screen coordinates