compass

Im working on the UI for my third person adventure game and im having trouble with the compass.

I will have a circle mesh for the compass with a compass texture on it

i used the mouselook.py script for my character movement and im wondering if there is a way to have the circle rotation correspond with the movement of the mouse

Why not just change the drot(z) value applied to the character to a drot(y) value applied to the circle?

You can just add a motion actuator to the circle, and link it to the mouselook script. Then add a few lines to the mouslook script to get the new actuator, say that circle.drot(y) = char.drot(z) and apply the new actuator.

i actually have not coding experience lol, i only used that one script so that i could rotate my player, i do understand wat ur saying tho

Then U will have to learn python, or you will fall like all the MMORPG noobs.

Here’s a tutorial. You’ll have to first learn basic programming. Come on, do it or don’t do it. It will be easy after you learn it. Don’t be lazy.

http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python/Contents

I recommend doing all the challenges without cheating. That way you’ll know more.
Then, a good introduction to BGE python (After you know what a module is, then you’ll know the difference between BGE python and Python…)

http://blendenzo.com/tutBeginningBGEPython.html

I actually found this very useful.
You’ll have to start small, with one weapon FPS games and stuff.
This won’t be so hard, you just don’t give up. This is the way it is.

And anyways, I’ll post a compass example. And look at this FPS tutorial by Captain Oblivion, it has a perfect Mouse Look:

http://blenderartists.org/forum/showthread.php?t=120031&highlight=fps+gun

If you’re on a hurry, I can help you with Python stuff. I will even give you a compass example, if you want, and you can send me your blend and I’ll change the mouselook.

im not lazy lol, ive been reading python for dummies, python power and a lot of other python literature for the past couple weeks

thanks for the links, im doing the tutorials now

hey anyone can help me with this small compass issue ?