Current 0.4.0 (#12)
- Removed most of the
new()
methods in order to usedefault()
. - Added basic animations
- Added
from()
methods forVec2
andDirection
- Added
draw_right_aligned_text()
method. - Added
Vec<Vec<T>>
indexing operators byVec2
- Updated dependencies.
- Improved key support.
- Improved support for arrow keys.
- Fixed issue with the F key.
- Added
Debug
trait toColor
andStyle
- Added
draw_at
anddraw
versions forDrawable
elements. - Improved speed.
- Fixed some blink in the top-left corner produced when a key was pressed.
- Modified
new
function of Vec2 byzero
with more meaning. - Removed scale option from pencils. Rationale: The management is very little intuitive by the user: How can reduce the scale if it is currently one?, How this should be represented in characters?. The user should control this behaviour.
- Added
get_keys_down
method fromkeyboard
now gives an ordered time event list of keys. - Added
Drawable
trait for custom painting. - Added scale option to pencils.
- Change default fps to 30 (most terminals render to 30 fps)
- Disable Styles, some terminals show issues by the way the styles are computed. (This will be fixed in a near future)
- Fixed issue with key events. Sometimes the key release event was not computed.
- Added macOS support
- First release