Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info #36

Open
adamziaja opened this issue Jul 26, 2015 · 1 comment
Open

Info #36

adamziaja opened this issue Jul 26, 2015 · 1 comment

Comments

@adamziaja
Copy link

Animations

Congratulate
LookRight
SendMail
Thinking
Explain
IdleRopePile
IdleAtom
Print
Hide
GetAttention
Save
GetTechy
GestureUp
Idle1_1
Processing
Alert
LookUpRight
IdleSideToSide
GoodBye
LookLeft
IdleHeadScratch
LookUpLeft
CheckingSomething
Hearing_1
GetWizardy
IdleFingerTap
GestureLeft
Wave
GestureRight
Writing
IdleSnooze
LookDownRight
GetArtsy
Show
LookDown
Searching
EmptyTrash
Greeting
LookUp
GestureDown
RestPose
IdleEyeBrowRaise
LookDownLeft

Random animation every 5 sec

        <script type="text/javascript">
            clippy.load('Clippy', function(agent) {
                agent.show();
                function randomIdle() {
                    switch (Math.floor(Math.random() * 8)) {
                        case 0:
                            agent.play('Idle1_1');
                            break;
                        case 1:
                            agent.play('IdleAtom');
                            break;
                        case 2:
                            agent.play('IdleEyeBrowRaise');
                            break;
                        case 3:
                            agent.play('IdleFingerTap');
                            break;
                        case 4:
                            agent.play('IdleHeadScratch');
                            break;
                        case 5:
                            agent.play('IdleRopePile');
                            break;
                        case 6:
                            agent.play('IdleSideToSide');
                            break;
                        case 7:
                            agent.play('IdleSnooze');
                            break;
                    }
                }
                setInterval(function() {
                    //agent.stop();
                    randomIdle();
                }, 5000);
            });
        </script>
@balshetzer
Copy link

Many of the animations can actually go on for much Longer than five seconds. If you are using a version with my patches then the agent will automatically play idle animations when inactive and won't look so static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants