Hi all.
I’m following a tutorial on creating lasers in LibGDX and I’m having to use multiple images to create the effect. (A total of 6 as i’m not overlaying the animation texture as I don’t like it). I was wondering if it’s possible to combine these 6 images at runtime? I was personally thinking of creating a class that stores an arraylist of all 6 sprites, and then draws all of them at the relevant locations. This would require rotating all the sprites to their parents/positioning them etc.
This seems like a lot of work to get up and running so I was wondering if LibGDX had someway of taking all 6 textures and then combine them into 1. It would make things much more simple as I can simply rotate/move 1 texture :point:
      
    
 seems exactly what i’m looking for. So say I had 30 lasers, each with 6 different textures, I would simply create a loop inside the fbo that would handle all the placements for all the different textures (Starting point, mid point and end cap for the laser) and send this information over to my spritebatch?
 seems maybe not