shadowwulf Posted September 9, 2011 Author Share Posted September 9, 2011 Is it possible to set an opacity with this command?I am still googling… Link to comment Share on other sites More sharing options...
Robin Posted September 9, 2011 Share Posted September 9, 2011 You set the opacity with the colour. Link to comment Share on other sites More sharing options...
shadowwulf Posted September 9, 2011 Author Share Posted September 9, 2011 hmm. I don't think I am understanding it.Looking at the line```RenderTexture Tex_Char(sprite), ConvertMapX(x), ConvertMapY(y), rec.left, rec.top, rec.Width, rec.height, rec.Width, rec.height```It asks for "byval colour as long = -1"I tried adding numbers from -50 to .5 to 50 and either the image doesn't show at all, or it is normal.Is there a way to have say 50% opacity? Link to comment Share on other sites More sharing options...
Robin Posted September 9, 2011 Share Posted September 9, 2011 No, no. You need to use this function to convert the colour byte and opacity to ARGB.```dx8Colour([colour], [opacity])[/colour]``` Link to comment Share on other sites More sharing options...
shadowwulf Posted September 9, 2011 Author Share Posted September 9, 2011 Awesome.Got it working.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now