|
I'm not exactly experienced in 2d programming
but perhaps you could create a look_at function that focuses the camera on a
specific coordinate place, then just find the characters XY coordinates, then
send those to the lookat function?
First of all, thanks for the reaction on my 2D movement problem. But
now I've a new problem. Again, in a 2D game, how can I program that the
camera follows the a charackter and holds it, for example, in the
middle of the screen??
Thank you
|