Thread: Simple Question: Game from start to finish.

  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    Simple Question: Game from start to finish.

    Can the game created by Ben Merchant as the exercise be created in CodeBlocks? Because, the tutorials are made for code blocks, the c++ ones and Ben Merchand is working on Visual Studio for the development of the game. So my concerns are if there will be a must to set up Visual Studio after finishing the CodeBlocks tutorials by Alex?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    I think you need to post some links to whatever it is you're talking about.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    I took a swig of the "Kool-aid".

    No. The relevant tutorials seem to use "MFC"; you shouldn't follow that tutorial.

    There are a lot of decent, portable utility libraries for making games and tutorials for all them; I suggest searching for "SDL", "SFML", or "Allegro".

    Soma

    Creating an MFC-Based Game - From Start to Finish - Cprogramming.com

  4. #4
    Registered User
    Join Date
    Jun 2013
    Posts
    5
    Quote Originally Posted by phantomotap View Post
    O_o

    I took a swig of the "Kool-aid".

    No. The relevant tutorials seem to use "MFC"; you shouldn't follow that tutorial.

    There are a lot of decent, portable utility libraries for making games and tutorials for all them; I suggest searching for "SDL", "SFML", or "Allegro".

    Soma

    Creating an MFC-Based Game - From Start to Finish - Cprogramming.com
    Why MFC is so that bad?

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    MFC is not bad for what it was designed for....Windows desktop applications. It is bad for games and game loops in general although it can be done. The worst part about it has nothing to do with MFC and everything to do with GDI. You do not want to do graphics for games in GDI.

    EDIT:
    Now that I think about it you probably don't want to do any kind of graphics in GDI. Don't...just don't. You will thank me.

    Now you can mix MFC and Direct3D or OpenGL. Run D3D or OGL in a window and pass in the HWND of one of your MFC windows be it MDI or SDI. But if you are going to do this it would usually be for a level editor or some tool. The game would be fullscreen or windowed but would definitely not use MFC.
    Last edited by VirtualAce; 06-24-2013 at 10:33 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I want to start on a game
    By LAURENT* in forum C++ Programming
    Replies: 3
    Last Post: 05-08-2012, 12:43 PM
  2. A Simple 2D Game- Where do I Start?
    By bengreenwood in forum Game Programming
    Replies: 13
    Last Post: 07-28-2008, 03:25 AM
  3. How to start a game...?
    By TaraTheCasper in forum Game Programming
    Replies: 30
    Last Post: 10-24-2004, 09:20 PM
  4. Replies: 2
    Last Post: 04-29-2002, 11:52 PM
  5. how to start with game
    By Unregistered in forum Game Programming
    Replies: 4
    Last Post: 09-27-2001, 08:18 AM

Tags for this Thread