Is it invalid to modify the blend of text Sprite in the even version?

Source: Internet
Author: User

 

If it is text Sprite, if # backgroundtransparent is used when setting its ink, rather than its value 36, the blend setting in the script will be invalid.

P_sprite = channel (p_config.spritenum). makescriptedsprite (member ("FPS", "common"), point (120,30 ))
P_sprite.forecolor = # ffffff
P_sprite.ink = 36 -- Notice! Director BUG:
-- If sprite 'Member type is # text, must use 36 not # backgroundtransparent to set ink property.
-- Otherwise, the # text sprite's blend property cannot be manually changed by Using Lingo.
P_sprite.blend = p_config.blend

 

So, Program It is from debuuuuuug.

What I thought I could do in an hour was stuck on an incredible problem for 24 hours.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.