[v0.4.0] Input handling & major fix
NEW
input handling
- Implemented input.Keyboard
- For input.Mouse & input.Keyboard now available functions
ButtonPressed,ButtonDown,ButtonUp. For input.Keyboard are introduced some rebindings of sdl scancode for easier access, however, direct usage of sdl.SCANCODE_* constants are not limited in any way.
engine time
- New functions for engine:
GetTicks,GetTimeDelta(see docs).
FIX
Fixed issue that prevented any render to happen, which was caused by not complying with thread safety instructions of the SDL library. Now application should stably run on any architectures and configurations supported by SDL Library.