Coffee v0.2.0 Release Notes
Release Date: 2019-04-28 // almost 5 years ago-
โ Added
Game::on_close_request
to control whether the game should be closed when the window receives a close request by the OS. #14input::Event::TextInput
event, which triggers on text entry. Contains the character typed as achar
. #15input::Event::CursorEntered
andinput::Event::CursorLeft
events, which trigger when the mouse cursor enters or leaves the game window, respectively. #15input::Event::MouseWheel
, which triggers when the mouse wheel is scrolled. Contains the number of horizontal and vertical lines scrolled asf32
. #15input::Event::WindowFocused
andinput::Event::WindowUnfocused
, which trigger when the game window gains or loses focus, respectively. #15- ๐
input::Event::WindowMoved
, which triggers when the game window is moved. Contains the new X and Y coordinates of the window asf32
. #15 - ๐ Text rendering for the
wgpu
graphics backend. Vulkan, Metal, D3D11 and D3D12 now support text rendering. OpenGL already supported text rendering. #18 - A changelog. #20
- Example to showcase input handling. #15
- Example to showcase proper colors and gamma correction. #19
๐ Changed
- 0๏ธโฃ The debug view is now shown by default when the
debug
feature is enabled.
๐ Fixed