aboutsummaryrefslogtreecommitdiff
path: root/config/Outdoor.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/Outdoor.xml')
-rw-r--r--config/Outdoor.xml30
1 files changed, 26 insertions, 4 deletions
diff --git a/config/Outdoor.xml b/config/Outdoor.xml
index 9ee0c3a..5ad2c58 100644
--- a/config/Outdoor.xml
+++ b/config/Outdoor.xml
@@ -40,9 +40,17 @@
<Class>inputs.PygameInput</Class>
<Args><!--Passed as a dictionary-->
<Id>pygame</Id>
- <RefreshInterval>100</RefreshInterval>
+ <RefreshInterval>10</RefreshInterval>
</Args>
</InputElement>
+ <!--<InputElement>
+ <Class>inputs.TCPInput</Class>
+ <Args>
+ <Id>tcp</Id>
+ <Port>20120</Port>
+ <RefreshInterval>10</RefreshInterval>
+ </Args>
+ </InputElement>-->
<InputElement Id="followmouse">
<InheritsFrom>inputs/MouseFollower.xml</InheritsFrom>
</InputElement>
@@ -68,6 +76,12 @@
<Behavior Id="decay">
<InheritsFrom>behaviors/PixelDecay.xml</InheritsFrom>
</Behavior>
+ <Behavior Id="slowdecay">
+ <InheritsFrom>behaviors/PixelDecay.xml</InheritsFrom>
+ <Args>
+ <Coefficient>.01</Coefficient>
+ </Args>
+ </Behavior>
<Behavior>
<Class>behaviors.DebugBehavior</Class>
<Args>
@@ -84,10 +98,17 @@
<Id>pixelsleft</Id>
</Args>
</Behavior>
+ <Behavior>
+ <Class>behaviors.Square</Class>
+ <Args>
+ <Id>square</Id>
+ <Width>5</Width>
+ </Args>
+ </Behavior>
<Behavior Id="recursivedecay">
<InheritsFrom>behaviors/LoopAndDie.xml</InheritsFrom>
<Args>
- <InitialResponseCount>200</InitialResponseCount>
+ <InitialResponseCount>300</InitialResponseCount>
</Args>
</Behavior>
<Behavior>
@@ -127,11 +148,12 @@
<Id>mousechaser</Id>
<Inputs>
<Id>followmouse</Id>
+ <Id>tcp</Id>
</Inputs>
<ChainedBehaviors>
<Id>echo</Id>
- <Id>pixelsleft</Id>
- <Id>decay</Id>
+ <Id>square</Id>
+ <Id>slowdecay</Id>
</ChainedBehaviors>
<RenderToScreen>True</RenderToScreen>
</Args>