Package tripleplay.util

Examples of tripleplay.util.SimpleFrames


        final GroupLayer box = graphics().createGroupLayer();
        layer.addAt(box, 0, 100);
        Image image = assets().getImage("images/spritesheet.png");
        image.addCallback(new Callback<Image>() {
            public void onSuccess (Image image) {
                SimpleFrames frames = new SimpleFrames(image, 60, 60, 60);
                anim.repeat(box).flipbook(box, new Flipbook(frames, 66));
                anim.repeat(box).tweenX(box).to(width-frames.width()).in(2000).easeInOut().then().
                    tweenX(box).to(0).in(2000).easeInOut();
            }
            public void onFailure (Throwable error) {} // n/a
        });
View Full Code Here

TOP

Related Classes of tripleplay.util.SimpleFrames

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.