Jump to content
  • 0
KohakuSan

Change sprite layer colors on ActOR

Question

Is there any way to do that for the entire file instead of having to change every single frame's color?

 

I noticed that saving act as text could do this very easily just by replacing the color codes in the created .lua file but how can I convert it back to act then? Or is there some other way to do it?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Yes, this can be done with ActOR.
 
Script(S) > Edit... > 

for AID = 0, GetNumAct() - 1 do    for FID = 0, GetNumFrame(AID) - 1 do        for PID = 0, GetNumPat(AID, FID) - 1 do            SetA(AID, FID, PID, 0x80);            SetB(AID, FID, PID, 0xff);            SetG(AID, FID, PID, 0xff);            SetR(AID, FID, PID, 0xff);        end;    end;end;

> Run.
 
 
With Act Editor : 
Scripts > Script Runner > 

act.SetColor("0x80ffffff");

> Run.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.