Hobbies And Interests

How to Get Started with the PopCap Game Development Framework

If your ready to try your hand at making a video game for the PC and make your fortune in the Casual Games market, the PopCap Games Framework is a great place to start.

It's a proven, mature and well tested framework which you can base your new game on. Getting your development environment set up is the first step.

Things You'll Need

  • Visual Studio C++ Express, 2003 or 2005
  • PopCaps game development framework
  • DirectX SDK
  • An idea for a game
Show More

Instructions

    • 1

      Download and extract PopCap's game development framework from http://developer.popcap.com

    • 2

      Create a new empty Win32 project

    • 3

      Add the PopCap Framework project to your solution.

      Do this by going to File -> Add... -> Existing Project...

      Navigate to your PopCap Framework directory and load the project under: source/sexyappframework/SexyAppBase.vcproj

    • 4

      Add dependency libraries: winmm.lib and wsock32.lib

      - Right-click your project and select Properties.
      - Change the Configuration to "All Configurations"
      - Under Linker -> Input -> Additional Dependencies add:
      winmm.lib wsock32.lib
      - Don't close the dialog. You'll use it in the next step.

    • 5

      Add the PopCap's SexyAppFramework source directory to your include path.

      - Under C++ -> General -> Additional Include Directories add the path to your PopCap Framework source directory.

    • 6

      Add the DirectX include and lib directories to your development environment. The framework needs to be able to find this.

      - Select Tools -> Options...
      - Go to Projects and Solutions -> VC++ Directories
      - Add the path to your DirectX include directory in the Include files section
      - Add the path to your DirectX lib directory in the

    • 7

      And now some code. Add a Main.cpp file to your project. Include the SexyAppBase.h header and create a standard WinMain function. Everything should build. Your ready to start coding!


https://www.htfbw.com © Hobbies And Interests