iiv03 Posted March 30, 2019 Share Posted March 30, 2019 (edited) I want it to move its background image black with text and i have this code's if race.nextMap then local MapNameNow = getTickCount() - race.mapNameTick local luck = math.random(1,2) if luck == 2 then race.mapNameTick = race.mapNameTick + 22 end local progress = (MapNameNow/2000) local _progress = math.floor(getEasingValue(progress,"Linear")*race.mapName:len()) if ( _progress > race.mapName:len()) then _progress = race.mapName:len() end local _MapName = race.mapName:sub(1,_progress) if you not understand me you can see my photo Edited March 30, 2019 by liwahadri Link to comment
XaskeL Posted March 30, 2019 Share Posted March 30, 2019 (edited) dxGetTextWidth dxGetFontHeight use it ... or i did not understand what you need? Edited March 30, 2019 by XaskeL Link to comment
iiv03 Posted March 31, 2019 Author Share Posted March 31, 2019 5 hours ago, XaskeL said: dxGetTextWidth dxGetFontHeight use it ... or i did not understand what you need? u see this background image or dxRectangle behind text ( i want this move with text like movement side ) 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