Hey all,
I'm not really a noob but I have a noob question with DBPro. I'm working on a 3D update of Atari 2600 Combat, and I have a question on how to orient my tank. You see, when I load the tank model in, and use the Move Object command with a positive integer, the tank moves backward. There's got to be a way for me to orient it so when I use a positive integer, it moves forward.
Here are two screenshots that outline my problem.
The original tank position.
The tank position which, with my code, occurs when I use 'move object objPlayer1, -10'
I would rather have it so I could use 'move object objPlayer1, 10'
I usually hate asking for help for easy questions, I always scan the manuals and everything else first. I found a fiew orient type commands with DBPro, but I don't think they accomplish what I'm thinking. To be thorough, I've included a snippet of my code with the offending negative integer.
if (arrLevel(i, j) = PLAYER)
show object objPlayer1
position object objPlayer1, objX#, objY#, objZ#
rotate object objPlayer1, -90, 0, 0
move object objPlayer1, -10
endif
Thanks,
- JeKu
-- http://www.automatongames.com --
-- http://www.jeku.com --