Tuxemon
latest

Contents:

  • Scripting reference
Tuxemon
  • tuxemon.platform package
  • Edit on GitHub

tuxemon.platform package

Put platform specific fixes here

tuxemon.platform.get_user_storage_dir()[source]

Mutable storage for things like config, save games, mods, cache.

Return type:

str

tuxemon.platform.init()[source]

Must be called before pygame.init() to enable low latency sound.

Return type:

None

Subpackages

  • tuxemon.platform.const package
    • Submodules
      • tuxemon.platform.const.buttons module
      • tuxemon.platform.const.events module
      • tuxemon.platform.const.intentions module
  • tuxemon.platform.platform_pygame package
    • Submodules
      • tuxemon.platform.platform_pygame.events module
        • DPadButtonInfo
        • DPadInfo
        • DPadRectsInfo
        • PygameEventHandler
        • PygameEventQueueHandler
        • PygameGamepadInput
        • PygameKeyboardInput
        • PygameMouseInput
        • PygameTouchOverlayInput

Submodules

  • tuxemon.platform.events module
    • EventQueueHandler
      • EventQueueHandler.process_events()
      • EventQueueHandler.release_controls()
    • InputHandler
      • InputHandler.default_input_map
      • InputHandler.get_events()
      • InputHandler.press()
      • InputHandler.process_event()
      • InputHandler.release()
      • InputHandler.virtual_stop_events()
    • PlayerInput
      • PlayerInput.button
      • PlayerInput.held
      • PlayerInput.hold_time
      • PlayerInput.pressed
      • PlayerInput.triggered
      • PlayerInput.value

© Copyright 2015-2021, William Edwards. Revision e147cd3c.

Built with Sphinx using a theme provided by Read the Docs.