🚀Preview Release - v1.0.0-preview.38
Pre-release
Pre-release
CalvinWilkinson
released this
01 Oct 17:43
·
26 commits
to preview
since this release
Velaptor Preview Release Notes - v1.0.0-preview.38
Quick Reminder
As with all software, there is always a chance for issues and bugs, especially for preview releases, so your input is greatly appreciated. 🙏🏼
New Features ✨
- #957 - Added the new overloads below to the texture renderer interface
ITextureRenderer
.void Render(ITexture texture, int x, int y, float angle, float size, int layer = 0);
void Render(ITexture texture, Vector2 pos, float angle, float size, int layer = 0);
void Render(ITexture texture, int x, int y, float angle, float size, Color color, int layer = 0);
void Render(ITexture texture, Vector2 pos, float angle, float size, Color color, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, Color color, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, Color color, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, Color color, int frameNumber, int layer = 0);
void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, Color color, RenderEffects effects, int frameNumber = 0, int layer = 0);
- #969 - Added the ability to know if a circle shape contains a vector by adding a method named
Contains(Vector2)
to theCircleShape
struct. - #955 - Added the ability to control how scenes wrap to first or last scene. Added the following:
- Added the property
CurrentSceneIndex
to theISceneManager
interface - Added the property
UsesNavigationWrapping
to theISceneManager
interface
- Added the property
Enhancements 💎
- #965 - Improved the
RectShape
default behavior to avoid confusion.
Bug Fixes 🐛
- #1019 - Fixed an issue where textures were not being unloaded from the content cache.
- #1009 - Fixed an issue where certain window sizes were preventing any rendering.
Breaking Changes 🧨
- #967 - Moved the
SceneAlreadyExistsException
from theVelaptor.Exceptions
namespace to theVelaptor.Scene.Exceptions
namespace - #966 - Changed the order of the constructor parameters of the
CornerRadius
struct fromCornerRadius(float topLeft, float bottomLeft, float bottomRight, float topRight)
toCornerRadius(float topLeft, float topRight, float bottomRight, float bottomLeft)
. This is a change from counterclockwise order to clockwise order. - #965 - Changed default value of the
RectShape.CornerRadius
property to have a value of 0 for all corners.
Dependency Updates 📦
- #1032 - Updated dependency communitytoolkit.mvvm to v8.3.1.
- #1031 - Updated dependency fluentassertions to v6.12.1.
- #1030 - Updated dependency kinsondigital.kdgui to v1.0.0-preview.4.
- #1022 - Updated dependency kinsondigital.casl to v1.0.0-preview.20.
- #1015 - Updated dependency microsoft.net.test.sdk to v17.11.1.
- #1004 - Updated dependency simpleinjector to v5.5.0.
- #1002 - Updated dependency Avalonia to v11.1.3.
- #1002 - Updated dependency Avalonia.Desktop to v11.1.3.
- #1002 - Updated dependency Avalonia.Diagnostics to v11.1.3.
- #1002 - Updated dependency Avalonia.Fonts.Inter to v11.1.3.
- #1002 - Updated dependency Avalonia.Themes.Fluent to v11.1.3.