Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Is it possible to change a tile's color?

Here you can find answered ScriptAPI topics.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Ol1vver
Superfighter
Superfighter
Posts: 69
Joined: Mon Nov 19, 2018 4:55 pm
SFD Account: olv
SFD Alias: olv
Started SFD: PreAlpha 1.6.4
Gender:

Is it possible to change a tile's color?

Post by Ol1vver » Sat Dec 29, 2018 5:20 pm

Hello,
Is it possible to change a tile's color using scripts?
0 x

User avatar
Shock
Superfighter
Superfighter
Posts: 312
Joined: Sun Mar 20, 2016 7:17 am
Title: Content-maker
SFD Account: Shock
Started SFD: Pre-Alpha 1.2.0.
Location: Belarus
Gender:
Age: 24
Contact:

Post by Shock » Sat Dec 29, 2018 8:46 pm

Ol1vver wrote:
Sat Dec 29, 2018 5:20 pm
Hello,
Is it possible to change a tile's color using scripts?
i used groups to make an animation between objects of color changing.
pm me if you need help
1 x
-Content-maker.

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 25

Post by JakSparro98 » Sun Dec 30, 2018 1:14 pm

Ol1vver wrote:
Sat Dec 29, 2018 5:20 pm
Hello,
Is it possible to change a tile's color using scripts?
Currently is not possible to change object color through script, but as @Shock said, you can give the illusion of color change for an object by removing the old one and spawning a new one. Keep in mind that you cannot spawn an object with a custom color either, you will need to set a group maker to spawn the colored object.
3 x

Post Reply