Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
set the horizontal and vertical wrap modes both th

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

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Theresa Moss

PageId: ELI4EF8728