Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

CAAT Path incorrectly assumed the starting point is always the first point of the first path segment #120

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

robboerman
Copy link
Collaborator

EG: when creating a path consisting of arcTo path segments, the first point is NOT the first arcTo path segment point.
Path.beginPath should register the specified starting point (like documented...) and use that as a starting point, with a fallback to the first path segment point when the starting point was not specified.

robboerman and others added 30 commits January 31, 2013 11:12
…point of the first path segment. EG: when creating a path consisting of arcTo path segments, the first point is NOT the first arcTo path segment point.

Path.beginPath should register the specified starting point (like documented...) and use that as a starting point, with a fallback to the first path segment point when the starting point was not specified.
…ccept listeners to events and have events fired on it.
… (Actor's paintActor method already does that). This causes actors with a clipMask to be scaled twice
added convenience method for removing all behaviors
Now better control on attachements and animation skin attachments (visibility keyframing).
multi skin, multi animation files, visibility keyframes.
---------------------------

* Added. Skeletal animation based on Spine (by @EsotericSoft) format.
* Added Demo34 to show its capabilites.
---------------------------

* Added. Skeletal animation based on Spine (by @EsotericSoft) format.
* Added Demo34 to show its capabilites.
---------------------------

* Changed. Some functions from Matrix objects to Matrix class.
* Added. Modification to CAAT.Math.Rectangle . if no parameters in constructor is set to empty.
* Fixed. CAAT.Foundation.UI.Label dependencies.
* Fixed. CAAT.Foundation.Actor dependencies.
* Added. Capture skeletal animation on-the-fly to an spriteSheet.
…and last points so we can at least create a path
…g all configuration variables to 1 single script
…erse() create an inverse every single animation frame
robboerman and others added 24 commits May 17, 2013 16:43
…a function but can simply listen for the events. Very useful for dragging
exists in the parent hierarchy - the fixed parents offset was not
included in the accumulation.
---------------------------

* Changed. Some functions from Matrix objects to Matrix class.
* Added. Modification to CAAT.Math.Rectangle . if no parameters in constructor is set to empty.
* Fixed. CAAT.Foundation.UI.Label dependencies.
* Fixed. CAAT.Foundation.Actor dependencies.
* Added. Capture skeletal animation on-the-fly to an spriteSheet.
…rmatExtensions which proxies to audioManager.setAudioFormatExtensions

  sets a default audio object extension set. By default is [ 'ogg', 'mp3', 'wav', 'x-wav', 'mp4' ]. This means CAAT by default
  will try to find ogg files, then mp3, etc. It is not important whether the audio files add to director.addAudio have extension
  or not. CAAT will add the first suitable extension to be played from the supplied or default audioFormatExtension array.
* Added __CLASS attribute to Class function. Now all objects are identified.
* Fixed Director dynamic scale behavior.
* Enhanced Skeletal animation support (Spine).
* Fixed. Font error which prevented fonts to draw on screen.
---------------------------

* Added functionality to AudioManager. The method director.setAudioFormatExtensions which proxies to audioManager.setAudioFormatExtensions
  sets a default audio object extension set. By default is [ 'ogg', 'mp3', 'wav', 'x-wav', 'mp4' ]. This means CAAT by default
  will try to find ogg files, then mp3, etc. It is not important whether the audio files add to director.addAudio have extension
  or not. CAAT will add the first suitable extension to be played from the supplied or default audioFormatExtension array.
* Added __CLASS attribute to Class function. Now all objects are identified.
* Fixed Director dynamic scale behavior.
* Enhanced Skeletal animation support (Spine).
* Fixed. Font error which prevented fonts to draw on screen.
* Added. Method SpriteImage.addElementsAsImages which turns all subelements, either a grid defined by rows and columns or a JSON map
  into available images for director.getImage calls.
* Fixed. Label object made <image> tags to be incorrectly set in the document.
* Fixed. Label now accepts images set by calling Label.setImage or images with names matching director.getImage calls.
* Added demo35: Label usage.
* Added demo36: Sprite maps.
* Added. Method SpriteImage.initializeFromTexturePackerJSON which adds map sub-images as valid director.getImage values.
---------------------------

* Added functionality to AudioManager. The method director.setAudioFormatExtensions which proxies to audioManager.setAudioFormatExtensions
  sets a default audio object extension set. By default is [ 'ogg', 'mp3', 'wav', 'x-wav', 'mp4' ]. This means CAAT by default
  will try to find ogg files, then mp3, etc. It is not important whether the audio files add to director.addAudio have extension
  or not. CAAT will add the first suitable extension to be played from the supplied or default audioFormatExtension array.
* Added __CLASS attribute to Class function. Now all objects are identified.
* Fixed Director dynamic scale behavior.
* Enhanced Skeletal animation support (Spine).
* Fixed. Font error which prevented fonts to draw on screen.
* Added. Method SpriteImage.addElementsAsImages which turns all subelements, either a grid defined by rows and columns or a JSON map
  into available images for director.getImage calls.
* Fixed. Label object made <image> tags to be incorrectly set in the document.
* Fixed. Label now accepts images set by calling Label.setImage or images with names matching director.getImage calls.
* Added demo35: Label usage.
* Added demo36: Sprite maps.
* Added. Method SpriteImage.initializeFromTexturePackerJSON which adds map sub-images as valid director.getImage values.
---------------------------

* Added functionality to AudioManager. The method director.setAudioFormatExtensions which proxies to audioManager.setAudioFormatExtensions
  sets a default audio object extension set. By default is [ 'ogg', 'mp3', 'wav', 'x-wav', 'mp4' ]. This means CAAT by default
  will try to find ogg files, then mp3, etc. It is not important whether the audio files add to director.addAudio have extension
  or not. CAAT will add the first suitable extension to be played from the supplied or default audioFormatExtension array.
* Added __CLASS attribute to Class function. Now all objects are identified.
* Fixed Director dynamic scale behavior.
* Enhanced Skeletal animation support (Spine).
* Fixed. Font error which prevented fonts to draw on screen.
* Added. Method SpriteImage.addElementsAsImages which turns all subelements, either a grid defined by rows and columns or a JSON map
  into available images for director.getImage calls.
* Fixed. Label object made <image> tags to be incorrectly set in the document.
* Fixed. Label now accepts images set by calling Label.setImage or images with names matching director.getImage calls.
* Added demo35: Label usage.
* Added demo36: Sprite maps.
* Added. Method SpriteImage.initializeFromTexturePackerJSON which adds map sub-images as valid director.getImage values.
…and last points so we can at least create a path
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants