J
Jason
My friends and I are trying to learn about game programming. And we are most
interested in games like "raise of nations", "age of empires", "civ2 or 3".
We are thinking about developing a turn based, strategy game. I have been
doing some messing around with C# to get ideas about how to lay out data
structures?
I was just curious if any more experience programmers out there could maybe
point us in the right direction? Do those kind of games use directx or not?
Right now I created a UserControl class called "Tile" that represent 1 tile
on the board map and then I just use OnPaint to load in a .bmp file for that
given tile. Then on the main form I have an array of these "Tile" controls
to draw the board map. However I have found this to be very slow in drawing
the board? I was looking for maybe some better ideas about how I could
represent a board map. Also like the idea of when the mouse moves near the
edge of the screen i want to like shift the map to see more of it. With the
array of controls I was thinking I would like remove the left edge, shift
all the other controls over one board unit, and then add a new row on the
right....however this proved to be very costly and took a good 10-15 sec to
complete.
We are not expecting to do this over night, but we are in college and just
thought it would be a fun project to work on for a few years to see how far
we can get. If anyone can recommend any good books tailored towards turn
based 2-d game that would help to. I looked on Amazon but nothing good
really stood out.
Thanks
Jason
interested in games like "raise of nations", "age of empires", "civ2 or 3".
We are thinking about developing a turn based, strategy game. I have been
doing some messing around with C# to get ideas about how to lay out data
structures?
I was just curious if any more experience programmers out there could maybe
point us in the right direction? Do those kind of games use directx or not?
Right now I created a UserControl class called "Tile" that represent 1 tile
on the board map and then I just use OnPaint to load in a .bmp file for that
given tile. Then on the main form I have an array of these "Tile" controls
to draw the board map. However I have found this to be very slow in drawing
the board? I was looking for maybe some better ideas about how I could
represent a board map. Also like the idea of when the mouse moves near the
edge of the screen i want to like shift the map to see more of it. With the
array of controls I was thinking I would like remove the left edge, shift
all the other controls over one board unit, and then add a new row on the
right....however this proved to be very costly and took a good 10-15 sec to
complete.
We are not expecting to do this over night, but we are in college and just
thought it would be a fun project to work on for a few years to see how far
we can get. If anyone can recommend any good books tailored towards turn
based 2-d game that would help to. I looked on Amazon but nothing good
really stood out.
Thanks
Jason