Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help from the professionals #30

Open
Scrivener07 opened this issue Oct 23, 2018 · 2 comments
Open

Help from the professionals #30

Scrivener07 opened this issue Oct 23, 2018 · 2 comments
Assignees
Labels
enhancement Enhances or improves an existing feature

Comments

@Scrivener07
Copy link
Owner

Neanka

Usually u can add new movieclip at root instead of root.Menu_mc to prevent autotint

Reg2k

To avoid tint of specific display objects in AS3 you may be able to get their transform.concatenatedColorTransform which contains the combined color transformations of that display object (and parents)
Then invert that matrix and apply the inverse transformation to the element you want to un-tint, should cancel out the original color transform
(haven't done this myself, its a theory that I've never tested out)

@Scrivener07 Scrivener07 self-assigned this Oct 23, 2018
@Scrivener07 Scrivener07 added the enhancement Enhances or improves an existing feature label Oct 23, 2018
@Scrivener07
Copy link
Owner Author

@Neanka's advice is 100% true. @reg2k has a great idea to explore for de-tinting vanilla menu elements.

@Neanka
Copy link

Neanka commented Oct 23, 2018

@reg2k how do u think will it fix this issue But objects get masked and hidden unless there is a vanilla element overlapping them ?
never actually tested it just found somewhere in my testing code.

BSGFxShaderFXTarget * xst;
GFxValue xstmc;
menu->movie->movieRoot->GetVariable(&xstmc, "root1.someLoader");
xst = new BSGFxShaderFXTarget(&xstmc);
menu->subcomponents.Push(xst);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances or improves an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants