Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. #joystick flythrough camera for scene testing #
  2. #shuvit.org #
  3. ################################################
  4. import bge
  5. def main():
  6. #####
  7. #init
  8. cont = bge.logic.getCurrentController()
  9. own = cont.owner
  10. own['lmLR'] = 0
  11. own['lmUD'] = 0
  12. own['rmLR'] = 0
  13. own['rmUD'] = 0
  14. own['mTrig'] = 0
  15. own['last_move_x'] = 0
  16. own['last_move_y'] = 0
  17. own['aBut'] = 0
  18. own['bBut'] = 0
  19. own['xBut'] = 0
  20. own['yBut'] = 0
  21. own['lBump'] = 0
  22. own['rBump'] = 0
  23. own['stBut'] = 0
  24. own['bkBut'] = 0
  25. own['ltsBut'] = 0
  26. own['rtsBut'] = 0
  27. main()