1 decade ago
by Levent
Hi , im using Impact for developing a card game and my some entities just have a couple layered images. i know that i can use alpha propertie for anims but i dont have any anims. Can i have fade effect for multiple layered image drawed entities? (one base, one for outer layer effect etc..)
Im sorry for my bad english...
Hi Levent,
I'm not quite sure about what you said you had no anims. I thought you have to set the animsheet and currentAnim for the entity anyway? If so you can use the alpha properties to fade them in.
For multiple layered image drawed entities, I suppose that for 1 entity you have several entities placed one on another. I did the same thing for my pop up.
What I did is I put all the entities that need animation into an array, then pass this array to a method where you treat all elements the same.
1 decade ago
by Joncom
You will need to draw each "faded" image using
ig.Animation
, not
ig.Image
, because the latter does not support the
.alpha property.
1 decade ago
by Levent
Thank you so much for your answers tungvn261 and joncom.
tungvn261, several entities in one entity is good idea. i think i will try it.
Page 1 of 1
« first
« previous
next ›
last »