Changeset 25


Ignore:
Timestamp:
Jul 3, 2010, 2:15:32 PM (10 years ago)
Author:
sam
Message:

Fix test map layers.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/maps/testmap.tmx

    r24 r25  
    1616 <layer name="Layer 2" width="32" height="32">
    1717  <data encoding="base64" compression="gzip">
    18    H4sIAAAAAAAAA+3RMQ6AIBAEQDrEDxj5AFpSafz/w9hLuITOCo7oTrItt1mcm0e2LvBi9n5fpJtHZK0JBj0u5ESOmtEdPJKaHvfg+2pHHmTr8Lb8scXfKtnWalch2y4/vk9ERERE/RUNp14bABAAAA==
     18   H4sIAAAAAAAAA2NgGDzAcKAdQAAMdvcNRwALcykg5oJizgFwhzkQawKxBhTT2w3sQKyO5A4LOtsPA5JAbAXE4lC+4gC5Y6QBIyhmQKKpDUBxy0HADaNgFIyCUTAKRsEoGAWjYGgDALjNdNcAEAAA
    1919  </data>
    2020 </layer>
    2121 <layer name="Layer 3" width="32" height="32">
    2222  <data encoding="base64" compression="gzip">
    23    H4sIAAAAAAAAA+3SMQ0AIAxFwVrBAg7wb4oFGhw0DXfJT9c3NAJ6mGerOoQ0qgM+cX8/nlvRAABAbxsfaCDKABAAAA==
     23   H4sIAAAAAAAAA+3OsQ0AIAwDwZQwAoxBQ1r2XwoXrIAs0J/0tR0BvGGclvsIruiqGvenSuN+U8W4DwAAgP9tqgIKBgAQAAA=
    2424  </data>
    2525 </layer>
  • trunk/src/test-map.cpp

    r24 r25  
    5656    SDL_GetMouseState(&playerx, &playery);
    5757    tiler->AddTile(50, playerx, playery, 1);
     58    tiler->AddTile(50, playerx + 64, playery + 32, 3);
    5859
    5960    tiler->Render();
Note: See TracChangeset for help on using the changeset viewer.