Quote from: Pablo on Fri 08/07/2005 12:00:21
I was waiting for the additional rules and not thinking what my game would be about without the additional rules.
I presume that was the idea...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Pablo on Fri 08/07/2005 12:00:21
I was waiting for the additional rules and not thinking what my game would be about without the additional rules.
// round off the position
characterX = IntToFloat(player.x) + 0.5;
characterY = IntToFloat(player.y) + 0.5;
else if (newDirect == DIR_DOWN) {
dist = TryStraightMove(dist, 0, 1);
}
player.x = FloatToInt(characterX);
player.y = FloatToInt(characterY);
}
}
oldDirect = Direct;
// now animate the character
if (Direct != DIR_STOP)
{
animFrame += 0.1;
if (animFrame >= 10.0)
{
animFrame -= 9.0;
}
// change these if you only have four directions
if (newDirect == DIR_DOWN_LEFT) player.Loop = 6;
else if (newDirect == DIR_DOWN_RIGHT) player.Loop = 4;
else if (newDirect == DIR_UP_LEFT) player.Loop = 7;
else if (newDirect == DIR_UP_RIGHT) player.Loop = 5;
else if (newDirect == DIR_LEFT) player.Loop = 1;
else if (newDirect == DIR_RIGHT) player.Loop = 2;
else if (newDirect == DIR_UP) player.Loop = 3;
else if (newDirect == DIR_DOWN) player.Loop = 0;
player.Frame = FloatToInt(animFrame);
}
else {
// TODO: set the standing frame based on oldDirect
player.Frame = 0;
}
Quote from: Anarcho on Wed 06/07/2005 17:44:24
I've mentioned it before, we impovershed americans who can't make it out to Greece or England or upstate New York should have an insurgent Amerittans ourselves.
Quote from: Largo on Wed 06/07/2005 23:54:26
Intresting topic, only problem is that I can't draw female characters.
Quote from: Pumaman on Wed 06/07/2005 16:22:56
I'm not sure whether this is a bug or not. As a player I think I would find it annoying if moving the mouse a certain distance in one direction and then in the other didn't end my pointer back up at the same place.
Anyone else got any thoughts on this?
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.443 seconds with 20 queries.