Forum

> > CS2D > Scripts > Image fade away, tween or image?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Image fade away, tween or image?

2 replies
To the start Previous 1 Next To the start

old Image fade away, tween or image?

Mami Tomoe
User Off Offline

Quote
Hi I have a image that I want to fade away after some time, but I have no clue what to use, tween_fade or image_fade.

What is the difference and what should I use?

1
2
3
4
5
6
7
8
function s_img()
	News_Bar=image("gfx/news_bar.png",5,5,2)
	imagecolor(News_Bar,128,128,128)
	imageblend(News_Bar,1)
	imagealpha(News_Bar,0.5)
	imagescale(News_Bar,10000,2)
	timer(halt4,'freeimage',News_Bar)
end

I want the image to fade away in this function.

pls & ty
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview