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!

Tips & Warnings

  • Be sure to look over the demo projects the PopCap has included with the framework. They are well commented and should get you going with how the framework is used.

  • If you get linker errors that mention LIBCMTD.lib then in your project properties dialog, go to C/C++ -> Code Generation and change the Runtime Library to Multi-threaded Debug from Multi-threaded Debug DLL

  • Be sure your executable can find Bass.dll (included from PopCap). Put it in the same directory as your executable or in your Windows directory.

Related Searches:

Comments

  • Chris Cowherd Nov 22, 2006
    @mutantemc - I checked out your screenshot. The Visual Studio linker cannot find SexyAppFramework.lib to link it into your executable. You can either 1) Add the SexyAppFramework project to your solution. (check out Step 3) or 2) Add the path to the location of SexyAppFramework.lib to your project's Linker -> General -> Additional Library Directories path.
  • tommyboy2k Sep 29, 2006
    This is a great overview. PopCap makes some of the best casual games out there so leveraging their framework and years of game development expereince seems like a great starting point.

You May Also Like

  • How to Install PopCap Games

    PopCap Games (www.popcap.com) provides online and downloadable games. Downloading a PopCap game lets you play a trial version that is limited to...

  • How to Delete Popcap Games

    PopCap has released dozens of downloadable games spanning a variety of genres. If you've had your fill of enjoyment from these games,...

  • What Is Bejeweled?

    The casual-game developer PopCap Games got its start with "Bejeweled," a popular match-three puzzle game that has spawned several sequels. "Bejeweled" has...

  • Cheats for Mobile Phone Games

    With every new video game that comes out on every system, there are usually cheats built in that are coveted like trade...

  • Popcap Games for Vista

    PopCap Games, a web-based game developer that is self-proclaimed to be "Home of the World's Best Free Online Games" is known for...

  • The History of Conceptual Framework

    The history of conceptual frameworks is little different than the history of epistemology, or the theory of knowledge. How our perceptions count...

  • How to Unlock Bookworm Deluxe

    Bookworm Deluxe is a popular word puzzle game created by PopCap Games that is available for Windows and Mac computers, as well...

  • How to Install a Pop Cap Game

    PopCap is a gaming company offering online and downloadable games on its website. An extensive library of game titles are available, including...

  • How to Debug in Visual C++

    Debugging is the process of finding defects in the source code of a program. Often, it's time-consuming and exhausting. Its efficiency depends...

  • "Popcap" Cheats

    "PopCap" is an Xbox 360 video game that was released in 2007. The full title of the game is "PopCap Arcade Vol...

  • How to Uninstall PopCap Bookworm Deluxe 1.0

    Proper uninstallation is very important when the decision is made to remove a program from a computer. Uninstalling incorrectly can create registry...

  • Pop Cap Games to Play

    Pop cap games can be a fun way to bond with your children and use your imagination. For the following games, you...

  • Zuma Mobile Games

    PopCap Games' addictive puzzle video game "Zuma" involves matching spheres of the same color in a limited amount of time, namely before...

  • How to Install & Download Games

    Personal computer (PC) games come in a variety of types including action, time management or puzzle, for example. PC games require an...

  • What Are Freud's Theories of Personality?

    Sigmund Freud was a 19th-century Austrian doctor who pioneered the field of psychiatry. His research was revolutionary for its time and generated...

Related Ads

Featured