How to create animated ray ?

0 favourites
  • 6 posts
From the Asset Store
__________________ Bursts and rays ___________________
  • Hey guys need your advice. I need some kind of animated ray but it should be without fixed size by x. I need to expand and collapse it without quality loosing? Is it possible. Ideally i need animated tiled background

  • Rays and beams generally consist of separate origin, body, and target/hit parts. The body part is the part that tiles with a variable size. This can be done with sprite objects + tiled background for the body, or a 9patch (at least we can rotate 9patches now!).

    Unfortunately, we have animations for neither tiled backgrounds nor 9 patches, so you'll either have to stack multiple of them and manually cycle through their visibility, or create and destroy them as you go to animate.

    You might also consider layering effects/additional sprites atop the path of beam, which can be animated, with the beam itself being mostly static.

  • Thanks.That what I thought. The problem is I have dynamic ray that should be drawing with my finger when i move from one point to another and it is quite difficult to compose several objects in this case especially when the angle is always changing with the finger position. Currently I resolved this issue with a big resolution image that is not loose the quality with scaling. But I think Construct developers should think about tiled background animation, cause their competitors on the market have similar functionality. I saw on the forum that one guy already requested such functionality 12 years ago 😁

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is a simple method:

    https://www.dropbox.com/scl/fi/8shp2lz2xq4ch2mdfbtv4/AnimatedRay.c3p?rlkey=2f11y2psztvqps305yoi10zt1&st=e3f1agqk&dl=0

    Wow, it's really smart. Thank you so much

  • Construct developers should think about tiled background animation, cause their competitors on the market have similar functionality. I saw on the forum that one guy already requested such functionality 12 years ago 😁

    This is true. I also miss that essential feature in Construct 3.

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