<?xml version="1.0" encoding="UTF-8"?>
<actor PGFVersion="0.19" id="id474543" GSCVersion="0.10.4.1"><attributes><text id="name">menuPause</text><real id="time">0</real><point id="position"><real id="x">0</real><real id="y">0</real></point><size id="size"><real id="width">34</real><real id="height">34</real></size><angle id="rotation">0</angle><color id="color"><real id="red">1</real><real id="green">1</real><real id="blue">1</real><real id="alpha">1</real></color><image id="image">menuPause</image><text id="tags"></text><boolean id="preloadArt">false</boolean><boolean name="CanPause" id="id368486">false</boolean></attributes><behaviors><behavior enabled="true" id="id519089" class="RuleBehavior"><attributes><text id="name">Rule</text><text id="bundleName">Rule.behavior</text><real id="compoundConditionKind">0</real></attributes><conditions><condition id="id453502" eventType="touch"><attributes><index id="conditionType">0</index></attributes><predicate type="touch" conditionType="released"><attributes/></predicate></condition></conditions><behaviors><behavior id="id741440" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">game.attributes.id733446</text><text id="RHS">1</text></attributes></behavior><behavior id="id329833" class="PauseGameAction" enabled="true"><attributes><text id="name">Pause Game</text><text id="bundleName">PauseGame.behavior</text><text id="sceneKey">id193370</text><boolean id="enableAdvertisement">true</boolean></attributes></behavior></behaviors><elseBehaviors/></behavior><behavior enabled="true" id="id671423" class="RuleBehavior"><attributes><text id="name">Rule: Show only if camera is not zoomed out</text><text id="bundleName">Rule.behavior</text><real id="compoundConditionKind">0</real></attributes><conditions><condition id="id876228" eventType="mouse button"><attributes><index id="conditionType">1</index><text id="subjectAttribute">game.attributes.id859246</text></attributes><predicate type="boolean"><attributes><index id="RHS">1</index></attributes></predicate></condition></conditions><behaviors><behavior id="id117562" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.color.alpha</text><text id="RHS">1</text></attributes></behavior></behaviors><elseBehaviors><behavior id="id784419" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.color.alpha</text><text id="RHS">0</text></attributes></behavior></elseBehaviors></behavior><behavior enabled="true" id="id515418" class="RuleBehavior"><attributes><text id="name">Rule: Wait until zooming is complete</text><text id="bundleName">Rule.behavior</text><real id="compoundConditionKind">1</real></attributes><conditions><condition id="id224482" pluginPredicateTypeIndex="0" eventType="mouse position"><attributes><index id="conditionType">1</index><text id="subjectAttribute">game.attributes.id885537</text></attributes><predicate type="number"><attributes><text id="operator">=</text><real id="RHS">1</real></attributes></predicate></condition><condition id="id654119" pluginPredicateTypeIndex="0" eventType="mouse position"><attributes><index id="conditionType">1</index><text id="subjectAttribute">game.attributes.id885537</text></attributes><predicate type="number"><attributes><text id="operator">=</text><real id="RHS">2</real></attributes></predicate></condition></conditions><behaviors><behavior id="id525715" class="CompoundBehavior" enabled="true"><attributes><text id="name">Group: Adjust Size and Position based on device screen size and zoom factor</text><text id="bundleName">Group.behavior</text></attributes><behaviors><behavior id="id598507" class="NoteBehavior" enabled="true"><attributes><text id="name">Note</text><text id="bundleName">Note.behavior</text><text id="note">Since ZoomFactor is a real number, you must round to the nearest whole number to be accurate.
floor(Number+.5) will do the rounding correctly.
</text></attributes></behavior><behavior id="id604279" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute: Adjust Size depending on zoom factor</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.size.width</text><text id="RHS"><expression><string>40*floor(</string><reference keypath="game.attributes.id885537"/><string>+.5)</string></expression></text></attributes></behavior><behavior id="id793416" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute: Adjust Size depending on zoom factor</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.size.height</text><text id="RHS"><expression><string>40*floor(</string><reference keypath="game.attributes.id885537"/><string>+.5)</string></expression></text></attributes></behavior><behavior id="id281732" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute: Adjust Position depending on zoom factor. 320 is the original platform height. 24 is the offset</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.position.y</text><text id="RHS"><expression><string>(320-24)*floor(</string><reference keypath="game.attributes.id885537"/><string>+.5)</string></expression></text></attributes></behavior><behavior enabled="true" id="id684961" class="RuleBehavior"><attributes><text id="name">Rule: If set to crop instead of lettebox for universal builds</text><text id="bundleName">Rule.behavior</text><real id="compoundConditionKind">0</real></attributes><conditions><condition id="id546315" pluginPredicateTypeIndex="0" eventType="mouse position"><attributes><index id="conditionType">1</index><text id="subjectAttribute">game.attributes.id401479</text></attributes><predicate type="boolean"><attributes><index id="RHS">1</index></attributes></predicate></condition></conditions><behaviors><behavior id="id817453" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute: Adjust Position depending on zoom factor. 568 is the original platform width.</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.position.x</text><text id="RHS"><expression><string>((568-</string><reference keypath="game.devices.screen.size.width"/><string>*320/</string><reference keypath="game.devices.screen.size.height"/><string>)/2+24)*floor(</string><reference keypath="game.attributes.id885537"/><string>+.5)</string></expression></text></attributes></behavior></behaviors><elseBehaviors><behavior id="id492385" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute: Adjust Position depending on zoom factor. 568 is the original platform width.</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.position.x</text><text id="RHS"><expression><string>24*floor(</string><reference keypath="game.attributes.id885537"/><string>+.5)</string></expression></text></attributes></behavior></elseBehaviors></behavior></behaviors></behavior><behavior id="id401835" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.color.alpha</text><text id="RHS">1</text></attributes></behavior></behaviors><elseBehaviors><behavior id="id200833" class="ChangeAttributeAction" enabled="true"><attributes><text id="name">Change Attribute</text><text id="bundleName">ChangeAttribute.behavior</text><text id="targetAttribute">self.attributes.color.alpha</text><text id="RHS">0</text></attributes></behavior></elseBehaviors></behavior></behaviors><aspects><graphics><attributes><boolean id="visible">true</boolean><enumeration id="blendingMode">0</enumeration><enumeration id="horizontalWrap">0</enumeration><enumeration id="verticalWrap">0</enumeration><enumeration id="horizontalAnchor">0</enumeration><enumeration id="verticalAnchor">0</enumeration><boolean id="flipHorizontally">false</boolean><boolean id="flipVertically">false</boolean><integer id="tileWidth">34</integer><integer id="tileHeight">34</integer></attributes></graphics><motion><attributes><point id="linearVelocity"><real id="x">0</real><real id="y">0</real></point><real id="angularVelocity">0</real><real id="maxSpeed">0</real><boolean id="applyMaxSpeed">false</boolean></attributes></motion><physics><attributes><real id="density">1</real><real id="friction">3</real><real id="restitution">1</real><boolean id="fixedRotation">false</boolean><boolean id="movable">false</boolean><enumeration id="collisionShape">0</enumeration><real id="drag">0</real><real id="angularDrag">0</real></attributes></physics></aspects></actor>
