Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ex ShinRa
18
Years of Service
User Offline
Joined: 30th Nov 2006
Location:
Posted: 4th Dec 2006 22:24
Okay im working on a game where the levels are all 2D. But the characters are 3D Models. Im having a problem where if the player is on the far left or far right side of the screen and the down arrow key is pressed the model goes diagonally down instead of straight down.

The level is loaded by a single image pasted onto the screen. With "DRAW TO BACK" and the model's Z position at 45 in order for it to be able to move correctly. If the Z position is any lower the model will move to quickly even at a rate of 1. Am I going about this all wrong? Or is there a way to prevent the diagonal slant from happening?

{-Sylent Studios-}
Krilik
19
Years of Service
User Offline
Joined: 16th Mar 2006
Location: Arizona, USA
Posted: 5th Dec 2006 05:00
The model isn't moving diagonally, its moving in a straight line but the position of the camera makes it look like its moving diagonally.
Kyhoshi
18
Years of Service
User Offline
Joined: 21st Jun 2006
Location: Somewhere over the rainbow.
Posted: 21st Dec 2006 06:30
put this at the top of your code


(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 06:35
perhaps the camera aspect command would resolve that.

Login to post a reply

Server time is: 2025-05-26 03:41:23
Your offset time is: 2025-05-26 03:41:23