Efficient way to do an animated, tiled background



  • So I have these three background layers that have to be translucent, tile, and move. The only problem is that I can't use FlxBackdrop for them as FlxBackdrop usually has problems with translucent images. (Usually when running the game at a lower resolution than 1080p, because I run my games at 1080p so the art looks good in fullscreen mode.) So I was thinking of using FlxSprites for them, though I'm not sure how that'd effect performance. Another reason to use FlxSprites is because one of the backgrounds is animated. My main question is: Is there a way to do this more efficiently?

    alt text

    i dunno check out my tumblr if you want (nsfw tho so watch yourself)
    http://carpetwurm.tumblr.com/
    (not nsfw version)
    https://carpetwurmlite.tumblr.com/

    0


  • FlxBackdrop extended from FlxSprite, so you can animate or change it's alpha value normally?

    Edit : There is a tutorial for it : Here

    We are making a MMORPG w/HaxeFlixel => Click Here to go to the Facebook Page

    0


  • I already figured this out a while ago (the same day I wrote this post, I think)

    i dunno check out my tumblr if you want (nsfw tho so watch yourself)
    http://carpetwurm.tumblr.com/
    (not nsfw version)
    https://carpetwurmlite.tumblr.com/

    0

Log in to reply