Keilbritschn Posted August 13, 2013 Share Posted August 13, 2013 hey guys, i have a problem. if ( cX > 35/screenW ) then -- shooter if ( cX < 360/screenW ) then if ( cY > 530/screenH ) then if ( cY < 705 /screenH ) then local hoveralpha = interpolateBetween(0,0,0,100,255,255,getProgress(1000),'InQuad') dxDrawImage( 35, 530, 325, 175, 'img/shooterh.png',0,0,0,tocolor(255,255,255,hoveralpha)) end end end end The problem is, that it doenst show the picture in one second, it shows immediately Link to comment
50p Posted August 13, 2013 Share Posted August 13, 2013 Look into your getProgress function. It needs to return a value between 0 and 1. 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