Programming 2D Games

The official forum for "Programming 2D Games" the book by: Charles Kelly

It is currently Fri Feb 28, 2020 7:42 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Feb 14, 2015 9:16 pm 
Offline

Joined: Mon Nov 03, 2014 8:48 am
Posts: 4
Hi Charles,

Could you provide a brief step-by step guide on how to make an .exe/ deploy/ publish a DirectX Game using the Visual Studio IDE?

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 15, 2015 1:23 pm 
Offline

Joined: Mon Dec 23, 2013 1:40 am
Posts: 37
Hi,

Maybe some of this is helpful to you https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

the FAQ on the left has some nice articles.

good luck!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 15, 2015 2:02 pm 
Offline
Site Admin
User avatar

Joined: Sat Jan 28, 2012 4:36 pm
Posts: 554
Thanks for the link Steve.

You also need to configure the Visual Studio settings so the Release build of your code does not require any additional DLLs. To do this follow these steps:
1. Right-Click your Project in the Solution Explorer window and select Properties.
2. Select Release configuration on the top drop-down menu.
3. Select Code Generation under Configuration Properties/ C/C++
4. Change the Runtime Library entry to Multi-threaded (/MT)

To prepare a game for distribution, change the Solution Configuration from Debug to Release on the top menu bar of Visual Studio. Then Build your program by selecting Build Solution under the Build menu. If there are no errors a Release folder will be created in your project folder. The .exe file is located in the Release folder.

_________________
Professor Kelly


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group