Coffee v0.4.1 Release NotesRelease Date: 2020-05-11 // about 3 years ago
- Crashes when using Metal or DirectX. #126
Previous changes from v0.4.0
Task::succeed, which replaces the old
- ➕ Additional color constants:
Color::from_rgb_u32, which allows to constructs a
Colorusing an hexadecimal literal (
Game::is_finished, which allows to gracefully quit the game on demand. #79
Canvas::read_pixels, a method to read the contents of a
ui::Panel, a dark box that can be used to wrap a widget.
ui::ProgressBar, a progress bar to give visual feedback to your users when performing a slow task.
ui::Image, a simple widget to display a
graphics::Imagein your user interface.
Mesh::new_with_tolerance, which allows to control the tolerance of line segment approximations. #100
Game::cursor_icon, which allows customization of the mouse cursor icon.
Mesh::strokenow takes an
line_widthinstead of a
Task::newnow supports a lazy operation that can fail. #66
- Face culling has been disabled for Vulkan, Metal, D3D11, and D3D12 backends. In OpenGL, face culling was already disabled.
Transformation::nonuniform_scalenow takes a
- The logic of
KeyboardAndMousehas been split into the new
Mouseinput trackers. The new
keyboardmethods can be used to obtain them, respectively. #69
Mousetype can now track additional input:
meshexample now has a slider to control the tolerance. #100
- Hang when
Game::TICKS_PER_SECONDis set as