Go to GoReading for breaking news, videos, and the latest top stories in world news, business, politics, health and pop culture.

How to Make an FPS in GameMaker

104 14
    • 1). Enter the following commands into Create Event: 
      d3d_start();//Start 3D Mode
      d3d_set_perspective(true);//Enables the use of a perspective projection
      d3d_set_culling(true);//Indicates to start backface culling
      d3d_set_hidden(true);//Enables hidden surface removal
      direction=0;

    • 2). Open the "Object Properties" window and load the horizontal wall object. Next, load a vertical wall object and create a solid base wall object and select the "No Behaviors" option. Paste the name of the object into the "Parent" field of other similar objects, such as the walls of your level. Use as many horizontal, vertical and base wall objects as you need to create your level design. 

    • 3). Load the player in the level. Place a mark next to the character to identify the direction he is facing by setting the object's "image_angle" end step to "direction." 

    • 4). Specify collision parameters with the player and base wall objects to stop the player from moving. 

    • 5). Turn on the 3-D features of the game with the following command prompt: 
      {

      d3d_start();

      d3d_set_hidden(true);

      d3d_set_lighting(false);

      d3d_set_culling(false);

      texture_set_interpolation(true);

      }

Source...

Leave A Reply

Your email address will not be published.