Skip to content

Releases: flame-engine/flame

v1.1.0

03 Apr 17:08
1673961
Compare
Choose a tag to compare

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 static positionType (#1350). (cfa6bd12)
  • FIX: Add missing priority argument for JoystickComponent (#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 for Collidable and HitboxShape (#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 to Rect (#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 global ComponentSet factory (#1193). ([223ab75](https://gith...
Read more

v1.0.0

11 Dec 20:26
a4b377a
Compare
Choose a tag to compare

CHANGELOG

[1.0.0]

  • Add ButtonComponent backed by two PositionComponents
  • Add SpriteButtonComponent backed by two Sprites
  • Allow more flexible construction of EffectControllers and make them able to run back in time
  • Remove old effects system
  • Export new effects system
  • Introduce updateTree to follow the renderTree 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 path
  • ScaleEffect.by now applies multiplicatively instead of additively
  • isHud replaced with PositionType
  • Remove web fallback for drawAtlas in SpriteBatch, but added flag useAtlas to activate it

1.0.0-rc14

17 Sep 14:22
003e7f8
Compare
Choose a tag to compare
1.0.0-rc14 Pre-release
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.remove and BaseGame.removeAll helpers for removing components
  • Add BaseComponent.remove and BaseComponent.removeAll helpers for removing children
  • Rename Camera.cameraSpeed to Camera.speed
  • Rename addShape to addHitbox in Hitbox 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 is srcSize instead of spritesheet size
  • Export test helper methods
  • Rename ScaleEffect to SizeEffect
  • Introduce scale on PositionComponent
  • Add ScaleEffect that works on scale instead of size
  • Add class NotifyingVector2
  • Add class Transform2D
  • Added helper functions testRandom() and testWidgetsRandom()
  • Remove FPSCounter from BaseGame
  • Refactor PositionComponent to work with Transform2D: the component now works more reliably
    when nested
  • Properties renderFlipX, renderFlipY removed and replaced with methods
    flipHorizontally() and flipVertically().
  • 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 with Game class
  • Fixed a bug with worldBounds being set to null in Camera
  • Remove .viewport from BaseGame, use camera.viewport instead
  • MockCanvas is now strongly typed and matches numeric coordinates up to a tolerance
  • Add loadAllImages to Images, which loads all images from the prefixed path
  • Reviewed the keyboard API with new mixins (KeyboardHandler and HasKeyboardHandlerComponents)
  • 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 on onLoad
  • TextBoxComponent can have customizable pixelRatio
  • Add ContainsAtLeastMockCanvas to facilitate testing with MockCanvas
  • Support for drawImage for MockCanvas
  • Game is now a Component
  • ComponentEffect is now a Component
  • HasGameRef can now operate independently from Game
  • initialDelay and peakDelay for effects to handle time before and after an effect
  • component.onMount now runs every time a component gets a new parent
  • Add collision detection between child components

flame_oxygen-0.1.0-releasecandidate.13

06 Sep 06:03
8def61d
Compare
Choose a tag to compare
Pre-release
  • Initial release of flame_oxygen

1.0.0-rc13

08 Jul 12:43
3134091
Compare
Choose a tag to compare
1.0.0-rc13 Pre-release
Pre-release

[1.0.0-releasecandidate.13]

  • Fix camera not ending up in the correct position on long jumps
  • Make the JoystickPlayer a PositionComponent
  • Extract shared logic when handling components set in BaseComponent and BaseGame to ComponentSet.
  • Rename camera.shake(amount: x) to camera.shake(duration: x)
  • Fix SpriteAnimationComponent docs to use Future.wait
  • Add an empty postRender method that will run after each components render method
  • Rename Tapable to Tappable
  • Fix SpriteAnimationComponent docs to use Future.wait
  • Add an empty postRender method that will run after each components render method
  • Rename HasTapableComponents to HasTappableComponents
  • Rename prepareCanvas to preRender
  • Add intensity to Camera.shake
  • FixedResolutionViewport to use matrix transformations for Canvas

1.0.0-rc10

04 May 21:54
703c3f0
Compare
Choose a tag to compare
1.0.0-rc10 Pre-release
Pre-release

[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

25 Feb 12:06
Compare
Choose a tag to compare
1.0.0-rc7 Pre-release
Pre-release
Bump versions for relase

0.29.3

25 Feb 12:04
Compare
Choose a tag to compare
Bump versions

0.29.0

01 Feb 09:19
daa2b6f
Compare
Choose a tag to compare
Bump versions and fix lint issues (v0.x) (#599)

0.28.0

28 Oct 09:20
f1f6289
Compare
Choose a tag to compare
Merge pull request #515 from flame-engine/develop

0.28.0 release