(Graphics by DST btw, his 8bit things, awesome)
Anyway, heres my code for the animpos.
- Code: Select all
animpos = -directional_velocity/8;
I've also tried:
- Code: Select all
animpos = directional_velocity/8;
but the arrows don't appear right o.O
animpos = -directional_velocity/8;
animpos = directional_velocity/8;
angle=direction(xprevious, yprevious, x, y);
animpos=angle/45;
animpos=direction(xprevious, yprevious, x, y)/45;
int i=direction(xprevious, yprevious, x, y)/45;
animpos = i;
int i=(direction(xprevious, yprevious, x, y)/45)-1;
animpos = i;
animpos=(int)(nframes+((270-direction(xscreen, yscreen, xmouse, ymouse)+22.5)/45))%nframes;
Users browsing this forum: No registered users and 1 guest