Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Platform.as #275

Closed
wants to merge 1,363 commits into from
Closed

Update Platform.as #275

wants to merge 1,363 commits into from

Conversation

Snky
Copy link

@Snky Snky commented Nov 30, 2015

Uhhh, did I make this pull request properly? 🍡

gsynuh and others added 30 commits November 9, 2013 16:07
clarify docs for contains and containsRect
- offset becomes center (factor of camera lens dimensions instead of absolute values for more flexibility)
- camera disabled by default until setUp is called or enabled set to true
- auto resize
- in the fla, no need to stop first frames.
the .fla and .swf for the patch demo are updated to reflect this change.

The MovieClip is wrapped within an AnimationSequence like a starling AnimationSequence.
you can listen for animation complete through onAnimationComplete -
we dynamically add scripts to the MC so it dispatches a signal when one animation ends so we can keep track of them and loop them.

"walk" loops by default.

use SpriteArt.setLoopAnimations() to define other animations that should loop.
might as well use it when your setting up your input and need to listen to specific special keys rather than adding an event listener on stage and everything when keyboard already has them.
I don't know if it makes sense though?
…ithin a defined area - deadZone

(super mario camera behavior)
gsynuh and others added 24 commits January 20, 2015 06:58
…n frame 1, but could be anything else using the forceFrame argument for example when several levels are defined in a MovieClip, with one level per frame.
…ent to request ARGB format instead of RGB, and "randAlpha" to set a random alpha value if ARGB.
@gsynuh you should be able to run the ant directly now!
@alamboley
Copy link
Member

Well, there are so many format changes that in fact I don't know what really has changed ?

@Snky
Copy link
Author

Snky commented Dec 1, 2015

Yes, I don't remember refactoring the entire file, but in the CE issues list ( recently updated ) I mentioned the changes which was a fix for iPhone ( 4 / 5 ) detection and also a new additional query for the iPad Pro. Apologies for the unclear changes.

@gsynuh
Copy link
Member

gsynuh commented Dec 1, 2015

This happens if we don't use the same editors its ok.

I'll put the reference to the issue is that it?
#226

@Snky
Copy link
Author

Snky commented Dec 1, 2015

Yes, that's the correct issue, I'm using FlashDevelop 5.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants