Tetra v0.2.14 Release Notes
Release Date: 2019-03-30 // about 5 years ago-
โ Added
graphics::set_letterbox_color
allows you to set the color of the letterbox bars shown in certain scaling modes.- ๐ Basic support for off-screen rendering/'render to texture' has been implemented, in the form of the
Canvas
object. - An
animation_controller
example has been added, showing how to change animations based on the player's input. (@mgocobachi in #110) - A
from_file_data
constructor has been added toFont
, for consistency withTexture
andSound
.
๐ Changed
- Alpha blending should now work in a more predictable way. This may need further tweaks later on.
- The renderer now flips drawing automatically when drawing to a framebuffer, due to how OpenGL stores textures. This is similar to how FNA and Love2D handle the same problem.
- The renderer no longer implicitly re-binds shaders after calling
graphics::present
.
๐ Deprecated
- ๐
Font::from_data
has been deprecated.