Vector explaination(?)

Discussion and feedback on Construct 2

Post » Fri May 03, 2013 7:05 pm

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
B
2
Posts: 7
Reputation: 166

Post » Fri May 03, 2013 7:29 pm

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.
Image ImageImage
B
167
S
50
G
159
Posts: 8,168
Reputation: 102,932

Post » Sat May 04, 2013 4:34 am

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~
B
2
Posts: 7
Reputation: 166

Post » Sat May 04, 2013 6:04 am

[QUOTE=ratulrafsan] 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~[/QUOTE]

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 itAphrodite2013-05-04 06:05:30
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Sat May 04, 2013 9:59 am

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! jbadams2013-05-04 10:00:30
B
32
S
8
G
2
Posts: 110
Reputation: 3,648


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests