Animated menu

Posts 1–15 of 28 · Page 1 of 2
Animated menu
Is it possible to make a animated menu like this ,
And has it been done before.
do you mean Menu with Picture and the Picture animated ?
I'm sure it's possible but will lag like a drunk bitch in a dark room.
Like a menu flashing red green and stuff.... like adding a .gif
I can't believe you guys still care more about what it looks rather than what it does...
MAN U GUYS ARE NOT CREATIVE.. I am a D3D WIZE (at some thing)

IDEAS FOR SPRITES:
  1. Make many pictures for your animation
  2. Create Many Textures for each image
  3. Now If ur using 2 images use a "bool" else use a "int" r something
  4. NOW THE CODING OF THIS in a Thread.
    Code:
    int T_no;
    DWORD TimerTHREAD( void ){
    while(true){
            if ( T_no == 0){
                    Sleep(/* animation time */ 1000);
                    T_no = 1; // Next Animation
            }else if( T_no == 1){
                    Sleep( /*Animation Time*/ 500);
            }/* AND SO ON*/
    }
    return 0x001;
    }
    
    PRESENT NOW, but that to much writing
    
    HMODULE myPresent( /*ect */){
            if (T_no == 0)
                     Animation_Texture = MP_text; //Draw Animation 1
            else if (T_no == 1)
                    Animation_Texture = pTexture; //Draw Animation 2
    
             Sprite->Draw( bla bla bla , Animation_Texture);
    }
    REMEMBER I WAS THINKING OF HOW IT WILL WORK WHEN I MADE IT.


Quote Originally Posted by Gordon` View Post
you could use 2D Games Animation

It does not change the image, it is the same image there just fliping it and moving it and stuff.


You should read the article better and unterstand the possibilities.

Your method is just wasting memory - use the method in the article and you can do all in one picture file and with one texture.
Quote Originally Posted by Gordon` View Post
You should read the article better and unterstand the possibilities.

Your method is just wasting memory - use the method in the article and you can do all in one picture file and with one texture.
From what i saw it seems to be only moving the texture,

but my way is different. it is for if ur using more than 1 pictures how u say, like a '*.gif' file .

those file are images with timers, that

at thise time. show this image. few mili sec it will show a different picture.

I am just re creating the effect in D3D.

my ways are some what buggy i kno.
U can do it easy^^

Just change the color of the menu box all second from blue to green or so/
Quote Originally Posted by ChanceOfHax View Post
U can do it easy^^

Just change the color of the menu box all second from blue to green or so/
advice.. dont speak

Lol .
Create a D3DX Texture from file for all frames of your animation and draw your sprite with sequential textures.

There should be a better way, but it will not lag at all.






Why is DX[T] censored?
You can't use .gif's.

Just putting that out there.


Quote Originally Posted by HL-SDK View Post
Why is DX[T] censored?
No idea /
Posts 1–15 of 28 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us