Game Maker 8.1: How to Make Card Key go, from Top to Bottom?

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



Duration: 8:19
33 views
0


Visit my Search Arena site: https://searcharena.wordpress.com

Paypal Donate: https://bit.ly/30e8VDZ

GM81 File: https://bit.ly/3mBg3DV

Note: Tried to make Card Key Hover, I'm not sure what the "Z" coordinates are to make it go up and down in the air for 3D. So, I had to use the "Y" coordinates to make it go from top to bottom, on the ground. The "X" coordinates made Key go through the wall, side to side. Z goes top to bottom in air.

Note: Not in video, I added two walls on each side for the Card Key, so the card does not go to far from location. obj_wall_obj_card make sure its solid, and collision is on obj_card and once it hits the wall it will do a reverse direction.


obj_card

Events:

Create

Actions:

direction = choose(180,0);
speed = 0.2

Alarm 0 for 5 sec.

Events:

Alarm 0

Actions:

direction = choose(0, 180); .
speed = 0.2

Alarm 1 for 5 sec.

Events:

Alarm 1

Actions:

Alarm 0 for 5 sec. ///So this means, it goes back and repeats the movement /////for the Card Key.




Other Videos By MC Designs


2020-11-07Game Maker Studio: How to Slow Down Animation, without using Several Images?
2020-10-31Game Maker Studio: How to Create Animated Score Points, using Code?
2020-10-24Game Maker Studio: How to Create a Character Select Screen?
2020-10-11Game Maker Studio: (Part 2) How to Pickup, Drop, & Throw an Item?
2020-10-11Game Maker 8.1: How to Throw a Grenade?
2020-10-04Game Maker Studio: (Part 1) How to Pickup & Drop an Item?
2020-10-03Game Maker Studio: How to Create a Fade In & Fade Out, using Code?
2020-09-25Game Maker Studio: How to Create a Flame & Smoke Effect?
2020-09-20Game Maker 8.1: How to Create Key Hover, & Door Opening from the Bottom to the Top?
2020-09-19Game Maker Studio: How to Create a Custom Load Message?
2020-09-19Game Maker 8.1: How to Make Card Key go, from Top to Bottom?
2020-09-12Game Maker Studio: How to Create Orb Hover?
2020-09-12Game Maker Studio: How to Create a Different Spin, using Code?
2020-09-06Game Maker Studio: How to Spawn Stars in Space?
2020-09-06Game Maker Studio: How to Click on a Button for Full Screen?
2020-09-05Game Maker 8.1: How to Cycle you're Weapons & Fixing Glitches?
2020-08-30Game Maker Studio: How to Create a Animated Torch with Light Follow?
2020-08-22Game Maker 8.1: How to Create a Name Bar & Blood Splatter Effect?
2020-08-16Game Maker Studio: How to Collect, Cycle, & Use you're Items?
2020-08-15Game Maker Studio: How to Create a Blood Splatter Effect?
2020-08-08Game Maker Studio: How to Create Swing Axes, using Smooth Image Angle Rotation?



Tags:
game
maker
8.1
teach
learn
how
show
windows
pc
computer
move
movement
direction
reverse
hover
collect
3d
fake
vspeed
hspeed
speed
choose
key
card
amount
collision
object
solid
obj
side
coordinates
top
bottom