Trabajando en la carga de menus desde fichero

This commit is contained in:
2022-08-28 19:59:03 +02:00
parent d9cb7f68e2
commit d5a069b8db
9 changed files with 352 additions and 53 deletions

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.1" orientation="orthogonal" renderorder="right-down" width="40" height="26" tilewidth="8" tileheight="8" infinite="0" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.1" orientation="orthogonal" renderorder="right-down" width="40" height="26" tilewidth="8" tileheight="8" infinite="0" nextlayerid="3" nextobjectid="3">
<editorsettings>
<export target="05..tmj" format="json"/>
</editorsettings>
<tileset firstgid="1" source="surface.tsx"/>
<layer id="1" name="Capa de patrones 1" width="40" height="26">
<data encoding="csv">

35
data/menu/title.men Normal file
View File

@@ -0,0 +1,35 @@
font_png=dogica.png
font_txt=dogica.txt
sound_cancel=sound_menu_cancel.wav
sound_accept=sound_menu_select.wav
sound_move=sound_menu_move.wav
name=TITLE
x=0
y=150
backgroundType=0
backgroundColor=48,48,64,192
areElementsCenteredOnX=true
isCenteredOnX=true
isCenteredOnY=false
selector_color=229,28,35,0
selector_text_color=255,180,0
defaultActionWhenCancel=2
[item]
text=START
hPaddingDown=2
[/item]
[item]
text=OPTIONS
hPaddingDown=5
[/item]
[item]
text=EXIT
[/item]