Mail Archives: djgpp/1998/02/03/21:46:04
Hi.
I've been planning to make a speedball kind of game.
The idea is, that there's some players trying to get a ball to
other teams's goal...
But again, one thing, that has always annoyed me is,
that when the ball moves around the screen
(I'd like to move it with float-numbers and use sin and cos
to get the dx, dy variables counted)
But the ball doesn't look smooth, when it moves.
Because it doesn't move a whole pixel/screen refresh,
it makes my eys to get wet etc. side effects.
So, should I only use angles 0,45,90,135,180,225,270,315 ?
And make the ball to move only 0,1 or 2 pixels?
But now, if the angle is 45, dx=1, dy=-1 and the ball looks like it
is going too slow...
And if i use 0 and 1 for the deltas, the ball moves too fast when the
angle is 45,
135, 225 or 315.
Annoying.
Is there any other solution than to make the screen resolution higher
and
forget the whole thing ever happened?
(I use mode 13h, but I'm planning to make Mode-X graphics someday...)
I know, that this is a silly question, but no I finally understand, why
I couldn't move freely in some other old games...
Well, thanks for your answers.
-Henri Ossi
- Raw text -