github flame-engine/flame 1.0.0-releasecandidate.14
1.0.0-rc14

latest releases: flame_3d-v0.1.0-dev.3, flame_3d-v0.1.0-dev.2, v1.19.0...
pre-release3 years ago

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

Don't miss a new flame release

NewReleases is sending notifications on new releases.