Quick API Index

The arcade module

Window and View Classes

Classes:

Functions:

Constants and Data Types:

  • MOUSE_BUTTON_LEFT

  • MOUSE_BUTTON_MIDDLE

  • MOUSE_BUTTON_RIGHT

Arcade Data Types

Constants and Data Types:

OpenGL Context

Classes:

Earclip Collision Detection

Functions:

Particle Emitter Simple

Functions:

Game Controller Support

Functions:

Particle

Classes:

Functions:

Constants and Data Types:

Pathfinding Support

Classes:

Functions:

Simple Physics Engines

Classes:

Pymunk Physics Engine

Classes:

Sound Support

Classes:

Functions:

Sprites

Classes:

Functions:

Constants and Data Types:

  • FACE_DOWN

  • FACE_LEFT

  • FACE_RIGHT

  • FACE_UP

Draw Text

Classes:

Functions:

Constants and Data Types:

  • DEFAULT_FONT_NAMES

Loading TMX (Tiled Map Editor) Maps

Functions:

Arcade Version Number

Constants and Data Types:

  • VERSION

The arcade.gl module

OpenGL Buffer

Classes:

  • Buffer

OpenGL Context

Classes:

  • Context

  • ContextStats

  • Limits

OpenGL Enums

Constants and Data Types:

  • BLEND_ADDITIVE

  • BLEND_DEFAULT

  • BLEND_PREMULTIPLIED_ALPHA

  • CLAMP_TO_BORDER

  • CLAMP_TO_EDGE

  • DST_ALPHA

  • DST_COLOR

  • FUNC_ADD

  • FUNC_REVERSE_SUBTRACT

  • FUNC_SUBTRACT

  • LINEAR

  • LINEAR_MIPMAP_LINEAR

  • LINEAR_MIPMAP_NEAREST

  • LINES

  • LINES_ADJACENCY

  • LINE_STRIP

  • LINE_STRIP_ADJACENCY

  • MAX

  • MIN

  • MIRRORED_REPEAT

  • NEAREST

  • NEAREST_MIPMAP_LINEAR

  • NEAREST_MIPMAP_NEAREST

  • ONE

  • ONE_MINUS_DST_ALPHA

  • ONE_MINUS_DST_COLOR

  • ONE_MINUS_SRC_ALPHA

  • ONE_MINUS_SRC_COLOR

  • POINTS

  • REPEAT

  • SRC_ALPHA

  • SRC_COLOR

  • TRIANGLES

  • TRIANGLES_ADJACENCY

  • TRIANGLE_FAN

  • TRIANGLE_STRIP

  • TRIANGLE_STRIP_ADJACENCY

  • ZERO

OpenGL Exceptions

Classes:

  • ShaderException

OpenGL FrameBuffer

Classes:

  • DefaultFrameBuffer

  • Framebuffer

OpenGL Geometry

Functions:

  • cube

  • quad_2d

  • quad_2d_fs

  • screen_rectangle

OpenGL GLSL

Classes:

  • ShaderSource

OpenGL Program

Classes:

  • Program

OpenGL Query

Classes:

  • Query

OpenGL Texture

Classes:

OpenGL Types

Classes:

  • AttribFormat

  • BufferDescription

  • GLTypes

  • TypeInfo

Constants and Data Types:

  • SHADER_TYPE_NAMES

  • pixel_formats

OpenGL Uniform Data

Classes:

  • Uniform

  • UniformBlock

OpenGL Utils

Functions:

  • data_to_ctypes

OpenGL Vertex Array (VAO)

Classes:

  • Geometry

  • VertexArray

The arcade.gui module

Core GUI

Classes:

  • UIElement

  • UIEvent

  • UIException

Constants and Data Types:

  • KEY_PRESS

  • KEY_RELEASE

  • MOUSE_MOTION

  • MOUSE_PRESS

  • MOUSE_RELEASE

  • MOUSE_SCROLL

  • TEXT_INPUT

  • TEXT_MOTION

  • TEXT_MOTION_SELECTION

GUI Manager

Classes:

  • UIManager

GUI Style

Classes:

  • UIStyle

GUI Utilities

Functions:

  • add_margin

  • get_image_with_text

  • get_text_image

  • parse_value

  • render_text_image