How do I control sprite sheet animation

0 favourites
  • 9 posts
From the Asset Store
High Low is a casino game using luck and points accumulation.
  • How do I control sprite sheet animation ]http://prntscr.com/gtau53

    see the screen shot. my coding is correct ???

  • Depends what you are trying to do, what's the problem?

  • I am making new game... see the first link. When i take the knife. knife remove the crack panel that animation inside the sprite sheet. see the two images ... you can understand

    prntscr.com/gtbux8

    prntscr.com/gtbwmv

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It's still not clear what you want, but the problem may be with Set Animation action.

    You need to specify animation name, don't leave it empty ("").

    If this doesn't help, please share your project CAPX file.

    Also, next time before posting to this forum please try naming your sprites properly - Knife, Phone, Screen etc. Same with variables - what "obj" supposed to mean?

  • dop2000 yolkgames.com/swf/file.zip

    Here the file please when click red button play the animation

  • Man, no offense, but this is the most terrible project I've ever seen. It's a total mess..

    It's absolutely impossible to figure out what's going on and how is it supposed to work.

    You have 20 sprites and all of them are called "SpriteXX"?

    Layout has 11 layers, most of which consist of just 1 object?

    Variables called "obj" and "src"?

    And your project size is 40Mb?

    I'll try to guess what your problem is.

    You want your animation to stop on frame 16. After that user should click red button and the animation will continue. Is this right?

    Your mistake is that even when you restart animation, it gets stopped again on frame 16.

    Here is one of the ways to fix it:

    The proper way to do it would be splitting your animation in two. After one animation is finished, wait for user to click the button, then start the second animation.

  • Man, no offense, but this is the most terrible project I've ever seen. It's a total mess..

    It's absolutely impossible to figure out what's going on and how is it supposed to work.

    You have 20 sprites and all of them are called "SpriteXX"?

    Layout has 11 layers, most of which consist of just 1 object?

    Variables called "obj" and "src"?

    And your project size is 40Mb?

    /quote]

    ::Drink spat out onto monitor:: LMAO!

  • when I finished my project .... I will show you guys....

  • yolkgames that's the spirit now if you give a name to your ANIMATION will be much better then doing empty string how to add names to animation and how to use it simply try this tutorial

    https://www.scirra.com/tutorials/5367/a ... onstruct-2

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)