velset (CNS) (Read 1347 times)

Started by Just No Point, October 01, 2015, 01:48:14 pm
Share this topic:
velset (CNS)
New #1  October 01, 2015, 01:48:14 pm
  • ******
Part of the Statedef
You can use velset to set P1's velocity at the beginning of the state. The format is a number pair, representing the x velocity and the y velocity respectively. Omitting this line will leave P1's velocity unchanged. For example,

velset = 4,-8
makes P1 start moving diagonally up and forwards.

There is an exception to this. Even if you have velset = 0, attacking P2 in the corner will push P1 away.
Last Edit: October 13, 2015, 07:55:16 pm by Odb718