This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum 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.
Locked
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: 27

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

Locked