merrycze Posted August 28, 2015 Share Posted August 28, 2015 Hi, I wanted all of you to ask if you would not advise me where I could write about this shadow behind the text it's been a long time since I did ask why I'm learning everything from re-attach photos. I would like to get rid of it is not too much to read. Thanks very much. And sorry im very bad bad in english. It solves the day I do not know what to do. I edit anything but still it is there I do not know how to remove it. Link to comment
Noki Posted August 29, 2015 Share Posted August 29, 2015 dxDrawText("sample text", 500, 500 + 2, 200, 200 + 2) dxDrawText("sample text", 500 + 2, 500, 200 + 2, 200) dxDrawText("sample text", 500, 500 + 2, 200, 200 + 2) dxDrawText("sample text", 500 + 2, 500, 200 + 2, 200) Offset your text positioning, like the code above. Link to comment
merrycze Posted August 29, 2015 Author Share Posted August 29, 2015 I did nothing of the sort found. I went through all the files and nothing. Please tell me where in any file. ONLY elseif type == "shadow" then local shadowDist = att1 att2 = att2 or 0 att3 = att3 or 0 att4 = att4 or 0 att5 = att5 or self.tColor[4] dxDrawText(self.strText, l + shadowDist, t + shadowDist, r + shadowDist, b + shadowDist, tocolor(att2, att3, att4, att5), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI ) end dxDrawText ( self.strText, l, t, r, b, tocolor(unpack(self.tColor)), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI ) break end end end Link to comment
Noki Posted August 29, 2015 Share Posted August 29, 2015 l + shadowDist t + shadowDist r + shadowDist b + shadowDist Line 7 of your code is the shadow. Find where l, t, r, b and shadowDist are defined, further up in your code. Line 9 is the text itself. Link to comment
merrycze Posted August 29, 2015 Author Share Posted August 29, 2015 what would I change? l + shadowDist t + shadowDist r + shadowDist b + shadowDist Link to comment
Moderators IIYAMA Posted August 29, 2015 Moderators Share Posted August 29, 2015 You can start by giving those variables an appropriate name. And as Noki said, add the content of the variable shadowDist to those messy named ones: l,t,r,b Link to comment
merrycze Posted August 29, 2015 Author Share Posted August 29, 2015 and how do we solve you advise me then? I do not know where or folder Race I look for the shadow of the text that is in the picture. Link to comment
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