moving camera in 2d

Started by kappa, October 10, 2004, 19:30:57

Previous topic - Next topic

kappa

i been playing with lwjgl for a while now and have a nice 2d game running in it.

i was wondering if it was possible to move the camera and get a perpective view on it you know a bit like at 45 degree angle, it would be very cool if this was possible, a bit like final fantasy 6 on the world map(snes).

i was hoping someone could point me in the right direction because i'm not sure how i would go about this in lwjgl.

thanks

oNyx

Well, it's actually done in a pretty funny way. You don't move the camera at all - instead you move the world around it :D

"rotate" and "translate" are the magic words.

nehe (temporary down right now - duh)
chman's lwjgl stuff