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. #14
    • input::Event::TextInput event, which triggers on text entry. Contains the character typed as a char. #15
    • input::Event::CursorEntered and input::Event::CursorLeft events, which trigger when the mouse cursor enters or leaves the game window, respectively. #15
    • input::Event::MouseWheel, which triggers when the mouse wheel is scrolled. Contains the number of horizontal and vertical lines scrolled as f32. #15
    • input::Event::WindowFocused and input::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 as f32. #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

    • Gamma correction in the wgpu graphics backend. Clear colors, font colors, and blending should work as expected in Vulkan, Metal, D3D11 and D3D12. OpenGL was already working properly. #19