diff options
Diffstat (limited to 'config/6thFloor.xml')
-rw-r--r-- | config/6thFloor.xml | 132 |
1 files changed, 80 insertions, 52 deletions
diff --git a/config/6thFloor.xml b/config/6thFloor.xml index 9f3904a..81f0c9f 100644 --- a/config/6thFloor.xml +++ b/config/6thFloor.xml @@ -7,7 +7,6 @@ </InstallationConfiguration> <PixelConfiguration> <InheritsFrom>layouts/60StripLayout.xml</InheritsFrom> - <!--<InheritsFrom>layouts/BasicSixStrip.xml</InheritsFrom--> </PixelConfiguration> <PixelMapperConfiguration> <PixelMapper> @@ -40,8 +39,25 @@ <InputElement> <Class>inputs.PygameInput</Class> <Args><!--Passed as a dictionary--> - <Id>pygame</Id> + <Id>pygameclick</Id> <RefreshInterval>10</RefreshInterval> + <Clicks>True</Clicks> + </Args> + </InputElement> + <InputElement> + <Class>inputs.PygameInput</Class> + <Args><!--Passed as a dictionary--> + <Id>pygamekey</Id> + <RefreshInterval>10</RefreshInterval> + <Keyboard>True</Keyboard> + </Args> + </InputElement> + <InputElement> + <Class>inputs.UDPInput</Class> + <Args> + <Id>udp</Id> + <Port>3344</Port> + <RefreshInterval>50</RefreshInterval> </Args> </InputElement> <!--<InputElement> @@ -55,14 +71,11 @@ <InputElement Id="followmouse"> <InheritsFrom>inputs/MouseFollower.xml</InheritsFrom> </InputElement> - <InputElement> - <Class>inputs.RandomLocs</Class> - <Args> - <Id>randomLoc</Id> - </Args> - </InputElement> </InputConfiguration> <BehaviorConfiguration> + <Behavior Id="risefall"> + <InheritsFrom>behaviors/RiseFall.xml</InheritsFrom> + </Behavior> <Behavior> <Class>behaviors.EchoBehavior</Class> <Args> @@ -71,11 +84,24 @@ <RenderToScreen>False</RenderToScreen> </Args> </Behavior> - <Behavior Id="redshift"> - <InheritsFrom>behaviors/RedShift.xml</InheritsFrom> + <Behavior Id="dim"> + <InheritsFrom>behaviors/DimColor.xml</InheritsFrom> + </Behavior> + <Behavior> + <Class>behaviors.Expand</Class> + <Args> + <Id>expand</Id> + <ExpandRate>1</ExpandRate> + </Args> </Behavior> <Behavior Id="colorchange"> <InheritsFrom>behaviors/RandomColor.xml</InheritsFrom> + <Args> + <ColorList> + <Val>(255,0,0)</Val> + <Val>(0,0,255)</Val> + </ColorList> + </Args> </Behavior> <Behavior Id="decay"> <InheritsFrom>behaviors/PixelDecay.xml</InheritsFrom> @@ -139,18 +165,39 @@ <Behavior> <Class>behaviors.BehaviorChain</Class> <Args> - <Id>xymover</Id> + <Id>expanddie</Id> + <ChainedBehaviors> + <Id>expand</Id> + <Id>dim</Id> + </ChainedBehaviors> + </Args> + </Behavior> + <Behavior> + <Class>behaviors.BehaviorChain</Class> + <Args> + <Id>risefalldie</Id> + <ChainedBehaviors> + <Id>risefall</Id> + <Id>2sec</Id> + <Id>dim</Id> + </ChainedBehaviors> + </Args> + </Behavior> + <Behavior> + <Class>behaviors.BehaviorChain</Class> + <Args> + <Id>inpexpanddim</Id> <Inputs> - <Id>pygame</Id> + <Id>pygamekey</Id> </Inputs> <ChainedBehaviors> + <Id>mitdoors</Id> <Id>colorchange</Id> <Id>mover</Id> <Id>decay</Id> </ChainedBehaviors> - <RecursiveHooks>{'mover':'movebounce'}</RecursiveHooks> + <RecursiveHooks>{'mover':'risefalldie'}</RecursiveHooks> <RenderToScreen>True</RenderToScreen> - <Mapper>gaussmap</Mapper> </Args> </Behavior> <Behavior> @@ -159,11 +206,26 @@ <Id>debug</Id> <z-index>0</z-index> <Inputs> - <Id>pygame</Id> + <Id>pygamekey</Id> + <Id>udp</Id> </Inputs> </Args> </Behavior> <Behavior> + <Class>behaviors.Timeout</Class> + <Args> + <Id>2sec</Id> + <Timeout>2000</Timeout> + </Args> + </Behavior> + <Behavior> + <Class>behaviors.MITDoors</Class> + <Args> + <Id>mitdoors</Id> + <Bottom>50</Bottom> + </Args> + </Behavior> + <Behavior> <Class>behaviors.AllPixelsLeft</Class> <Args> <Id>pixelsleft</Id> @@ -176,12 +238,6 @@ <Width>20</Width> </Args> </Behavior> - <Behavior> - <Class>behaviors.AllPixels</Class> - <Args> - <Id>allpixels</Id> - </Args> - </Behavior> <Behavior Id="recursivedecay"> <InheritsFrom>behaviors/LoopAndDie.xml</InheritsFrom> <Args> @@ -192,32 +248,15 @@ <Class>behaviors.BehaviorChain</Class> <Args> <Id>runcolordecay</Id> - <!--Inputs> - <Id>pygame</Id> - </Inputs--> - <ChainedBehaviors> - <Id>colorchange</Id> - <Id>running</Id> - <Id>decay</Id> - </ChainedBehaviors> - <RecursiveHooks>{'running':'acceleratedie'}</RecursiveHooks> - <RenderToScreen>False</RenderToScreen> - <Mapper>gaussmap</Mapper> - </Args> - </Behavior> - <Behavior> - <Class>behaviors.BehaviorChain</Class> - <Args> - <Id>randomwalk</Id> <Inputs> - <Id>pygame</Id> + <Id>pygameclick</Id> </Inputs> <ChainedBehaviors> <Id>colorchange</Id> - <Id>mover</Id> + <Id>running</Id> <Id>decay</Id> </ChainedBehaviors> - <RecursiveHooks>{'mover':'redwalk'}</RecursiveHooks> + <RecursiveHooks>{'running':'acceleratedie'}</RecursiveHooks> <RenderToScreen>False</RenderToScreen> <Mapper>gaussmap</Mapper> </Args> @@ -229,16 +268,6 @@ </Args> </Behavior> <Behavior> - <Class>behaviors.BehaviorChain</Class> - <Args> - <Id>redwalk</Id> - <ChainedBehaviors> - <Id>randmovement</Id> - <Id>redshift</Id> - </ChainedBehaviors> - </Args> - </Behavior> - <Behavior> <Class>behaviors.RandomWalk</Class> <Args> <Id>randmovement</Id> @@ -268,7 +297,6 @@ </Inputs> <ChainedBehaviors> <Id>echo</Id> - <Id>redshift</Id> <Id>square</Id> <Id>singleframe</Id> </ChainedBehaviors> |