Jump to content
  • Advertisement
Sign in to follow this  

Game Programming in C# with Win32 and OpenGL

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

Just in case this isn't front page worthy. This is worth studying for you game designers/programmers. With DotNet and CSharp a lot of you are going the Windows.Forms route. I just wanted to present to you an alternative. The grunt work is done, so all you need to do is include the CSharp*.cs files and you are ready to go.
TheTutor, For fun I ported "GameTutorials Triangle(First OpenGL Program" to C# using Win32. It keeps the existing framework of the original tutorial without using Windows Forms. Take a look. This will safe others time that might want to program OpenGL with Win32 calls in C#. http://www.tagenigma.com/csharp/Triangle%20(First%20OpenGL%20Program)%20in%20C%23.zip I'm aware it has bugs. Full screen mode doesn't work perfectly yet, so I commented it out. There is also a memory leak that happens during painting, so I commented that out too. Anyone is welcome to email bugs and/or preferably fixes. I should note that I used the OpenGL ports from Nehe, but all the Win32 ports are from me. Enjoy ;P ~Tgraupmann http://www.tagenigma.com

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!