YesNoOk
avatar

velset (CNS) (Read 3002 times)

Started by JustNoPoint, October 01, 2015, 01:48:14 pm
Share this topic:
velset (CNS)
New #1  October 01, 2015, 01:48:14 pm
  • ******
    • www.justnopoint.com/
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,

Code:
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