Vector explaination(?)

0 favourites
  • 5 posts
From the Asset Store
25 game vector cars
$4 USD
50% off
25 high-quality cars. This asset is perfect for a side scrolling game, or even a turn based RPG type game.
  • Hi~

    I know its stupid of me...but can any one please explain me vector X ,vector Y...etc stuff related to vector in construct 2?

    I don't understand it.

    please,I would really really appreciate it..

    Thank you

  • That type of vector is basically a direction with, or without force.

    It can be thought of as the x, and y with an angle.

    Think of a bullet trajectory. The way it is heading is its vector.

  • Thanks for the reply :')

    Can you explain me with an example?

    such as,this one(can't upload photo from phone :/ )

    keyboard>on F pressed>>player:set platform vector Y to player.Y-5

    This is suppose to make my player fly.It works.But I don't understand it & don't know how to modify it.

    Thanks again~

  • Thanks for the reply :')

    Can you explain me with an example?

    such as,this one(can't upload photo from phone :/ )

    keyboard>on F pressed>>player:set platform vector Y to player.Y-5

    This is suppose to make my player fly.It works.But I don't understand it & don't know how to modify it.

    Thanks again~

    Vector Y and Vector X are another method of describe a vector (the other one is with a angle and a strengh)

    In fact, the larger the value of the Vector Y is, the quickier your player goes down or rise, the sign (+ or -) define if you will go Down or Up

    EDIT: Also, don't forget the gravity can influence the vector Y after you set it

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you'd like an understanding of how vectors work, try Math for Game Developers: Intro To Vectors and Math for Game Developers: Advanced Vectors, or alternatively Vectors and Matrices: A Primer. These obviously aren't specific to Construct, but I think it's the underlying theory you want explained.

    Hope that's helpful! <img src="smileys/smiley1.gif" border="0" align="middle">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)