Release 1.18 - megamarc - 11-24-2017
New engine features:- Vastly improved user input: 6 action buttons, start button, up to four simultaneous players. Key bindings and joystick buttons can be redefined. Introduces TLN_EnableInput(), TLN_AssignInputJoystick(), TLN_DefineInputKey(), TLN_DefineInputButton() and new input names
- Sequences can be queried for info about name and number of frames. Introduces TLN_GetSequenceInfo() and associated TLN_SequenceInfo structure
Python binding upgrades:- Updated to library version 1.18
- Checks library version and issues a warning message if it's out of date
- Color object: new static .fromstring() constructor that takes a css-compatible "#rrggbb" string
- Automatic resource management: removed all .delete() methods, they're now garbage collected
- SequencePack object: new dictionary sequences{} with all contained sequences indexed by name in .sqx file, no need to call SequencePack.find_sequence() anymore. SequencePack.sequences["name"]
- Updated all python examples to use the new features
|