Constant animating items?

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

warhell
Posts: 199
Joined: 18 Aug 2007, 16:49
Location: Silicon Valley, CA
Contact:

Constant animating items?

Postby warhell » 01 Apr 2010, 22:32

Is it possible to have items like a neon sign (Open sign for a store) that has a constant animation and requires no user interaction? It looks like the only way to have an animations ( or at least start one) is by giving the item a trigger. I would like for an item to constantly animated as soon as I put it in the map.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 23:30

If the item skin is a movieclip with no stop() action on its timeline, it will animate as soon as it is rendered on the stage.
Paolo Bax
The SmartFoxServer Team
warhell
Posts: 199
Joined: 18 Aug 2007, 16:49
Location: Silicon Valley, CA
Contact:

Postby warhell » 05 Apr 2010, 16:10

I tried what you suggested. After placing the item in the map it does not animate. Is there a certain property I have to enable on the item in the Openspace Editor?
warhell
Posts: 199
Joined: 18 Aug 2007, 16:49
Location: Silicon Valley, CA
Contact:

Postby warhell » 05 Apr 2010, 16:41

I figured out that if you put "play();" in the first frame of the animations it fixes the issues :).
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 06 Apr 2010, 06:48

Yes, you are right and I forgot to mention :roll:
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 48 guests