DOME v1.3.0 - The Incredible Input Update
DOME v1.3.0 is now available 🎉
This update brings with it some frequently requested changes to the input handling mechanisms, as well as some interesting image manipulation routines.
New Features
- Input methods (
Keyboard
,Mouse
andGamePad
) now track the state of buttons as instances ofDigitalInput
, including the state of the previous tick, as well as how many ticks an input has been held for. Mouse
now supports arelative
mode, which can be used for mouse-lock in FPS-style games, and other uses.ImageData
can now be instantiated as a blank canvas, and modified/queried usingpset
/pget
, which allows for using loaded images as textures for alternate rendering techniques, as well as editing and saving images.- GamePad now has a
rumble(strength, duration)
method, for hardware and platforms which support this. Color.toString
now reports a human-readable hexcode.- DOME now opens its window at the center of the screen.
Bug Fixes
- DOME doesn't have to try and open a window now in order to report it's version, or verify other command-line parameters.
- For Mac OS X, DOME will now be statically linked with SDL 2.0.6, as prior versions appear to break gamepad support.
- Resizing the window programmatically on Mac OS X could lead to a de-sync between the window and mouse positioning.
As always, documentation is available to help you get started.
If you run into any problems or have any feature requests, please file an issue!
You can also contact me directly via twitter (@avivbeeri), or on the DOME discord as springogeek#0572
to share screenshots or ask questions!