Yeah man, you are right problem is in that part of code. I have no idea left in my mind how to animate player... I've tryed everything I know! I whant player to play "walk" animation when he moves with a shift key on, and run with out shift. All I've done is this:
Code:
if (my.animblend == stand) //if our current animation is stand 
{
	if(key_w > 0)
	{
		my.blendframe = walk_forward;
	}
	if (key_s > 0) // if we are moving
	{
		my.blendframe = walk_back;
	}
	if (key_d > 0) // if we are moving
	{
		my.blendframe = walk_right;
	}
	if (key_a > 0) // if we are moving
	{
		my.blendframe = walk_left;
	}
}


It's only walking animations, and as you sad, there is a problem, becouse of this -> "if (my.animblend == stand)" but if I change that animation doesn't work frown Any idea?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung