Where did my beloved Accelerate and AccelDecel Actions go?

Forums Programming cocos2d support (graphics engine) Where did my beloved Accelerate and AccelDecel Actions go?

This topic contains 2 replies, has 2 voices, and was last updated by  jon 4 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
June 18, 2009 at 6:54 am #215604

jon
@jon

They seem to have disappeared between 0.7.2 and 0.7.3, although there is no mention of it in the changelogs. I also see a couple new Actions, AccelAmplitude and AccelDeccelAmplitude, although if I simply substitute them in and change rate to duration they do not work. I get this exception:

[NSException raise:@"IntervalAction (Amplitude)" format:@"Abstract class needs implementation"

Here is the diff where Accel and AccelDecel were removed:

http://code.google.com/p/cocos2d-iphone/source/diff?spec=svn1052&r=922&format=side&path=/branches/branch-0.7/cocos2d/IntervalAction.m&old_path=/branches/branch-0.7/cocos2d/IntervalAction.m&old=812

June 18, 2009 at 7:04 am #249641

riq
Keymaster
@admin

The were replace by the ease actions.

Take a look at the EaseActionsTest.m to see how to use them.

June 18, 2009 at 7:13 am #249642

jon
@jon

Thank you, just noticed actually while browsing an old header; might be useful to put it the changelog as I’m sure a bunch of people were using ‘em

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.