Jump to content

fade dxtext


Recommended Posts

This is an Example

function drawImage() 
            local screenWidth, screenHeight = guiGetScreenSize() 
            image1 = guiCreateStaticImage(screenWidth/2, screenHeight/40,100,100,  'images/one.png', false) 
            Animation.createAndPlay(image1, Animation.presets.guiFadeIn(800)) --- this is what you want? 
            Animation.createAndPlay(image1, Animation.presets.guiPulse(1000)) --- this is what you want? 
addEventHandler ( "onClientResourceStart", root, drawImage) 

and then use arc_ animation script and it well work :wink:

Link to comment
Guest Guest4401

Or use a little bit of Math with the color argument for dxDrawText.



Depends on what is easier for you. Yes, there are other ways too, as suggested by others.

Link to comment

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