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
Users browsing this forum: No registered users and 1 guest