Game Maker 8.1: Fake 3D FPS (Part 2), How to Unlock a Door & Change Face icons.

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=EE4VtaG73fc



Duration: 23:18
79 views
0


If you would like to Donate with PayPal, click here, https://bit.ly/2VjqVYP, thank you.

(Note:) If you don't have Game Maker 8.1. You maybe able to use Game Maker HTML 5.
This video also talks about how not to get hit when shooting at a barrel, but if your using you're knife at close range, you will get hit.

Later, 2/10/19 I found out how to make shot gun come back after you pick up just the ammo, not another shot gun. So for an example, after picking up shot gun and using the ammo, then he goes back to the knife. Once you collect ammo, you press a key on keyboard for the shot gun to return without having to pickup another shot gun. Will do another video on this next week to show you how.

Visit my Search Arena site: http://mcanime1.wixsite.com/mcanime

GM81 File: https://bit.ly/2WUFByV

placeholderclose and placeholderopen

Events:

Create

Actions:

target = obj_player;
myspeed = 0;
length = 0;
place = 0;

Events:

Step

Actions:

x = obj_player.x + lengthdir_x(length,place);
y = obj_player.y + lengthdir_y(length,place);
place += myspeed;

doorwithkey, make sure its parented with obj_wall_basic

Events:

Create

Actions:

{
x1 = x-16;
x2 = x+16;
y1 = y;
y2 = y;
z1 = 32;
z2 = 0;
tex = background_get_texture(texture_door_key);
}

obj_cardget, obj_needcard, getcard,

All are going to getting the same code to stay on screen while moving for x and y position. This will all be position below the face icon, using the x and y coordinates.

Events:

Step

Actions:

x=view_xview[0]+500
y=view_yview[0]+100

Events:

Draw

Actions:

draw_sprite(sprite_index,image_index,view_xview[0]+500,view_yview[0]+100);




Other Videos By MC Designs


2019-03-30Game Maker Studio: How to Master Gravity, Jump, & Wall Collision.
2019-03-23Game Maker Studio: How to Create a Flickering Light Glow.
2019-03-16Game Maker Studio: How to Create a Different Pause Screen.
2019-03-09Game Maker Studio: How to Create Slide in Fade using Code.
2019-03-09Game Maker Studio: How to Create Fade In using Code.
2019-03-03Game Maker Studio: How to Master Resetting Score & Timer.
2019-03-02Game Maker 8.1: How to Create a Moving Fireball.
2019-02-23Game Maker 8.1: (Part 2) How to Create a Second Gun, & Ammo Countdown.
2019-02-23Game Maker 8.1: (Part 1) How to Create a Second Gun, & Ammo Countdown.
2019-02-16Game Maker 8.1: (Part 3) How to Reuse Shot Gun, once you have Ammo & Custom Message.
2019-02-10Game Maker 8.1: Fake 3D FPS (Part 2), How to Unlock a Door & Change Face icons.
2019-02-02Game Maker 8.1: Fake 3D FPS (Part 1), How to Pickup Gun, Ammo, & Top Down.
2019-01-26Game Maker 8.1: Fake 3D FPS, How to Create Monsters.
2019-01-26Game Maker 8.1: Fake 3D FPS, How to Create Getting Hit Face Changes.
2019-01-19Game Maker 8.1: Fake 3D FPS, How to Create a Begin & End Screen.
2019-01-19Game Maker 8.1: Fake 3D FPS, How to Create a Custom Message Box for Ending Game.
2019-01-13Game Maker 8.1: Fake 3D FPS, How to Get Hit, End Game, Destroy & Stop at Barrels.
2019-01-12Game Maker 8.1: Fake 3D FPS, How to Create a Weapon, Health Bar, Doors, & Plants.
2019-01-06Game Maker 8.1: (Part 2) How to Create D3D Setup, Camera View, Player, Floor, Ceiling, & Walls.
2019-01-06Game Maker 8.1: (Part 1) How to Create D3D Setup, Camera View, Player, Floor, Ceiling, & Walls.
2018-12-24Game Maker Studio: How to Collect Items in you’re Item Box, using Image Indexing.



Tags:
windows
pc
computer
3d
3D
fake
game
maker
gm81
maze
monster
barrels
walls
plants
health
ammo
gun
shoot
fps
first
person
shooter
move
walk
key
collect
card
door
unlock
lock
learn
how
teach
find
search
instance
create
change
grab
place
holder
coordinates
background
mirror