Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
27th June, 2003 at 01:22:11 -
If the aimer is mouse controlled, just set the scrolling to the aimer. Then if you want 2 get tricky - have like a sniper view, so if the player is moving, scroll on the player. And if he's not, scroll on the aimer.
Yeah, and aimer like worms is what I'm looking for. Another example would be the one in Dark War II, except that it would be able to do a full 360 rotation.
Shab: use z? I should explain that I'm using MMF and therefore I have no "z" value.
I meant the keys on the keyboard, sorry traditional japanese control scheme's (I was born in the wrong country). But yeah here, I'll text draw it (lucky you)
Normal-
* Crosshair
O Character
presses Z
* Crosshair
O Character
presses Z some more
*
O
------------
See? the crosshair is rotating around the character using the Z and X keys to control it.
Is that a little clearer?
So you want to rotate the crosshair around the character.
I don't know the code for it, but with the
advanced math object, you can create a circle like
movemnt with increasing and decreasing angle.
You even can go 360 degrees.
In order to understand this you need to know some
trigonomitry.
in this case the start X and Y co-ordinate would be the players co-ordinates and angle would be added to or subtracted from based upon the user pressing up or down or what ever keys you choose and the radius would be a distance of how far you want the aimer from the player.
I believe you need the advanced math object for TGF to use sin and cos but i aint sure, but you can do this in MMF withough it.