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.

IObjectText Color parameters

Give us your input on how we may improve the ScriptAPI in the game in future versions.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Danger Ross
Superfighter
Superfighter
Posts: 154
Joined: Thu Mar 31, 2016 12:56 am
Title: Dangerous
SFD Alias: Danger Ross
Started SFD: 14 june 2012 (launch day)
Location: California
Gender:
Age: 23

IObjectText Color parameters

Post by Danger Ross » Fri Aug 02, 2019 9:23 pm

The SetTextColor() method on text objects takes in a color type, but ignores its alpha component. Can this be changed?
I'm attempting to use text objects for pixel art animation, but because I don't have access to transparent pixels I can't animate it using SetTextColor() alone. I could use a work around like setting the text's position, but SetWorldPosition() takes much longer to evaluate than SetTextColor().

I should also note that this is probably one of the easier changes that could be made to the api that also yields the most results. please consider adding this into the next update.
5 x
sorry bucko, you can't punch with swords 8-)

Post Reply