Releases: flame-engine/flame
Releases · flame-engine/flame
v1.1.0
1.1.0
- FIX: Only end collisions where there was a collision (#1471). (e1e87fc4)
- FIX:
debugMode
should be inherited from parent when mounted (#1469). (e894d201) - FEAT: Added method that returned descendants (#1461). (a41f5376)
- FEAT: Possibility to mark gesture events as handled (#1465). (4c3960c3)
- FEAT: adding loaded future to the component (#1466). (6434829b)
- FEAT: Deprecating Rect methods (#1455). (4ddd90aa)
- FEAT: Added .anchor property to CameraComponent.Viewfinder (#1458). (d51dc5e1)
- DOCS:
Rect
extension docs is out of date (#1451). (7e505722) - FIX:
@mustCallSuper
missing on components (#1443). (e01b4b1a) - FEAT: Add setter to priority (#1444). (34284686)
- FIX: Setting images.prefix to empty string (#1437). (694102bd)
- REFACTOR: Parent change and component removal logic (#1385). (8b9fa352)
- FIX: viewfinders behavior under zoom (#1432). (f3cf85b6)
- FIX: change strokeWidth in Component (#1431). (0e174fe8)
- FEAT: allowing changing of the images prefix and allowing empty prefixes (#1433). (de4d9416)
- REFACTOR: Loadable mixin no longer declares onMount and onRemove (#1243). (b1f6a34c)
- REFACTOR: Organize tests in the game/ folder (#1403). (102a27cc)
- REFACTOR: Clean up of top-level tests (#1386). (e50003ed)
- REFACTOR: Resize logic in GameRenderBox (#1308). (17c45c28)
- REFACTOR: Simplify GameWidgetState.loaderFuture (#1232). (eb30c2e5)
- REFACTOR: Component.ancestors() is now an iterator (#1242). (ce48d77a)
- REFACTOR: Add a few more rules to flame_lint, including use_key_in_widget_constructors (#1248). (bac6c8a4)
- REFACTOR: Removed parameter Component.updateTree({callOwnUpdate}) (#1224). (ed227e7c)
- REFACTOR: Remove Loadable, optional onLoads (#1333). (05f7a4c3)
- REFACTOR: Loadable no longer declares onGameResize (#1329). (20776e86)
- REFACTOR: Use canvas.drawImageNine in NineTileBox (#1314). (d77e5efe)
- PERF: Allow components to have null children (#1231). (66ad4b08)
- FIX: flame svg perfomance (#1373). (bce24173)
- FIX: Fix collision detection comments and typo (#1422). (dfeafdd6)
- FIX:
ParallaxComponent
should have staticpositionType
(#1350). (cfa6bd12) - FIX: Add missing
priority
argument forJoystickComponent
(#1227). (23b1dd8b) - FIX: Step time in SpriteAnimation must be positive (#1387). (08e8eac1)
- FIX: HudMarginComponent positioning on zoom (#1250). (4f0fb2de)
- FIX: Call onCollisionEnd on removal of Collidable (#1247). (5ddcc6f7)
- FIX: Both places should have
strictMode = false
(#1272). (72161ad8) - FIX: remove vector_math dependency (#1361). (56b33da2)
- FIX: Deprecate pause and resume in GameLoop (#1240). (dc37053f)
- FIX: Deprecate Images.decodeImageFromPixels (#1318). (1a80130c)
- FIX: Properly dispose images when cache is cleared (#1312). (825fb0cc)
- FIX: Fix SpriteAnimationWidget lifecycle (#1212). (86394dd3)
- FIX: redrawing bug in TextBoxComponent (#1279). (8bef4805)
- FIX: Add missing paint argument to
SpriteComponent.fromImage
(#1294). (254a60c8) - FIX: black frame when activating overlays (#1093). (85caf463)
- FIX:
prepareComponent
should never run again on a prepared component (#1237). (7d3eeb73) - FIX: Allow most basic and advanced gesture detectors together (#1208). (5828b6f3)
- FEAT: Added SpeedEffectController (#1260). (20f521f5)
- FEAT: Added SineEffectController (#1262). (c888703d)
- FEAT: Added ZigzagEffectController (#1261). (59adc5f3)
- FEAT: Add onReleased callback for HudButtonComponent (#1296). (87ee34ca)
- FEAT: Turn off
strictMode
for children (#1271). (6936e1d9) - FEAT:
onCollisionStart
forCollidable
andHitboxShape
(#1251). (9b95686b) - FEAT: adding has mounted to component (#1418). (f8f9e045)
- FEAT: Added NoiseEffectController (#1356). (fad9d1d5)
- FEAT: exporting cache classes (#1368). (3e058973)
- FEAT: Update scale events to contain pan info (#1327). (70b96b07)
- FEAT: Components are now always added in the correct order (#1337). (c753fc46)
- FEAT: Added
transform
toRect
(#1360). (1818be41) - FEAT: Camera as a component (#1355). (c61a1c18)
- FEAT: Effect.onComplete callback as an alternative to onFinish() (#1201). (932a8111)
- FEAT: Add RandomEffectController (#1203). (cdb2650b)
- FEAT:
Component.childrenFactory
can be used to set up a globalComponentSet
factory (#1193). ([223ab75](https://gith...
v1.0.0
CHANGELOG
[1.0.0]
- Add
ButtonComponent
backed by twoPositionComponent
s - Add
SpriteButtonComponent
backed by twoSprite
s - Allow more flexible construction of
EffectController
s and make them able to run back in time - Remove old effects system
- Export new effects system
- Introduce
updateTree
to follow therenderTree
convention - Fix
Parallax.load
with different loading times - Fix render order of components and add tests
- Fix
HitboxCircle
when component is flipped - Add
ColorEffect
MoveAlongPathEffect
can now be absolute, and can auto-orient the object along the pathScaleEffect.by
now applies multiplicatively instead of additivelyisHud
replaced withPositionType
- Remove web fallback for
drawAtlas
in SpriteBatch, but added flaguseAtlas
to activate it
1.0.0-rc14
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.remove
andBaseGame.removeAll
helpers for removing components - Add
BaseComponent.remove
andBaseComponent.removeAll
helpers for removing children - Rename
Camera.cameraSpeed
toCamera.speed
- Rename
addShape
toaddHitbox
inHitbox
mixin - 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
paint
usage on components - Create
OpacityEffect
- Create
ColorEffect
- Adding ability to pause
SpriteAnimationComponent
- Adding
SpriteGroupComponent
- Fix truncated last frame in non-looping animations
- Default size of
SpriteComponent
issrcSize
instead of spritesheet size - Export test helper methods
- Rename
ScaleEffect
toSizeEffect
- Introduce
scale
onPositionComponent
- Add
ScaleEffect
that works onscale
instead ofsize
- Add class
NotifyingVector2
- Add class
Transform2D
- Added helper functions
testRandom()
andtestWidgetsRandom()
- Remove
FPSCounter
fromBaseGame
- Refactor
PositionComponent
to work withTransform2D
: the component now works more reliably
when nested - Properties
renderFlipX
,renderFlipY
removed and replaced with methods
flipHorizontally()
andflipVertically()
. - Method
.angleTo
removed as it was not working properly. - In debug mode
PositionComponent
now displays an indicator for the anchor position. - Update
Camera
docs to showcase usage withGame
class - Fixed a bug with
worldBounds
being set tonull
inCamera
- Remove
.viewport
fromBaseGame
, usecamera.viewport
instead MockCanvas
is now strongly typed and matches numeric coordinates up to a tolerance- Add
loadAllImages
toImages
, which loads all images from the prefixed path - Reviewed the keyboard API with new mixins (
KeyboardHandler
andHasKeyboardHandlerComponents
) - Added
FocusNode
on the game widget and improved keyboard handling in the game. - Added ability to have custom mouse cursor on the
GameWidget
region - Change sprite component to default to the Sprite size if not provided
TextBoxComponent
waits for cache to be filled ononLoad
TextBoxComponent
can have customizablepixelRatio
- Add
ContainsAtLeastMockCanvas
to facilitate testing withMockCanvas
- Support for
drawImage
forMockCanvas
Game
is now aComponent
ComponentEffect
is now aComponent
HasGameRef
can now operate independently fromGame
initialDelay
andpeakDelay
for effects to handle time before and after an effectcomponent.onMount
now runs every time a component gets a new parent- Add collision detection between child components
flame_oxygen-0.1.0-releasecandidate.13
- Initial release of
flame_oxygen
1.0.0-rc13
[1.0.0-releasecandidate.13]
- Fix camera not ending up in the correct position on long jumps
- Make the
JoystickPlayer
aPositionComponent
- Extract shared logic when handling components set in BaseComponent and BaseGame to ComponentSet.
- Rename
camera.shake(amount: x)
tocamera.shake(duration: x)
- Fix
SpriteAnimationComponent
docs to useFuture.wait
- Add an empty
postRender
method that will run after each components render method - Rename
Tapable
toTappable
- Fix
SpriteAnimationComponent
docs to useFuture.wait
- Add an empty
postRender
method that will run after each components render method - Rename
HasTapableComponents
toHasTappableComponents
- Rename
prepareCanvas
topreRender
- Add
intensity
toCamera.shake
FixedResolutionViewport
to use matrix transformations forCanvas
1.0.0-rc10
[1.0.0-rc10]
- Updated tutorial documentation to indicate use of new version
- Fix bounding box check in collision detection
- Refactor on flame input system to correctly take camera into account
- Adding
SpriteAnimationGroupComponent
- Allow isometric tile maps with custom heights
- Add a new renderRect method to Sprite
- Addresses the TODO to change the camera public APIs to take Anchors for relativePositions
- Adds methods to support moving the camera relative to its current position
- Abstracting the text api to allow custom text renderers on the framework
- Set the same debug mode for children as for the parent when added
- Fix camera projections when camera is zoomed
- Fix collision detection system with angle and parentAngle
- Fix rendering of shapes that aren't HitboxShape
1.0.0-rc7
0.29.3
0.29.0
0.28.0
Merge pull request #515 from flame-engine/develop 0.28.0 release