Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for( y = 0; y < 15; y++)
- for( x = 0; x < 21; x++)
- {
- SDL_Rect offset;
- offset.x = x*32;
- offset.y = y*32;
- SDL_BlitSurface(tiles, &clipTiles[map[y][x]], screen, &offset);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement