Previous Thread  Next Thread

chat icon Mouse Look Script not working in 2.5

GoshFather

Posted: Tue May 11, 2010 11:55 pm
Joined: 11 May 2010
Posts: 4
I have a problem that is probly easily fixed, yet I dont know how to do it. You see, the game that I have been currently working on in blender 2.49a has a simple mouse-look script and works fine in 2.49a. However, when I open the game file in the new 2.5 Alpha 2, or any 2.5 version for that matter, the script doesn't seem to work when I start the game engine. Any suggestions?
Reply with quote


stiv

Posted: Wed May 12, 2010 12:17 am
Joined: 05 Aug 2003
Posts: 3491
2.5x has a different API. Scripts need to be ported over to work.
Reply with quote


GoshFather

Posted: Wed May 12, 2010 5:28 am
Joined: 11 May 2010
Posts: 4
stiv wrote:
2.5x has a different API. Scripts need to be ported over to work.
How would I go about doing that?
Reply with quote


stiv

Posted: Wed May 12, 2010 2:43 pm
Joined: 05 Aug 2003
Posts: 3491
By changing the old script so it uses the commands from the new Application Programming Interface (API).
Reply with quote


GoshFather

Posted: Thu May 13, 2010 7:05 am
Joined: 11 May 2010
Posts: 4
stiv wrote:
By changing the old script so it uses the commands from the new Application Programming Interface (API).


Thanks, and one more thing. I've noticed that 2.5 now features armature constraints in the game engine, So, I make the constraint and name it. After that, I go to the logic tab and set up the "Armature" actuator and select "enable", then I enter the name of the bone in the "Bone" slot. However when I enter the name of the constraint in the "constraint" slot, it doesnt register and stays blank. Am I missing something?
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group