• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
MrJoshL

Should I Use MSVC For My Release Build?

7 posts in this topic

I'm in the process of writing a game in C, and I am wondering what compiler I am going to use a little ways in the future when I am building a release build for sale. My Linux version is compiled with GCC, but I have a choice to make with Windows. My current test-bed compiler is MinGW. I do not use Visual Studio, and my game does not leverage Direct3D at all. It uses OpenGL and OpenAL and DirectInput (DirectInput only on the Windows version, obviously). Here are my questions:

 

Almost all of my programming has been on Linux and BSD, so I'm new to the Windows crowd.

1.) Is it better performance-wise to use MSVC on Windows as opposed to MinGW?
 
2.) Is MSVC managed or native?
 
3.) I know that in C# you have that fancy build menu where you can add some properties (author, date, title, icon) etc. to your program. Does MSVC have that in a nice fancy build menu?
 
4.) Is the Express Edition compiler a step down from the others?
 
5.) As an IDE, not a compiler, do you recommend (for Windows) Visual Studio or Code::Blocks? I currently use Code::Blocks for both Windows and Linux development, as the project files can be used on Linux.
Edited by MrJoshL
0

Share this post


Link to post
Share on other sites
1) It varies, in general MinGW tends to be quite a few versions behind the linux version of gcc and the express edition of MSVC doesn't give you all the advanced optimization options, the exact performance you get depend heavily on your own code and the target architecture so just try both compilers to see which one works best.
The pro versions of MSVC usually outperform MinGW though.

2) Microsofts compiler produces native code for C and C++. (Allthough it can do managed code for C++/CLI atleast aswell)

3) Dunno.

4) Yes, some advanced optimization features (Profile guided optimization for example are not available in the express edition (or atleast weren't in the older versions, Havn't done much Windows Development in the past few years so this may have changed)

5) I'd recommend QTCreator, but Visual Studio is a solid option as well if you develop on Windows (The inability of the express edition to use plugins can be a bit of a pain)
I've never been a huge fan of Code::Blocks but i'm sure it works.

At the end of the day the choice of IDE is all about personal preferences, download a few and try them out to see which ones you like best. Edited by SimonForsman
2

Share this post


Link to post
Share on other sites

5) I'd recommend QTCreator, but Visual Studio is a solid option as well if you develop on Windows (The inability of the express edition to use plugins can be a bit of a pain)
I've never been a huge fan of Code::Blocks but i'm sure it works.

You'd prefer QTCreator to VS/Code::Blocks, even though he doesn't use any of that QT stuff? I always thought the IDE was designed to work well with design-your-own-gui-in-the-other-tab and would be useless if you want to write something else.

Edited by BloodyEpi
1

Share this post


Link to post
Share on other sites


5) I'd recommend QTCreator, but Visual Studio is a solid option as well if you develop on Windows (The inability of the express edition to use plugins can be a bit of a pain)
I've never been a huge fan of Code::Blocks but i'm sure it works.

You'd prefer QTCreator to VS/Code::Blocks, even though he doesn't use any of that QT stuff? I always thought the IDE was designed to work well with design-your-own-gui-in-the-other-tab and would be useless if you want to write something else.


it works just fine even without QT, and the Vim mode puts it roughly 50 miles above anything else(including VS) imo.
1

Share this post


Link to post
Share on other sites

it works just fine even without QT, and the Vim mode puts it roughly 50 miles above anything else(including VS) imo.


You can use Vim in (the non express versions of) visual studio, if you're into that kind of thing ;-)
1

Share this post


Link to post
Share on other sites

You'd prefer QTCreator to VS/Code::Blocks, even though he doesn't use any of that QT stuff? I always thought the IDE was designed to work well with design-your-own-gui-in-the-other-tab and would be useless if you want to write something else.

 

I prefer QtCreator over Code::Blocks, even when not using the Qt API. (I haven't tried Visual Studio)
Yes, it has built-in support for Qt and has a drag-and-drop GUI wizard, but it's perfectly usable without Qt, and is an excellent C++ IDE (and is cross-platform).

It has built-in support for Mercurial, SVN, Git, Bazaar, CVS, and other source control systems, if you want it, and support for CMake (though it uses its own QMake system by default, which I found easy to learn and sufficient for my needs), its intellisense is excellent too. It is very stable and rarely crashes (which are usually because MinGW crashes). Its syntax highlighting support for C++11 is mostly good, and improving, but it has a few problems with pre-compiled headers and debugging (which are both really MinGW/GCC's fault).

Edited by Servant of the Lord
1

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  
Followers 0