The default is obviously, right moves right, up moves up...
Up and right moves the Sprite at 45 degrees...
That is what I want to change... I want up and right to move the spite at 50 or 60 degrees...
Develop games in your browser. Powerful, performant & highly capable.
You can control this by setting Vector Y, something like this:
Keyboard Right key is down
Keyboard Up key is down
Character set Vector Y to -(self.8direction.vectorX*0.7)
So the vertical speed will be 70% of the horizontal speed.