Advertisement
pedroadmn

Sensor Gravity 2

Apr 14th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 0.34 KB | None | 0 0
  1. <VariableBinders>
  2.     <SensorBinder type="gravity" rate="60">
  3.         <Variable name="gravity_x" index="0" />
  4.         <Variable name="gravity_y" index="1" />
  5.         <Variable name="gravity_z" index="2" />
  6.     </SensorBinder>
  7. </VariableBinders>
  8.  
  9. <Image x="411" y="910+#unlocker.move_y" angle="2*#gravity_x+#ballon_yaobai" centerX="63" centerY="372" src="ballon.png" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement