From 9f61ad1981febe1be8631c0ee24d8febd83db714 Mon Sep 17 00:00:00 2001 From: rcoh Date: Sun, 13 Feb 2011 18:14:01 -0500 Subject: Added TimeSwitch to switch between behaviors at set time intervals --- config/C5Sign.xml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'config') diff --git a/config/C5Sign.xml b/config/C5Sign.xml index 02bd0a2..12cf6e6 100644 --- a/config/C5Sign.xml +++ b/config/C5Sign.xml @@ -164,6 +164,7 @@ xymove ybounce xbounce + longrecursivedecay @@ -176,6 +177,17 @@ 4*math.sin({x}/float(40)) + + behaviors.TimeSwitch + + main + + center + + {'runcolordecay':10,'expandingcircles':10} + True + + behaviors.DebugBehavior @@ -194,19 +206,16 @@ 20 - + + behaviors/LoopAndDie.xml + + behaviors/LoopAndDie.xml - - 80 - behaviors.BehaviorChain runcolordecay - - pygameclick - colorchange mover @@ -311,18 +320,13 @@ behaviors.BehaviorChain - expandingcirlces - - pygameclick - center - + expandingcircles colorchange mover - decay + singleframe {'mover':'circle_expand'} - True -- cgit v1.2.3