(Suggestion)9 patch with animations

0 favourites
  • 4 posts
From the Asset Store
4 Block Soldiers with different animations, 400x400
  • is it possible to add animation support for 9 patch objects?

    this would be a useful feature for sprite based menus and things that people need to stretch to fit different sizes

  • Already been asked before HERE, and the consensus appears to be no.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • well dang ok then

  • Generally 9path is putting quite a strain on performance. I suggest you just create several 9path objects, each with different animation frame, and animate them trough events. Best way to do it is to create a family for it, and create family numerical variable, then set object's value of that variable representing a frame that is suppose to be displayed, and then trough simple events, create static local variable with total number of frames and another one that will hold the number of current frame, and then every x ms add 1 to current frame local var, and trough events hide 9path family objects but display the one with variable that local static variable is currently set to. when current frame local var is equal total number of frames, reset current local var to 0.

    Hope that makes sense in writing

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