Re: [Flashcoders] Best way to control game character animations

2007-05-30 Thread Frederico Ferro Schuh

Well I figured out the problem, it once more was caused by modifications in
the display list during an input event... calling updateAfterEvent() solved
all the blinking issues. I'm still getting used to that...  seems like it's
easy to mess things up if you forget to call it.

But I'm glad I can still get to control the animations adding and removing
MovieClips as needed.

I took a look at the scrollRect stuff, but that's for optimizing... I'm not
that far yet :)
Just have to get the animations to work first.

Thanks for the feedback!

On 5/29/07, Jim Berkey <[EMAIL PROTECTED]> wrote:


If I'm understanding the question, I just read a blog about this . . .
possibly Sprite sheets + scrollrect is what you are looking for??
http://mikegrundvig.blogspot.com/2007/05/as3-is-fast.html

*** REPLY SEPARATOR  ***

On 5/29/2007 at 11:54 AM Bob Wohl wrote:

>can you set their visability? (AS3 noob i am)
>
>
>
>B.
>
>On 5/28/07, Frederico Ferro Schuh <[EMAIL PROTECTED]> wrote:
>>
>> Hello list,
>>
>> I've been fiddling around with character animations for use in AS3
flash
>> games. What's not clear to me is the animation control.
>>
>> What's the best way to switch the current animation of the character? I
>> tried having each animation in its own MovieClip, and add/remove and
>> play/stop them as necessary, but this causes blinking problems in
slower
>> machines (you can sometimes see the character disappearing and
appearing
>> when the animation switches), which's not a good thing. I believe this
is
>> related to the asyncronous nature of the flash player.
>>
>> What I'm doing now is have a master MovieClip that contains one
character
>> animation in each frame, and switch between them as needed. This looks
a
>> little clumsy to me, as objects get created/destroyed unnecessarily,
and
>> it's hard to manage them.
>>
>> Is this the only way to go, or is there a better solution? Any hints on
>> this
>> would be really appreciated.
>> Thanks.
>>
>> --
>> Frederico Ferro Schuh
>> MSN [EMAIL PROTECTED]
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com

h

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Frederico Ferro Schuh
MSN [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Best way to control game character animations

2007-05-29 Thread Jim Berkey
If I'm understanding the question, I just read a blog about this . . . possibly 
Sprite sheets + scrollrect is what you are looking for??
http://mikegrundvig.blogspot.com/2007/05/as3-is-fast.html

*** REPLY SEPARATOR  ***

On 5/29/2007 at 11:54 AM Bob Wohl wrote:

>can you set their visability? (AS3 noob i am)
>
>
>
>B.
>
>On 5/28/07, Frederico Ferro Schuh <[EMAIL PROTECTED]> wrote:
>>
>> Hello list,
>>
>> I've been fiddling around with character animations for use in AS3 flash
>> games. What's not clear to me is the animation control.
>>
>> What's the best way to switch the current animation of the character? I
>> tried having each animation in its own MovieClip, and add/remove and
>> play/stop them as necessary, but this causes blinking problems in slower
>> machines (you can sometimes see the character disappearing and appearing
>> when the animation switches), which's not a good thing. I believe this is
>> related to the asyncronous nature of the flash player.
>>
>> What I'm doing now is have a master MovieClip that contains one character
>> animation in each frame, and switch between them as needed. This looks a
>> little clumsy to me, as objects get created/destroyed unnecessarily, and
>> it's hard to manage them.
>>
>> Is this the only way to go, or is there a better solution? Any hints on
>> this
>> would be really appreciated.
>> Thanks.
>>
>> --
>> Frederico Ferro Schuh
>> MSN [EMAIL PROTECTED]
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com

h

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Best way to control game character animations

2007-05-29 Thread Bob Wohl

can you set their visability? (AS3 noob i am)



B.

On 5/28/07, Frederico Ferro Schuh <[EMAIL PROTECTED]> wrote:


Hello list,

I've been fiddling around with character animations for use in AS3 flash
games. What's not clear to me is the animation control.

What's the best way to switch the current animation of the character? I
tried having each animation in its own MovieClip, and add/remove and
play/stop them as necessary, but this causes blinking problems in slower
machines (you can sometimes see the character disappearing and appearing
when the animation switches), which's not a good thing. I believe this is
related to the asyncronous nature of the flash player.

What I'm doing now is have a master MovieClip that contains one character
animation in each frame, and switch between them as needed. This looks a
little clumsy to me, as objects get created/destroyed unnecessarily, and
it's hard to manage them.

Is this the only way to go, or is there a better solution? Any hints on
this
would be really appreciated.
Thanks.

--
Frederico Ferro Schuh
MSN [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Best way to control game character animations

2007-05-28 Thread Frederico Ferro Schuh

Hello list,

I've been fiddling around with character animations for use in AS3 flash
games. What's not clear to me is the animation control.

What's the best way to switch the current animation of the character? I
tried having each animation in its own MovieClip, and add/remove and
play/stop them as necessary, but this causes blinking problems in slower
machines (you can sometimes see the character disappearing and appearing
when the animation switches), which's not a good thing. I believe this is
related to the asyncronous nature of the flash player.

What I'm doing now is have a master MovieClip that contains one character
animation in each frame, and switch between them as needed. This looks a
little clumsy to me, as objects get created/destroyed unnecessarily, and
it's hard to manage them.

Is this the only way to go, or is there a better solution? Any hints on this
would be really appreciated.
Thanks.

--
Frederico Ferro Schuh
MSN [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com