GDI C# Help

Nov 17 2006 2:21 PM
Hello everyone, I have been programming in C# for a while now and I can make X and O's, Guess the number and some Text Games in Console or Windows Forms using a Text Box. However now I want to move onto making 2D Games but not taking too much of a leap into it yet, I would like to be able to make small Maze Games like Pac Man using GDI.


My problems are I have no idea how to make maps, for example I have a Bitmap or a Picture Box with an Image, but I have no idea how to make a map using Code. I have seen some text files in other peoples games with 011021100, ect... each number calling an image however I'm looking to make maps within the code itself not with text files.


I have done some reading on GDI but the code I view really isn't something that’s good for learning but for someone who knows GDI but wants to make that kind of game. If anyone can direct me to a website that can answer these questions:


- How to make maps
- How to move a picture box with image or bitmap file
- To move on a grid and not be able to walk through walls on that grid


Thanks for anyone able to spend their time helping, it's greatly appreciated.


Regards,
Chris