playMaker

Author Topic: HELP! Move an object  (Read 74 times)

MatiasHarder

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
HELP! Move an object
« on: August 14, 2017, 07:30:55 AM »
Is there any way that by pressing the letter "N" a game object will move right into a vector 2? Similar to what the movements of the players do.

Example.
Press N, the game object moved a box to the right at a respective speed.
RPG GAME 2D

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2288
    • View Profile
    • jinxtergames
Re: HELP! Move an object
« Reply #1 on: August 14, 2017, 05:43:28 PM »
Hi,
You can use "Get Key Down/Up"
Then "set Velocity" or "Add Force" or some other movement actions depending on your game