hi guys,
i have everything ready for car game. i just need to show my speedometer in any of the edges in blender screen when i start the game. i’m using blender 2.49 on ubuntu.
thanks,
MG
hi guys,
i have everything ready for car game. i just need to show my speedometer in any of the edges in blender screen when i start the game. i’m using blender 2.49 on ubuntu.
thanks,
MG
check the resource forum. I think at the first page you find the circular healthmeter. I’m pretty sure you could do the same way showing the speed.
Hello
the “classic” ways are:
You parent the speedometer object with the main camera or…
You place your speedometer in a new scene with a camera, and in the main scene you add:
Always Sensor - AND - Scene Actuator - Add Overlay Scene - thenameofthenewscene
Bye
tnx guys for quick reply.
I think your best bet is to do it on a new scene. Then use the logic bricks to add it as an overlay scene.
i appreciate your help. i’ll try with both suggestions.
MG
ok, so…
@ OTO
i tried your 2nd suggestion and it’s not working properly. i have few doubts:
tnx
Hello
ok. i did what you told me in the first checkpoint but 2nd is complicated.
should i connect the sensors in the 1st or 2nd scene? how to connect scenes to pass “data”? can you explain it little more thorough?
removed sorry
aaaaaaaaaaaah, finally. thanks! :RocknRoll:
one more question. how to connect speed that i’ve calculated in one of my own scripts with this speedometer and is it possible?
show me your blend? you just need to replace the variable: “speed = owner.getLinearVelocity()[2]” with “speed = youvar” !!!however!!! if you want a variable across scenes and scripts, in your script that has the speed in it: “GameLogic.speed = yourspeedvariable”
tnx for post. i will post blend as soon as i find some free time.