Welcome to the python-tcod documentation!¶
Contents:
- Getting Started
- Character Table Reference
- Binary Space Partitioning
tcod.bsp
- Tile Drawing/Printing
tcod.console
- Window Management
tcod.context
Context
new()
new_terminal()
new_window()
RENDERER_OPENGL
RENDERER_OPENGL2
RENDERER_SDL
RENDERER_SDL2
RENDERER_XTERM
SDL_WINDOW_ALLOW_HIGHDPI
SDL_WINDOW_BORDERLESS
SDL_WINDOW_FULLSCREEN
SDL_WINDOW_FULLSCREEN_DESKTOP
SDL_WINDOW_HIDDEN
SDL_WINDOW_INPUT_GRABBED
SDL_WINDOW_MAXIMIZED
SDL_WINDOW_MINIMIZED
SDL_WINDOW_RESIZABLE
- SDL2 Event Handling
tcod.event
Point
Event
Quit
KeyboardEvent
KeyDown
KeyUp
MouseMotion
MouseButtonEvent
MouseButtonDown
MouseButtonUp
MouseWheel
TextInput
WindowEvent
WindowMoved
WindowResized
JoystickEvent
JoystickAxis
JoystickBall
JoystickHat
JoystickButton
JoystickDevice
ControllerEvent
ControllerAxis
ControllerButton
ControllerDevice
Undefined
get_mouse_state()
add_watch()
remove_watch()
EventDispatch
get_keyboard_state()
get_modifier_state()
__getattr__()
- Getting events
- Keyboard Enums
- Image Handling
tcod.image
- Line of Sight
tcod.los
- Field of View
tcod.map
- Noise Map Generators
tcod.noise
- Pathfinding
tcod.path
- Random Number Generators
tcod.random
- Console Rendering Extension
tcod.render
- Font Loading Functions
tcod.tileset
- Old API Functions
libtcodpy
- SDL Audio
tcod.sdl.audio
- SDL Joystick Support
tcod.sdl.joystick
- SDL Rendering
tcod.sdl.render
- SDL Mouse Functions
tcod.sdl.mouse
- SDL Window and Display API
tcod.sdl.video