i have this routine in my key down (repeat) event:
- Code: Select all
if (animpos == nframes)
{
animpos = 0;
} else {
animpos++;
}
However, when i press the key and hold it my actor only rotates once? it should rotate over and over?
this may be obvious but i´m too blind to see the problem here. What am i missing?
Thanks!