Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <api>
- <!-- background colour -->
- <configuration background_colour="0xffa200" />
- <!-- Buttons
- - name: standard colour 0x00000
- custom colour: "|String@#RGB|"
- example:
- "BLACK |RED@#FF0000| |GREEN@#00FF00|"
- - mode: BUTTON, SLIDER**, SWITCH* (case-insensitive)
- *switch requires childnodes with state values and icons
- ** under development
- - icon: predesigned: defaultApiIcon, dropApiIcon, helpApiIcon, highscoreApiIcon, keysApiIcon, musicoffApiIcon, musiconApiIcon,
- qualityApiIcon, quitApiIcon, resetApiIcon, resumeApiIcon, rewardsApiIcon, soundoffApiIcon, soundonApiIcon,
- fullscreenApiIcon, normalscreenApiIcon, settingsApiIcon
- custom: class name of movieClip;
- hierarchy (if found) state icon, button icon, predesign icon, default icon;
- - event: event fired, (slider adds a Number value to event 0-1, switch adds a String with values)
- - location: determines if the button should be visible during gameplay ("game") or menu ("menu") or all the time (anything), (case-insensitive)
- -->
- <buttons>
- <button name="Reset (|R@#FF33CC|)" mode="BUTTON" icon="resetApiIcon" event="RESET" location="game" />
- <button name="Music: " mode="SWITCH" icon="icon3" event="SWITCH_MUSIC" location="menu, game, popup">
- <state name="ON" value="1" icon="musiconApiIcon" />
- <state name="OFF" value="0" icon="musicoffApiIcon" />
- </button>
- <button name="Sound: " mode="SWITCH" icon="icon3" event="SWITCH_SOUND" location="menu, game, popup">
- <state name="ON" value="1" icon="soundonApiIcon" />
- <state name="OFF" value="0" icon="soundoffApiIcon" />
- </button>
- <button name="Quit" mode="BUTTON" icon="quitApiIcon" event="QUIT" location="game, popup" />
- <button name="Resume" mode="BUTTON" icon="resumeApiIcon" event="RESUME" location="menu, game, popup" />
- <!-- COMMING SOON
- <button name="Slider1" mode="SLIDER" icon="icon2" event="Event Slider1" location="menu" />
- -->
- </buttons>
- <popups>
- <!---- COMMING SOON -->
- </popups>
- </api>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement