This repository was archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
CAAT Path incorrectly assumed the starting point is always the first point of the first path segment #120
Open
robboerman
wants to merge
54
commits into
hyperandroid:master
Choose a base branch
from
robboerman:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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.
…take the previously defined width
…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
Conflicts: src/PathUtil/Path.js
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
…/actors etc (director.enableResizeEvents)
…ither scene index or scene object.
…let it build the curve correctly
…g all configuration variables to 1 single script
…erse() create an inverse every single animation frame
…nd added optimisation to ActorCSS as well
…a function but can simply listen for the events. Very useful for dragging
fixed single point emission point
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.