Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

CCEaseSineIn Odd Behavior #286

@kjpou1

Description

@kjpou1

From forum post: https://forums.xamarin.com/discussion/48108/cceasesinein-odd-behavior

I am trying to move an object up and down the screen using a sine ease but it looks like its doing some sort of a bounce or elastic ease. If I move from point A to point B it goes way past B and then comes back to it.

var up = new CCMoveTo (2f, new CCPoint (center.X, center.Y + 160));
var upEase = CCEaseSineIn (up);
sprite.RunAction(upEase);

Doing this same thing in cocos2d-x show a smooth animation that gradually changes speed but never goes past point B.

Is there something i need to do to get it to tween correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions