How to Make an FPS With Game Maker

Save

Game Maker is intended as a tool to create two-dimensional games, but the Pro Edition has the ability to generate a three-dimensional environment. First-person shooter (FPS) games require a three-dimensional environment to simulate looking through the eyes of a character. Several steps are required in making your virtual world hospitable to three dimensions that requires some knowledge of Game Maker.

  • Create a horizontal wall object (from the Object Properties window).in the 2D "sandbox" where you can place objects and define them.

  • Create a vertical wall object in the 2D sandbox.

  • Create a base wall object in the 2D sandbox. The base wall object should be set to have no behaviors and should be solid. The name of the object then should be pasted into the "parent" field in any other wall object to copy its specifications.

  • Place a player object in the sandbox. It can be represented by any shape or color, since the player will never see the character. Place a mark (shape or color) on one side of the object to identify which way it is "facing." In the object's end step, set "image_angle" to "direction."

  • Set the collision with the base wall object to make the player stop moving. With the base object set as the parent of all other walls, every wall will cause the player to stop moving.

  • Enter the following commands into the command prompt of the Game Maker interface (this serves to turn on the 3D features of the game, makes objects able to "hide" behind one another, turns off lighting, forces objects to load both sides of a polygon instead of just the side facing the character, and makes textures improve when they are closer):

    {

    d3d_start();

    d3d_set_hidden(true);

    d3d_set_lighting(false);

    d3d_set_culling(false);

    texture_set_interpolation(true);

    }

Tips & Warnings

  • Textures can be downloaded online if you are unsatisfied with the Game Maker selection.

Related Searches

References

  • Mark Overmars; "A First Person Shooter"; 2009.
  • Photo Credit Ciaran Griffin/Lifesize/Getty Images
Promoted By Zergnet

Comments

You May Also Like

  • Do PS1 Games Work on the PS2?

    When the PlayStation 2 was released in 2001, one of the system's selling points was its backward compatibility with PlayStation 1 games....

  • How to Make a Sandbox Cover

    The cool, squeezable texture of sand helps your child's creative juices flow and can keep her occupied for hours at a time....

  • How to Make an RPG in Game Maker

    The creation of an RPG, or any computer game, can be an arduous but extremely rewarding process. Large software companies can spend...

Related Searches

Check It Out

How to Build and Grow a Salad Garden On Your Balcony

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!