Jump to content

help (animate)


Hugos

Recommended Posts

Posted

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?

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...