Application Data (bge.app)
Module to access application values that remain unchanged during runtime.
- bge.app.version
The Blender/BGE version as a tuple of 3 ints, eg. (2, 75, 1).
Note
Version tuples can be compared simply with (in)equality symbols; for example,
(2, 74, 5) <= (2, 75, 0)
returns True (lexical order).- Type:
tuple of three ints
- bge.app.version_string
The Blender/BGE version formatted as a string, eg. “2.75 (sub 1)”.
- Type:
str
- bge.app.version_char
The Blender/BGE version character (for minor releases).
- Type:
str
- bge.app.upbge_version
The UPBGE version as a tuple of 3 ints, eg. (0, 0, 3).
Note
Version tuples can be compared simply with (in)equality symbols; for example,
(0, 0, 2) <= (0, 0, 3)
returns True (lexical order).- Type:
tuple of three ints
- bge.app.upbge_version_string
The UPBGE version formatted as a string, eg. “0.0 (sub 3)”.
- Type:
str
- bge.app.has_texture_ffmpeg
True if the BGE has been built with FFmpeg support, enabling use of
ImageFFmpeg
andVideoFFmpeg
.- Type:
bool
- bge.app.has_joystick
True if the BGE has been built with joystick support.
- Type:
bool
- bge.app.has_physics
True if the BGE has been built with physics support.
- Type:
bool