Skip to Content
Programming 2D Games
book

Programming 2D Games

by Charles Kelly
June 2012
Beginner
438 pages
15h 26m
English
A K Peters/CRC Press
Content preview from Programming 2D Games
318 10. Tiled Games
// Map
const int tileMap[MAP_SIZE][MAP_SIZE] = {
13,13,13,13,13,13,13,13,13,13,15,13,13,13,13,13,
13,13,10, 5,12,13, 3, 1, 7,13,15,13,13,13,13,13,
13,13, 6,13, 2,13, 2,14, 6,13,15,13,13,13,13,13,
13,13,11, 1, 9,13, 8, 5, 4,13,15,13,13,13,13,13,
13,13,13,13,13,13,13,13,13,13,15,13,13,13,13,13,
13,10, 5, 5, 5,12,13,13,13,13,15,13,13,13,13,13,
13, 6,10, 5,12, 2,13,13,13,13,15,13,13,13,13,13,
13, 6, 6,13, 2, 2, 0, 0,13,13,15,13,13,13,13,13,
13, 6,11, 1, 9, 2,13, 0,13,13,15,13,13,13,13,13,
13,11, 1, 1, 1, 9,13, 0,13,13,15,13,13,13,13,13,
13,13,13,13,13,13,13, 0,13,13,15,13,13,13,13,13,
13,13,13,13,13,13,13, 0,15,15,15,13,13,13,13,13, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning 3D Game Programming

Beginning 3D Game Programming

Tom Miller

Publisher Resources

ISBN: 9781466508705