From 7f88db7003a03b50dc500bf7bd711407f1a640de Mon Sep 17 00:00:00 2001 From: rcoh Date: Sat, 22 Jan 2011 13:31:56 -0500 Subject: Bouncing behavior. Working out a weird bug. Threading may be involved? --- config/6thFloor.xml | 76 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 70 insertions(+), 6 deletions(-) (limited to 'config/6thFloor.xml') diff --git a/config/6thFloor.xml b/config/6thFloor.xml index 9c5f77e..4c31892 100644 --- a/config/6thFloor.xml +++ b/config/6thFloor.xml @@ -7,6 +7,7 @@ layouts/60StripLayout.xml + @@ -28,9 +29,9 @@ - + renderers/Pygame.xml @@ -79,6 +80,9 @@ behaviors/PixelDecay.xml + + behaviors/SingleFrame.xml + behaviors/PixelDecay.xml @@ -86,6 +90,60 @@ + behaviors.XYMove + + xymove + 5 + 2 + + + + behaviors.RestrictLocation + + xbounce + {val}*-1 + XStep + {x}<0 or {x}>800 + + + + behaviors.RestrictLocation + + ybounce + {val}*-1 + YStep + {y}<0 or {y}>200 + + + + behaviors.BehaviorChain + + movebounce + + xymove + ybounce + xbounce + + + + + behaviors.BehaviorChain + + xymover + + pygame + + + colorchange + mover + decay + + {'mover':'movebounce'} + True + gaussmap + + + behaviors.DebugBehavior debug @@ -108,6 +166,12 @@ 20 + + behaviors.AllPixels + + allpixels + + behaviors/LoopAndDie.xml @@ -127,7 +191,7 @@ decay {'running':'acceleratedie'} - True + False gaussmap @@ -144,7 +208,7 @@ decay {'mover':'redwalk'} - True + False gaussmap @@ -196,9 +260,9 @@ echo redshift square - slowdecay + decay - True + False -- cgit v1.2.3