Jump to content
  • Advertisement
Sign in to follow this  
Blackkata

C# Tile based engine

This topic is 4882 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, Ive been programing for a while now but Ive just recently begun seriously using C# (Ive been messing around with it for a while). I had decided to finaly sit down and make a simple tile map editor when I realized, C# doesnt directly have pointers. So my question is then, what is the best way to handle storing and rendering the tiles?

Share this post


Link to post
Share on other sites
Advertisement
I am creating a class for the tile object. Then using an array list I am adding an instance of the class as I load the data in from the file. In the class I would have a referance to the location of the image files.

Then I would have a class that is my map, and then load up the map data from a file when I am displaying it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!