aboutsummaryrefslogtreecommitdiff
path: root/config/6thFloor.xml
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-25 14:07:05 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-25 14:07:05 -0500
commitad8ad25072f55413ecfd696eff1e07c1cd08984e (patch)
tree98eae0d23f8def7765b490d8d37e9716628aed60 /config/6thFloor.xml
parent2019fb2895237aa9d86450daaf6d90831189fc13 (diff)
Fancy param modification
Diffstat (limited to 'config/6thFloor.xml')
-rw-r--r--config/6thFloor.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/config/6thFloor.xml b/config/6thFloor.xml
index 3f734d9..9f3904a 100644
--- a/config/6thFloor.xml
+++ b/config/6thFloor.xml
@@ -121,12 +121,22 @@
<Id>movebounce</Id>
<ChainedBehaviors>
<Id>xymove</Id>
- <Id>ybounce</Id>
+ <!--Id>ybounce</Id-->
<Id>xbounce</Id>
+ <Id>ysin</Id>
</ChainedBehaviors>
</Args>
</Behavior>
<Behavior>
+ <Class>behaviors.ModifyParam</Class>
+ <Args>
+ <Id>ysin</Id>
+ <ParamName>YStep</ParamName>
+ <ParamType>Sensor</ParamType>
+ <ParamOp>4*math.sin({x}/float(40))</ParamOp>
+ </Args>
+ </Behavior>
+ <Behavior>
<Class>behaviors.BehaviorChain</Class>
<Args>
<Id>xymover</Id>
@@ -182,9 +192,9 @@
<Class>behaviors.BehaviorChain</Class>
<Args>
<Id>runcolordecay</Id>
- <Inputs>
+ <!--Inputs>
<Id>pygame</Id>
- </Inputs>
+ </Inputs-->
<ChainedBehaviors>
<Id>colorchange</Id>
<Id>running</Id>