Changing speed of Keyboard / Button moving  

Share your tips and tricks here or get help with any Panotour problem!
No bug reports (of any kind) in this forum!
User avatar
Topic author
Posts: 137
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 06, 2011 6:06 am
Location: AUSTIN, TX USA

Changing speed of Keyboard / Button moving

by ATXcloud » Tue Sep 24, 2013 8:39 pm


I've been looking at editing the speed of rotation for the keyboard and arrow buttons.
On the krpano's site there is and

It appears I would be editing/adding:
Code: Select all

to these lines in the main Build.xml

Code: Select all
    <plugin name="moveleft" crop=" 88|0|44|44" devices="flash+!tablet+!mobile" ondown="set(hlookat_moveforce,-1);" ondowncrop=" 88|88|44|44" onhover="setmenutext(leftmenutxt, Move Left);" onovercrop=" 88|44|44|44" onup="set(hlookat_moveforce,0);" style="leftstyleflash" x="145"/>
    <plugin name="moveright" crop="132|0|44|44" devices="flash+!tablet+!mobile" ondown="set(hlookat_moveforce,+1);" ondowncrop="132|88|44|44" onhover="setmenutext(leftmenutxt, Move Right);" onovercrop="132|44|44|44" onup="set(hlookat_moveforce,0);" style="leftstyleflash" x="195"/>
    <plugin name="moveup" crop="176|0|44|44" devices="flash+!tablet+!mobile" ondown="set(vlookat_moveforce,-1);" ondowncrop="176|88|44|44" onhover="setmenutext(leftmenutxt, Move Up);" onovercrop="176|44|44|44" onup="set(vlookat_moveforce,0);" style="leftstyleflash" x="245"/>
    <plugin name="movedown" crop="220|0|44|44" devices="flash+!tablet+!mobile" ondown="set(vlookat_moveforce,+1);" ondowncrop="220|88|44|44" onhover="setmenutext(leftmenutxt, Move Down);" onovercrop="220|44|44|44" onup="set(vlookat_moveforce,0);" style="leftstyleflash" x="290"/>

Would yield the desired effect.
However when I'm working with the: ondown="set(hlookat_moveforce,-1);" i'm not sure how/where keybaccelerate, keybspeed, & keybfrictin would be added. Would anyone of you be able to help me out?

Thank you in advance,


Ah ha! Editing the hlookat_moveforce,-1 to -,3 did the trick... Though that seemed to have only impacted to max speed. Curious if acceleration & friction can be altered too.
Last edited by ATXcloud on Tue Sep 24, 2013 9:01 pm, edited 1 time in total.
Howdy from Deep in the Heart of Texas!

Who is online

Users browsing this forum: No registered users and 2 guests