You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- should support this for consistency
{
property="Color",
value= { r=0xAA, g=0xBB, b=0xCC, a=0x00 }
}
-- alpha is optional
{
property="Color",
value= { r=0xAA, g=0xBB, b=0xCC }
}
-- optional direct number mode, it's inconsistent with the rest of the api, but might be worth implementing everywhere else
{
property="Color",
value=0xAABBCC00
}
A color mode would be necessary, might need similar interpolation rules as animation states. (floor)
Not sure if we want a separate function for directly manipulating these values without animating / interpolation. Scaling and rotation of actions don't have a dedicated function either.
Interpolation would be necessary within the client (and sent as a packet from the server), invincibility has an animated interpolating color effect. Handling it through a server library would require a packet sent every frame and may appear choppy from dropped / late packets.
A color mode would be necessary, might need similar interpolation rules as animation states. (floor)
Would need to store these values on actors and send them to joining players so everyone has a consistent final state.
The text was updated successfully, but these errors were encountered: