Sign in to follow this  

Game Programming in C# with Win32 and OpenGL

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#. 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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this