paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] messages


From: taurus
Subject: Re: [paragui-users] messages
Date: Fri, 8 Nov 2002 17:46:33 +0000

Hello Keith,

Friday, November 08, 2002, 14:29:05, you wrote:

KS> here's my problem....
KS> any help or ideas would be great. my brain is going dead.

I had the same situation when I was implementing animation based on my
simple scripting language in ParaGUI.
What have I done?

1) allow idle app calls
2) every idle event will call a function DoAnimation() of a widget, or
group of them
3) DoAnimation(): I check current ticks and if the current tick is the
tick to draw next frame, so draw it. If it reaches the last frame -
stop animation.

This approach is quite transparent to all user events. I tried to use
timer for animation and user responces, but I`ve faced problems with MP3 
playback and
some user events.

If this somehow helps... I`m glad :)


PS. I`ve posted 2 questions about zooming and transparent fading, but
didn`t receive any answer... I have problems to cross-fade 2 pictures,
maybe anybody has any thoughts - I will appreciate any help!


Kind regards,
       taurus                          

address@hidden

 ->> "If you will have a megaphone, you will never have to be alone..."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]