0 Favourites

Change layer background?

  • Hi everyone!

    Is it possible to change the background colour of a layer using events?

    If this is not currently possible, is anyone aware of an existing plug-in providing the functionality, or should I go ahead and write my own?

    I'm aiming to have a solid-coloured background which gradually changes colour over time. A tiled background doesn't seem to be an effective choice due to the lack of animations, leaving me with the choice of loading in additional images over time. A large animated sprite strikes me as inefficient, as I would need an additional animation frame for each of the many different shades/colours I want to display.

    I don't imagine writing my own plug-in to achieve this would be at all difficult, but I'd rather not spend my time duplicating existing work if there's already a good solution. <img src="smileys/smiley1.gif" border="0" align="middle">

    Thanks in advance for any responses!

    //EDIT: I found R0J0hound's canvas plugin which appears to be capable of what I'm trying to achieve -- but if there are no other suggestions for a more "light weight" solution I'll probably go ahead and develop my own anyway -- it seems rather excessive to include such a plug-in for the one very basic feature I'm after.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Try a 2x2 animated sprite, stretched to the layout size.

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