Created
          October 10, 2020 15:04 
        
      - 
      
- 
        Save goldzulu/cd205a0fe87bb552a02eb334641603c8 to your computer and use it in GitHub Desktop. 
    Quick Fight Char APL Selection
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "type": "APL", | |
| "version": "1.3", | |
| "settings": {}, | |
| "theme": "dark", | |
| "import": [], | |
| "resources": [], | |
| "styles": {}, | |
| "onMount": [], | |
| "graphics": {}, | |
| "commands": { | |
| "rotateIn": { | |
| "parameters": [ | |
| "duration", | |
| "delay" | |
| ], | |
| "commands": [ | |
| { | |
| "type": "AnimateItem", | |
| "duration": "${duration}", | |
| "delay": "${delay || 0}", | |
| "value": [ | |
| { | |
| "property": "opacity", | |
| "from": 0, | |
| "to": 1 | |
| }, | |
| { | |
| "property": "transform", | |
| "from": [ | |
| { | |
| "rotate": -200 | |
| } | |
| ], | |
| "to": [ | |
| { | |
| "rotate": 0 | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "slideInDown": { | |
| "parameters": [ | |
| "duration", | |
| "distance", | |
| "delay" | |
| ], | |
| "commands": [ | |
| { | |
| "type": "AnimateItem", | |
| "duration": "${duration}", | |
| "delay": "${delay || 0}", | |
| "value": [ | |
| { | |
| "property": "opacity", | |
| "to": 1 | |
| }, | |
| { | |
| "property": "transform", | |
| "from": [ | |
| { | |
| "opacity": 0, | |
| "translateY": "${distance && ('-' + distance) || '-100%'}" | |
| } | |
| ], | |
| "to": [ | |
| { | |
| "opacity": 1, | |
| "translateY": 0 | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "layouts": {}, | |
| "mainTemplate": { | |
| "parameters": [ | |
| "payload" | |
| ], | |
| "items": [ | |
| { | |
| "type": "Container", | |
| "when": "${viewport.shape == 'round'}", | |
| "width": "100vw", | |
| "height": "100vh", | |
| "direction": "row", | |
| "alignItems": "center", | |
| "justifyContent": "center", | |
| "items": [ | |
| { | |
| "type": "Video", | |
| "width": "0vw", | |
| "height": "0vh", | |
| "autoplay": false, | |
| "id": "StreamVideo", | |
| "source": "https://storage.googleapis.com/coverr-main/mp4%2Fcoverr-sunrise-1563948708950.mp4", | |
| "onEnd": [ | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "Image", | |
| "width": "1vw", | |
| "height": "1vh", | |
| "source": "", | |
| "id": "selection" | |
| }, | |
| { | |
| "type": "Sequence", | |
| "scrollDirection": "horizontal", | |
| "width": "99vw", | |
| "height": "99vh", | |
| "items": [ | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "99vw", | |
| "height": "99vh", | |
| "paddingTop": "9vh", | |
| "paddingBottom": "9vh", | |
| "paddingLeft": "9vh", | |
| "paddingRight": "9vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/witch.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 500 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=witch&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "99vw", | |
| "height": "99vh", | |
| "paddingTop": "9vh", | |
| "paddingBottom": "9vh", | |
| "paddingLeft": "9vh", | |
| "paddingRight": "9vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/warrior.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 1000 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=warrior&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "99vw", | |
| "height": "99vh", | |
| "paddingTop": "9vh", | |
| "paddingBottom": "9vh", | |
| "paddingLeft": "9vh", | |
| "paddingRight": "9vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/thief.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 1500 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=thief&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "Container", | |
| "when": "${viewport.shape != 'round'}", | |
| "width": "100vw", | |
| "height": "100vh", | |
| "direction": "row", | |
| "alignItems": "center", | |
| "justifyContent": "center", | |
| "items": [ | |
| { | |
| "type": "Video", | |
| "width": "0vw", | |
| "height": "0vh", | |
| "autoplay": false, | |
| "id": "StreamVideo", | |
| "source": "https://storage.googleapis.com/coverr-main/mp4%2Fcoverr-sunrise-1563948708950.mp4", | |
| "onEnd": [ | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "Image", | |
| "width": "1vw", | |
| "height": "1vh", | |
| "source": "", | |
| "id": "selection" | |
| }, | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "30vw", | |
| "height": "60vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/witch.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 500 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=witch&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "30vw", | |
| "height": "60vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/warrior.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 1000 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=warrior&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "TouchWrapper", | |
| "items": [ | |
| { | |
| "type": "Image", | |
| "width": "30vw", | |
| "height": "60vh", | |
| "source": "https://space-conquest.s3.amazonaws.com/thief.png", | |
| "opacity": 0, | |
| "onMount": [ | |
| { | |
| "type": "rotateIn", | |
| "duration": 1000, | |
| "delay": 1500 | |
| } | |
| ] | |
| } | |
| ], | |
| "onPress": [ | |
| { | |
| "type": "SetValue", | |
| "property": "source", | |
| "componentId": "selection", | |
| "value": "https://aplselect.glitch.me/select.jpg?sel=thief&doc=qtVL9sstjSu5JhCVlf8P&random=${Time.format('YYYYMMDDHHMMSS', localTime)}${(Math.floor(Time.seconds(localTime) / 30) * 30) % 60}" | |
| }, | |
| { | |
| "type": "SendEvent", | |
| "arguments": [ | |
| "voiceFlowVideoEnded" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment