Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 16 Feb 2006 11:56:45 -0800 (PST)
Is there a way that I can have an animation playing while other brushes are being displayed one by one?
BTW: I'm using layers so using sprites is not an option.
[16 Feb 2006] Playing an Animation while Other Things are being Displayed
- airsoftsoftwair
- Posts: 5919
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[16 Feb 2006] Re: Playing an Animation while Other Things are being Displayed
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 16 Feb 2006 21:22:12 +0100
Sure there is. You use NextFrame() for that. See the doc for more info.Is there a way that I can have an animation playing while other brushes are being displayed one by one?
[16 Feb 2006] Re: Playing an Animation while Other Things are being Displayed
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 16 Feb 2006 12:56:02 -0800 (PST)
This is what I've got right now:
The problem is that the interval isn't being called until after the rest of the brushes have been displayed; and I'd like to have the animation playing while the other brushes are displayed with their own FX settings.
This is what I've got right now:
Code: Select all
Function p_Animation()
NextFrame(1)
EndFunction
SetInterval(1,p_Animation,30)
- airsoftsoftwair
- Posts: 5919
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[17 Feb 2006] Re: Playing an Animation while Other Things are being Displayed
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 17 Feb 2006 11:28:26 +0100
Oh, that's not possible then. All commands which display FX block the rest of the script. You can't do anything while effects are being rendered. Sorry.This is what I've got right now:
The problem is that the interval isn't being called until after the rest of the brushes have been displayed; and I'd like to have the animation playing while the other brushes are displayed with their own FX settings.Code: Select all
Function p_Animation() NextFrame(1) EndFunction SetInterval(1,p_Animation,30)