English tween_colorconstantly Function icon

15 comments
09.06.17 01:40:57 pm
like 15 like it!
508 b, 10 Downloads
Masea
Super User
Offline Off
This function provides constantly changing the color of a certain image in a certain time and as well as in two type of colors.

It works pretty much like how the other image functions work. I mean, it is original.

Parameters
• id --image id
• time --the duration that for going to first color and then second
• first r
• first g
• first b
• second r
• second g
• second b

An example of using the function:
Code:
1
2
3
local hey = image("gfx/block.bmp",320,240,2)

tween_colorconstantly(hey, 500, 255, 155, 0, 0, 155, 255)

edited 1×, last 09.06.17 01:59:29 pm
ok This file has been reviewed and approved by Yates (09.06.17 02:04:58 pm)

Comments

15 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
14.06.17 08:58:30 pm
like I like it!
Up
Pro Gaming Network
User
Offline Off
aha it's cool .. working perfect thx
14.06.17 08:43:37 pm
like I like it!
Up
beb_
User
Offline Off
nice good job
14.06.17 06:21:00 am
like I like it!
Up
FDK
User
Offline Off
Nice! I'm waiting for "mobile" images someday, it's a lot of work to do it with delays and also affects the map itself bcs entities start to disappear in some point.
14.06.17 06:02:03 am
like I like it!
Up
Shrepard
User
Offline Off
Very nice
14.06.17 04:48:28 am
like I like it!
Up
Scott
User
Offline Off
Good job
10.06.17 09:42:37 am
like I like it!
Up
Pagyra
User
Offline Off
I like it!
10.06.17 04:39:00 am
like I like it!
Up
The Danel
User
Offline Off
Nice
10.06.17 03:24:04 am
like I like it!
Up
cs2d_player
User
Offline Off
This really useful.
10.06.17 01:15:37 am
like I like it!
Up
Oxizakre
User
Offline Off
u are right, this is original
10.06.17 12:02:10 am
like I like it!
Up
BcY
User
Offline Off
I'm not sure if i ever use it but it's looking really useful. You should share more functions like this one.
09.06.17 11:59:44 pm
like I like it!
Up
acm
User
Offline Off
Great idea!
09.06.17 03:34:16 pm
like I like it!
Up
ZxC
Moderator
Offline Off
Neat written and quite useful.
09.06.17 02:02:35 pm
like I like it!
Up
mimafan
User
Offline Off
I'm going to always look at this animated picture.
09.06.17 01:55:25 pm
like I like it!
Up
Angel Montez
BANNED
Offline Off
wow like!!
09.06.17 01:48:41 pm
like I like it!
Up
Mora_rus
User
Offline Off
Oh, this is pretty nice thing, i'll consider of using that on my shit-project. Well done bruh!
To the start Previous 1 Next To the start