Board Thread:Questions and Answers/@comment-19840316-20141212054334

So in the Chip's Challenge port I'm working on, I'm trying to figure out what the best method for reading map data and telling the game what to do is. At the moment, I'm simply planning on using numbers to represent different types of tiles, and then the game will check to see what the number of the tile you're trying to walk into is. But could having a ton of IFs checking to see if the number matches slow down the program, or is there a simpler or faster way to do this? And also, are there any good tutorials on saving DATA to graphics, or maybe a more efficient solution than having to type out all the level data? 