answersLogoWhite

0


Best Answer

If you want to make an object follow another on demand (which i assume is your goal) then in the object you want, maske an action. For example - keyboard press F. In this action put what will happen.

There are basically three options (although there is probably some complicated code for advanced games).

1. Move Towards

X object name here.x

Y object name here.y

2. Step Towards

X object name here.x

Y object name here.y

3. Step Avoiding

X object name here.x

Y object name here.y

For all of these you have to specify the speeds of the object that is moving towards the other. And there are some slight differences in each but choose one that suits your game.

I hope this information was helpful.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you make an object follow another after a key press in Game Maker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

How do you do matrix operation in casio fx991ms?

To do matrix multiplication in calculator Casio fx-991MS follow the steps below:- 1] Enter in the matrix mod:- press MODE 3 times then press 2. 2] To enter the matrix:- press SHIFT and then 4. press 1 to select Dim. to enter the matrix. Suppose u hv to multiply the matri A with matrix B then seletect A by pressing 1 chose dimension for matrix A let m=2 so press 2 then '=' again let n=2 so press 2 then '=' Now, enter the values in matrix MatA11, MatA12, MatA21,MatA22 every time enter the value and then ' =' to enter another values.. remember values get stored in the sequence of row mean 11,21,21,22 now u feel all the values of Matrix A now to enter value of matrix B press SHIFT and again 4. seect Dim by pressing 1. this time chose Mat B and follow the steps same as u use to feel values in matrix A. after entering the values. u stored matrix A and B. 3]Now multiply Matrix A and Matrix B:- press again Shift then 4 and this time select option Mat by pressing 3 to multiply matrix A and matrix B press 1(select Mat A) then press Multiply operator(*/cross). again press Shift then 4 then press 3 and nw selec/press 2(select Mat B) then press '=' 4] you will get the another matrix Ans But the values are in the sequence of row to see next vaues in that matrix press '>' side of REPLAY button.


How do you convert decimals to fractions on the TI 85?

Example: 3/4 + 7/5• Input 3, press [/], and input 4• Press the [+] key• Input 7, press [/], and input 5• Press the [2nd] [MATH] [F5] [MORE]• Select [F1] (the convert-to-fraction function)• Press the [ENTER] keyThe result displayed should be 43/20.Example: (25_4/7) - 9/16• Press [(], input 25, and press [+]• Input 4, press [/], input 7, and press [)]• Press the [-] key• Press [(], input 9, press [/], input 16, and press [)]• Press the [2nd] [MATH] [F5] [MORE]• Select [F1]• Press the [ENTER] keyThe result displayed should be 2801/112.Example: 8/4 x 6/15• Input 8, press [/], and input 4• Press the [x] key• Input 6, press [/], and input 15• Press the [2nd] [MATH] [F5] [MORE]• Select [F1]• Press the [ENTER] keyThe result displayed should be 4/5.Example: (5_8/13) / (9/23)• Press [(], input 5, press [+],• Input 8, and press [/], input 13, and press [)]• Press the [/] key• Press [(], input 9, press [/], input 23, and press [)]• Press the [2nd] [MATH] [F5] [MORE]• Select [F1]• Press the [ENTER] keyThe result displayed should be 1679/117.


How do you divide on a caculater?

press the number you want to divide, next press the divide key, then press the number you want to divide it by and press =, you will have your awnser on the screen.


How can you transfer applications from one Texas Instruments calculator to another Texas Instruments calculator?

When using the TI-83 or 84, you connect the wires that should come with the calculator. Then, you must press Second and the button down 1 and right 1 on both calculators. On the receiving calculator, press the right arrow key and then Enter. On the sending calculator, select the programs you want to send and press Enter.


How do you make an object jump in game maker?

1. Make a objekt (player) 2. Add Create. 3. Drag in set Set Gravity. Set gravity to 360 and gravitation to 1. 4. Add key Press Up. Drag in the Set vertical speed. Set it to -6. 5. Add a objekt (floor). Set it as solid. 6. Go back to player. Add colison and choose floor. 7. Drag in Set vertikal speed and set it to zero. 8. Make a room, make a floor and place your character. 9. DONE! If you want it to walk. 10. On your character, add key press left. 11. Set horisontal speed to -6. 12. Add key press rigt. Set horisontel speed to 6. 13. Add key release for right and left. Set vertical speed to 0. 14. You now have made the easiest and best platform character that jumps!

Related questions

How do you make an obj follow the mouse until you press a button in game maker?

make a variable true until you press the button. in step event for the object use a move twards point action and set "x" to "mouse_x" and "y" to "mouse_y"


Another term that accurately describes the media is?

"The press" is another term that is accurately describes "the media."


How To make gravity in game maker?

To give an object gravity you have to click create and add "execute piece of code" but to get the code go to wikipedia highlight it ,then press ctrl c and go to piece of code and press ctrl v .


How do you operate an electric bread maker?

1. Press the ON button. 2. Put dough in bread maker. 3. Press START. 4. Hope that it works.


Why as a sensation caused in the local press?

[object Object]


How do you make your popcorn maker work on club penguin?

press the left arrow button


How do you reveal a hidden object in Blender?

Just press Alt+H in object mode


Where can one purchase a pancake maker?

You can purchase a pancake maker online from retailers such as Amazon. Once on the website, type "Pancake Maker" into the search field at the top of the page and press enter to bring up the items.


How do you make your voice sound like your voice when you talk into a microphone?

go to windows movie maker,press narration and talk.then to my computer where the start button is,then press your music file drag the narration in windows movie maker and there.you have your sound.hope it works.


How do you levitate objects in Halo 3 Forge?

Press 'up' on the Directional Pad. Move up to something and when the targeting reticule goes green with a small hand symbol near the bottom, press 'A' once. Press 'A' again to drop the object. Dropping a tank on another player can get an award.


What must you do to display a menu in Groupwise?

Press Alt +V to view menu


How can you delete things in forge on halo 3 because when i press Y it doesn't work?

press A then press Y to delete the object.