Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Stop sprite image animation  #165

Description

@vitorcominato

Hi,
I have a CAAT.Foundation.SpriteImage() animation and i would like to pause the animation and position the image paused in a certain frame, i didn't foud nothing like this.
It is possible to do that?
Here is my code.
Thak you very much.

screenManager.sAnimaIntro = new CAAT.Foundation
.SpriteImage()
.initialize(screenManager.gameScreen.getImage(screenManager.ANIMA_INTRO), 9, 9)
.addAnimation(
screenManager.ANIMA_INTRO,
[00,00,00,00,00,00,00,01,02,03,
03,03,03,03,03,03,04,05,00,00,
06,07,08,09,09,09,09,09,09,09,
09,09,09,09,09,09,09,09,09,08,
10,11,00,00,00,00,00,12,13,14,
14,14,14,14,14,14,14,14,14,14,
15,16,00,00,00,00,00,00,00,00,
00,00,00,17,18,19,20,21,22,23,
24,25,26,27,28,28,29,00,00,30,
31,32,33,34,35,35,35,35,35,35,
35,35,36,37,38,39,40,40,40,40,
40,40,41,42,43,44,45,46,47,48,
49,49,49,49,49,49,49,49,49,49,
49,50,51,52,53,54,55,00,00,56,
57,58,59,60,61,62,63,64,65,66,
67,68,69,70,71,72,72,72,72,72,
72,72,72,72,72,72,72,72,72,72,
72,72,72,72,72,72,72,72,72,72,
73,74,75,76,77,78,79,61,58,57,
80,56,56,00,00,00,00,00,00,00],
35);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions