Advertisement
Jhynjhiruu

Untitled

Apr 30th, 2019
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.04 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <api>
  3.     <!--  background colour -->
  4.     <configuration background_colour="0xffa200" />
  5.     <!-- Buttons
  6.     - name: standard colour 0x00000
  7.             custom colour: "|String@#RGB|"
  8.             example:
  9.             "BLACK |RED@#FF0000| |GREEN@#00FF00|"
  10.            
  11.     - mode: BUTTON, SLIDER**, SWITCH* (case-insensitive)
  12.     *switch requires childnodes with state values and icons
  13.     ** under development
  14.    
  15.     - icon: predesigned: defaultApiIcon, dropApiIcon, helpApiIcon, highscoreApiIcon, keysApiIcon, musicoffApiIcon, musiconApiIcon,
  16.                          qualityApiIcon, quitApiIcon, resetApiIcon, resumeApiIcon, rewardsApiIcon, soundoffApiIcon, soundonApiIcon,
  17.                          fullscreenApiIcon, normalscreenApiIcon, settingsApiIcon
  18.             custom: class name of movieClip;
  19.            
  20.             hierarchy (if found) state icon, button icon, predesign icon, default icon;
  21.    
  22.     - event: event fired, (slider adds a Number value to event 0-1, switch adds a String with values)
  23.    
  24.     - location: determines if the button should be visible during gameplay ("game") or menu ("menu") or all the time (anything), (case-insensitive)
  25.    
  26.     -->
  27.     <buttons>
  28.         <button name="Reset (|R@#FF33CC|)" mode="BUTTON" icon="resetApiIcon" event="RESET" location="game" />
  29.         <button name="Music: " mode="SWITCH" icon="icon3" event="SWITCH_MUSIC" location="menu, game, popup">
  30.             <state name="ON" value="1" icon="musiconApiIcon" />
  31.             <state name="OFF" value="0" icon="musicoffApiIcon" />
  32.         </button>
  33.         <button name="Sound: " mode="SWITCH" icon="icon3" event="SWITCH_SOUND" location="menu, game, popup">
  34.             <state name="ON" value="1" icon="soundonApiIcon" />
  35.             <state name="OFF" value="0" icon="soundoffApiIcon" />
  36.         </button>
  37.         <button name="Quit" mode="BUTTON" icon="quitApiIcon" event="QUIT" location="game, popup" />
  38.         <button name="Resume" mode="BUTTON" icon="resumeApiIcon" event="RESUME" location="menu, game, popup" />
  39.        
  40.         <!-- COMMING SOON
  41.         <button name="Slider1" mode="SLIDER" icon="icon2" event="Event Slider1" location="menu" />
  42.         -->
  43.        
  44.     </buttons>
  45.     <popups>
  46.         <!---- COMMING SOON -->
  47.     </popups>  
  48. </api>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement