Amethyst v0.13.0 Release Notes
Release Date: 2019-09-26 // over 4 years ago-
๐ This release, on top of the changes below, adds the
amethyst_tiles
crate, which provides utilities that makes handling and drawing stuff in tiles a lot easier! ๐Major breaking changes
- ๐ Systems needing initialization with world resources must go through a
SystemDesc
intermediate builder. (#1780)
โ Added
- ๐ 'amethyst_tiles' crate added supporting 2d and 3d tile map rendering with sprites. (#1820)
SystemDesc
proc macro derive to simplify definingSystemDesc
s. (#1780)UiButtonData
is now exported fromamethyst_ui
and can be used for custom widgets. (#1859)- โ Add an audio subchapter to the pong chapter. (#1842)
- โ Add
DispatcherOperation
to store dispatcher build logic, which can be executed lazily. (#1870) AmethystApplication
takes inSystemDesc
s throughwith_system_desc
. (#1882)AmethystApplication::with_thread_local_desc
takes inRunNowDesc
. (#1882)- โ Add
NineSlice
support toUiImage
. (#1896) RenderingBundle
for full manual control of the rendering pipeline via a customGraphCreator
. (#1839)CameraOrtho::new
takes inCameraOrthoWorldCoordinates
, which can be set to custom dimensions. (#1916)Camera::screen_ray
method added, returning an appropriateRay
structure (#1918).- โ
amethyst_test
:InMemorySource
andWaitForLoad
helpers (#1933). - Animations are available with
UiTransform
s. ([#1935])
๐ Changed
- ๐ All
-Builder
structs in amethyst_ui/prefab.rs are now called-Data
. (#1859) AmethystApplication
takes in aSystem
instead of a closure forwith_system
. (#1882)AmethystApplication::with_thread_local
constraint relaxed toRunNow
(previouslySystem
). (#1882)SystemDesc
proc macro supports#[system_desc(event_reader_id)]
to register event reader. (#1883)SystemDesc
proc macro supports#[system_desc(flagged_storage_reader(Component))]
. (#1886)- ๐ Use
SystemDesc
derive to generateSystemDesc
implementations for common case systems. (#1887) DispatcherOperation
stores system name and dependencies asString
s. (#1891)TextureProcessor
renamed toTextureProcessorSystem
. (#1839)MeshProcessor
renamed toMeshProcessorSystem
. (#1839)AmethystApplication::with_setup
now takes inFnOnce(&mut World) + Send + 'static
. (#1912)AmethystApplication::with_setup
runs the function before the dispatcher. (#1912)UiImage:PartialTexture
&UiImage:Sprite
texture coordinates are correct. Clarified types. (#1906,#1919)Camera::screen_to_world
renamedCamera::screen_to_world_point
and its API has changed to a Point3 (#1918).
๐ Fixed
RenderingBundle
is registered last in all examples. (#1881)
- ๐ Systems needing initialization with world resources must go through a