Pre-release
CHANGELOG
[1.0.0-releasecandidate.14]
- Reset effects after they are done so that they can be repeated
- Remove integrated joystick buttons
- Add
MarginHudComponent, used when components need to have a margin to the viewport edge - Refactor
JoystickComponent - Add
SpriteAnimationWidget.asset - Add
SpriteWidget.asset - Add
SpriteButton.asset - Add
NineTileBox.asset - Fix resolution of
TextBoxComponent - Add
BaseGame.removeandBaseGame.removeAllhelpers for removing components - Add
BaseComponent.removeandBaseComponent.removeAllhelpers for removing children - Rename
Camera.cameraSpeedtoCamera.speed - Rename
addShapetoaddHitboxinHitboxmixin - Fix bug with Events and Draggables
- Add generics to components with HasGameRef so that they can be extended and have another gameRef
- Fix parallax fullscreen bug when game is resized
- Generalize
paintusage on components - Create
OpacityEffect - Create
ColorEffect - Adding ability to pause
SpriteAnimationComponent - Adding
SpriteGroupComponent - Fix truncated last frame in non-looping animations
- Default size of
SpriteComponentissrcSizeinstead of spritesheet size - Export test helper methods
- Rename
ScaleEffecttoSizeEffect - Introduce
scaleonPositionComponent - Add
ScaleEffectthat works onscaleinstead ofsize - Add class
NotifyingVector2 - Add class
Transform2D - Added helper functions
testRandom()andtestWidgetsRandom() - Remove
FPSCounterfromBaseGame - Refactor
PositionComponentto work withTransform2D: the component now works more reliably
when nested - Properties
renderFlipX,renderFlipYremoved and replaced with methods
flipHorizontally()andflipVertically(). - Method
.angleToremoved as it was not working properly. - In debug mode
PositionComponentnow displays an indicator for the anchor position. - Update
Cameradocs to showcase usage withGameclass - Fixed a bug with
worldBoundsbeing set tonullinCamera - Remove
.viewportfromBaseGame, usecamera.viewportinstead MockCanvasis now strongly typed and matches numeric coordinates up to a tolerance- Add
loadAllImagestoImages, which loads all images from the prefixed path - Reviewed the keyboard API with new mixins (
KeyboardHandlerandHasKeyboardHandlerComponents) - Added
FocusNodeon the game widget and improved keyboard handling in the game. - Added ability to have custom mouse cursor on the
GameWidgetregion - Change sprite component to default to the Sprite size if not provided
TextBoxComponentwaits for cache to be filled ononLoadTextBoxComponentcan have customizablepixelRatio- Add
ContainsAtLeastMockCanvasto facilitate testing withMockCanvas - Support for
drawImageforMockCanvas Gameis now aComponentComponentEffectis now aComponentHasGameRefcan now operate independently fromGameinitialDelayandpeakDelayfor effects to handle time before and after an effectcomponent.onMountnow runs every time a component gets a new parent- Add collision detection between child components
Assets
2
Pre-release
Pre-release
[1.0.0-releasecandidate.13]
- Fix camera not ending up in the correct position on long jumps
- Make the
JoystickPlayeraPositionComponent - Extract shared logic when handling components set in BaseComponent and BaseGame to ComponentSet.
- Rename
camera.shake(amount: x)tocamera.shake(duration: x) - Fix
SpriteAnimationComponentdocs to useFuture.wait - Add an empty
postRendermethod that will run after each components render method - Rename
TapabletoTappable - Fix
SpriteAnimationComponentdocs to useFuture.wait - Add an empty
postRendermethod that will run after each components render method - Rename
HasTapableComponentstoHasTappableComponents - Rename
prepareCanvastopreRender - Add
intensitytoCamera.shake FixedResolutionViewportto use matrix transformations forCanvas
Assets
2
PreviousNext