Main
Main
(menu
; You can initiate an override to jump straight into an option
; Add the tag (override) to a declared option and it will run
; i.e. (option (mugen ... (override)))
; Keep in mind that there can only be one override, the first to be parsed will
be the one used
(version 3 3 1)
; Using the space api
(space absolute-space 0 0 640 480)
(space relative-space -1 -1 1 1)
; (coordinate (space absolute-space 100 200 450 450)
; (radius 15)
; (z 0))
; (position ...) will be equivalent to (coordinate (space absolute-space ...))
; **Required** to name each menu, the top level menu is always named "main"
(name main)
; **Required** Positioning of menu
; This is absolute placement of the menu list x | y | width | height
;(position 100 200 450 250)
; This is using the relative coordinate system ranging from -1 through 1: x1 |
y1 | x2 | y2
;(relative-position -.6 -.3 .6 .8)
; Two methods of using the coordinate option and effecting the roundness of
corners with radius
; Currently z is unused
(coordinate (absolute 100 200 450 170) (radius 15) (z 0))
;(coordinate (relative -.6 -.3 .6 .8) (radius 5) (z 0))
; **Optional** This is body color of above menu red | blue | green | alpha
(position-body 0 0 0 128)
; **Optional** This is border color of above menu red | blue | green | alpha
(position-border 200 200 200 255)
; **Optional** This is the fade speed of the appearing menus, default at 12
(fade-speed 12)
; **Optional** for the toplevel menu "main"
; If there is no bitmap specified then the clear-color will be used
instead
; Note that if the top level menu has a bitmap then subsequent menus
will utilize that if there is none declared in the menu.
;(background menu/paintown.png)
; **Optional** Clear color for the background in case there is no background
defined defaults to black (0,0,0)
(clear-color 0 0 0)
; **Optional** The option info text placement defaults to 0 -0.5
; location centered on the x and y coordinate
(info-position 0, -.5)
; ** Optional** menu info text
(menuinfo "Меню")
; **optional** The menu info text placement if menu info text is set defaults to
0 .95
; location centered on the x and y coordinate
(menuinfo-position 0, .95)
; **Optional** to use music
(music music/aqua.s3m)
; **Optional** to use a sound for menu item selection
(select-sound menu/sounds/menu-select.wav)
(back-sound menu/sounds/menu-back.wav)
(ok-sound menu/sounds/menu-ok.wav)
; **Optional** Set default gamespeed
(action (fixedspeed 1.0))
; **Optional** Font name and size (default /fonts/arial.ttf 24 24)
(font "fonts/arial.ttf" 30 30)
; Main options which are basically optional
; Each mode will have be similar to this
(option
(adventure
; ** Each option is required to have a name!
(name
(language "English" "История")
(language "Русский" "")
(language "Español" "Modo Aventura")
(language "Français" "Mode Aventure")
(language "Deutsch" "Abenteuer-Modus"))
; ** Optional** This is a popup with information regarding the selected item
; Place text
; location is optional which is centered on the x and y coordinate and
overwrites info-position in the main menu
(info
(language "English" "Naruto Shippuden Ultimate Ninja Storm 4
; Platformer Testing
;@
(option
(platformer
(name "Platformer Mode")
(info "Platformer Game")
(game "data/platformer/test.txt")))