Moving
Posted: Mon Dec 31, 2007 11:57 am
Hello!!! Okay,i've got a problem: when i'm doing a special attack,the cuurrent character is able to move,and to let away items sfx.How should i stop this?
Azou wrote:So on key for moving,i should write this
if (movable==1)
x = x + 3;
if(movable==0);
x = x + 0;
Is it that?
if (movable != 0)
{
x = x + 3;
}
x = x + 3*movable;
Fuzzy wrote:which makes it just one line