Jump to content
  • Advertisement
Sign in to follow this  
MCeltic33

RL in C#

This topic is 4561 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

I wanted to attempt making a Rogue Like in C#. However, am unsure how to go about the display. For example - traditional RL's use standard ASCII for characters for everything: ..... .@... ....X ..... And I was wondering if anyone had any good suggestions on how to do this using either a label or text box without having to completely reformat each string each time you touch the keyboard.

Share this post


Link to post
Share on other sites
Advertisement

I'm actually working on a roguelike myself, in C# (it started as C++, then was migrated to Python, and is now C#).

However, I haven't tried going the label/text box route. The way I handled it was to use OpenGL to draw the display. I simply created an image file with all of the ascii characters, and then drew them to the screen as texture mapped quads.

Also, if you're not familiar with this newsgroup:

Roguelike Newsgroup

Its a good place to ask questions concerning roguelike development.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!