Question DirectX and tile based system?

Jackryder

New member
Joined
Jun 20, 2011
Messages
2
Programming Experience
Beginner
Umh, hi. I'm a new programmer with using vb.net. Sorry about my bad English because it is not my first language. I hope I can learn lots of things from you guy. I have some question about Visual Basic 2010
First: How do I add DirectX to it? I tried to use DirectX 8 and declare things as directdrawsurface and stuff but it doesn't work. I'm trying to make a 2d game so I'm not looking at DirectX 9 or higher because it was design for 3d.
Second: How does a tile based engine work? (how the code go?) I can understand that I need to make 2 variable X and Y, the X is the horizontal and the Y is vertical and i need to have a tileset consist of 32x32 squares. But I don't know how to make the code. I'm not asking you to make the code for me, just give me some hint, please :(

Thank
 
Back
Top