Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] What Project Type do you choose for a MDX app?

Started by nPawn Dec 24, 2005 at 4:41 PM 8 replies 1.5k views
Original Post
nPawn
nPawn
C# specifically. Do you just go with Windows Application, or Console App, or Empty Project or what? I've programmed a lot of stuff in DirectX and C++, and usually started with a Win32 App project, but i'm not sure what the base equivalent is in C#.
intrest86
intrest86
The wuickest way to get started is with the Windows Application. It will automatically create a form for you to draw on, which saves a little time. You might also look at the Framework (is this the right name?) classes in the Managed DirectX SDK. There is a code skeleton that already sets up devices and does a lot of other stuff (that I am currently uneducated on) to get you started programming more quickly.
Turring Machines are better than C++ any day ^_~
nPawn
nPawn
Thank you, I was curious, because starting up a regular Windows App project seems to make several extra files I don't see in the MDX tutorials, including moving the Main() function around and starting up the app a bit differently, but it still seems to work ok if I cut and paste things around. Also, every tutorial i've found out there has a lot fewer files in it than what a Windows App project generates at first, so I thought maybe I was missing some project type.
Drew_Benton
Drew_Benton
Sorry if this is a bit O/T, but I stumbled upon a cool little page today on MSDN, Coding4Fun: Game Development. They have a few pages on game development with MDX that might prove kind of useful.
nPawn
nPawn
Thanks for the links! Rob, the link you posted was perfect for what I was wondering, and Drew's link will be good for when I get past the starting stages. Thanks again!
Mykre
Mykre

I have written an article for coding4fun that goes through creating a base DirectX application that is based on the sample framework. The Article also goes through converting that Base Application to a Template/Starter kit file that you can re use.

I have also posted a version of the template file that uses the Beta MDX Assemblies that were released in the December SDK, this can be downloaded from my site.

Coding4Fun - Creating an Application Template
Inner Realm - Base Application MDX2
hplus0603
hplus0603
The easiest way to get started is to click the "install this project" link in the Empty project in the Managed DirectX samples. That creates a project that creates a window with a device and everything, and you can take it from there. (Fill in rendering and simulation)
enum Bool { True, False, FileNotFound };
nPawn
nPawn
Where is the "install this project" link?
yaroslavd
yaroslavd
In the "Sample Browser," I think.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.