olls / graphics

A console based graphics engine for simple Unicode games and animations.
GNU General Public License v3.0
11 stars 4 forks source link

Vectors #3

Closed olls closed 10 years ago

olls commented 10 years ago

The vectors seem to be slightly off, if a vector is continuously rotating, it seems to jump slightly sometimes (this can be seen in the https://github.com/olls/graphics/blob/master/example.py file), not sure if this is just an illusion of the size of the pixels though. <-- This is just an effect of below problem not being dealt with properly by moving the sprite.

Another problem with the vectors: If you want a line to pivot from a point, you have to keep moving the position of the sprite to make it work, this is because the sprites are bounded by a box and positioned from the top left corner. There is not really a way to fix this, it is just something to keep in mind when using vectors.