Jump to content
  • Advertisement
Sign in to follow this  
longvar

[.net] Need a solution to move beyond winforms

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

Hi, Right now I have a simulation that uses winforms for the setup or building of the scenario being simulated in our game. I have a base panel custom UI (Forms.UserControl), and then place bitmap objects for the different elements selected from icons on a toolbar. Each of these is base classed off of Forms.Control. You move the bitmaps around the landscape (all 2d) and right click and input the properties of each object. So, for example, if I want to add a person to my map, I click the icon for the person, and then a new Person object base classed off the Forms.Control is added onto the Forms.UserControl. The base class gives me general events such as mouse dragging, key input, etc while the inherited class gives me access to it's specific properties. The whole thing can be saved as an XML object and sent to our runtime engine. All of this is written and working well. The only problem is it doesn't look great and has performance issues. I'm looking to take this to the next step. I've looked into SDL.NET, but I want to make sure I can still have this set inside a winform object. Our outputs use directx, but I'd like to keep it more simple on the input side, but something a little prettier and flexible than winforms. Any ideas? I like my current system as it make it simple to add new unit types, etc very quickly.

Share this post


Link to post
Share on other sites
Advertisement
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!