Hugos Posted August 5, 2019 Share Posted August 5, 2019 my functions: dxDrawRectangle(x/3, y-100, 10, 50, tocolor(255, 50, 65), true) dxDrawRectangle(0, y-100, x/3, 50, tocolor(0, 0, 0, 230), true) I need to animate these DX that they "moved forward" on the left side for 30 seconds and "moved" back. How to make it? Link to comment
coNolel Posted August 5, 2019 Share Posted August 5, 2019 https://wiki.multitheftauto.com/wiki/InterpolateBetween Link to comment
Hugos Posted August 6, 2019 Author Share Posted August 6, 2019 9 hours ago, coNolel said: https://wiki.multitheftauto.com/wiki/InterpolateBetween I can not figure out this function. Help, please. Link to comment
coNolel Posted August 6, 2019 Share Posted August 6, 2019 5 hours ago, Hugos said: I can not figure out this function. Help, please. Wich part exactly ? Link to comment
Hugos Posted August 6, 2019 Author Share Posted August 6, 2019 4 hours ago, coNolel said: Wich part exactly ? InterpolateBetween. As it is correct to make function with animation as it is correct to animate this rectangle. Would like to see at least an example. 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