I have to create a game in which there is a central character controlled by the user. The screen is supposed to scroll so that the user character never moves out of the user's view, but I don't know how to do this.
Does anyone know of any function I could use to achieve this?
the only way to do that is to manipulate the camera postion
if i were you, i would draw the whole scene and show just a part of it to the user, when the character moves i move the camera position
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
How do I manipulate the camera position?
Anyone?
What function allows me to move the camera position?
Last edited by WingedPanther; 03-24-2009 at 01:30 PM.
heres an external tutorial about moving camera
OpenGL
Simple GL Camera
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
Many thanks.
you are welcome
good luck with your project!
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks