Skip to content

Commit

Permalink
Traducciones y más escenas
Browse files Browse the repository at this point in the history
- Escaleras, pasillo y frente de la clase (mañana del día 1) completados
- Añadidas traducciones al inglés de las escenas completadas
- Modificado character para poder cambiar la profundidad del personaje
- Ajustado dialogManager para que las cajas de texto no desaparezcan si se lanza un evento y luego hay más diálogo
  • Loading branch information
MattCastUCM committed Jul 25, 2024
1 parent 41ca0af commit c3cfb2a
Show file tree
Hide file tree
Showing 44 changed files with 894 additions and 100 deletions.
80 changes: 80 additions & 0 deletions localization/day1/classFrontMorningDay1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"ana": {
"root": {
"type": "text",
"character": "Ana",
"next": "choices"
},
"choices": {
"type": "choice",
"choices":[
{ "next": "introduce" },
{ "next": "insult" }
]
},

"introduce": {
"type": "text",
"character": "Ana",
"next": "teacherArrive"
},
"insult": {
"type": "text",
"character": "Ana",
"next": "teacherArrive"
},

"teacherArrive": {
"type": "text",
"character": "",
"next": "teacher"
},
"teacher": {
"type": "text",
"character": "teacher",
"next": "chooseSit"
},
"chooseSit": {
"type": "choice",
"choices":[
{ "next": "startClass" },
{ "next": "ask" }
]
},

"ask": {
"type": "text",
"character": "teacher",
"next": "startClass"
},

"startClass": {
"type": "event",
"events": [
{
"startClass": { }
}
]
}
},

"teacher": {
"root": {
"type": "text",
"character": "teacher",
"next": "startClass"
},

"startClass": {
"type": "event",
"events": [
{
"startClass": { }
}
]
}
}



}
69 changes: 69 additions & 0 deletions localization/day1/corridorMorningDay1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"maria": {
"root": {
"type": "text",
"character": "Maria",
"next": "leaveMaria"
},
"leaveMaria": {
"type": "text",
"character": "player"
}
},

"alison": {
"root": {
"type": "text",
"character": "Alison"
}
},

"guille": {
"root": {
"type": "condition",
"conditions": [
{
"next": "notTalked",
"talked": {
"value": false,
"operator": "equal",
"global": false,
"default": false
}
},
{
"next": "talked",
"talked": {
"value": true,
"operator": "equal",
"global": false,
"default": false
}
}
]
},

"notTalked": {
"type": "text",
"character": "Guille",
"next": "setTalked"
},
"setTalked": {
"type": "event",
"events": [
{
"setTalkedGuille": {
"variable": "talked",
"value": true,
"global": false
}
}
]
},

"talked": {
"type": "text",
"character": "Guille"
}
}
}
39 changes: 22 additions & 17 deletions localization/en/computer.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
{
"yourUserText": "Tu usuario",
"yourPasswordText": "Tu contraseña",

"loginScreen": {
"subtitleText": "¡CONECTA CON TUS AMIGOS!",
"subtitleText": "CONNECT WITH YOUR FRIENDS!",
"userInput": {
"sideText": "Usuario"
"sideText": "User"
},
"passwordInput": {
"sideText": "Contraseña"
"sideText": "Password"
},
"errorText": "El usuario/contraseña introducidos son incorrectos",
"enterButton": "Entrar"
"errorText": "User/Password introduced are incorrect",
"enterButton": "Enter"
},

"socialNetScreen": {
"tabTexts": {
"feed": "Tablón",
"friends": "Amigos",
"upload": "Postear"
"feed": "Dashboard",
"friends": "Friends",
"upload": "Publish"
},
"friendRequestNot": "¡Tienes nuevas peticiones de amistad!",
"friendRequestNot": "You've got new friend petitions!",
"blockNot": "¡NO ESTÁ PERMITIDO BLOQUEAR USUARIOS!",
"friendsNumberText": "Amigos",
"pendingRequestsText": "Peticiones pendientes",
"informationText": "Este es tu tablón, mira lo que tus amigos han compartido"
"friendsNumberText": "Friends",
"pendingRequestsText": "Pending petitions: ",
"informationText": "This is your dashboard, look what your friends have shared"
},

"commentsNumberText": "Comments",

"friendRequestButtons": {
"acceptText": "Accept",
"denyText": "Deny"
},

"bio": {
"Alison": "Hola holita",
"Guillermo": "holu"
},
"commentsNumberText": "comentarios",
"friendRequestButtons": {
"acceptText": "Aceptar solicitud",
"denyText": "Denegar solicitud"
}
}
81 changes: 81 additions & 0 deletions localization/en/day1/classFrontMorningDay1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"ana": {
"root": {
"text": "I think you got into the wrong classroom."
},
"choices": [
{
"text": "No, it's just my first day, i am {{name}}."
},
{
"text": "And who you are? The butch woman of the class?"
}
],

"introduce": [
{
"text": "Oh, so you are the newcomer."
},
{
"text": "I am Ana, i'm in this class too."
}
],
"insult": {
"text": "You're a twat..."
},

"teacherArrive": {
"text": "(Knocks on the back, it seems like your new teacher has arrived)"
},
"teacher": {
"text": "C'mon everyone, class is about to start, come in and sit."
},

"chooseSit":[
{
"text": "(Sit in the last row)"
},
{
"text": "(Ask where you can sit)"
}
],
"ask": [
{
"text": "Sit next to Alison.."
},
{
"text": "Alison, do me a favour and solve any doubts {{name}} might have about school."
}
]

},

"teacher": {
"root": [
{
"text": "{{name}} right?"
},
{
"text": "Getting late on your first day, not the best way to start."
},
{
"text": "",
"text_male": "Class, this is your new classmate, please, help him during the first days.",
"text_female": "Class, this is your new classmate, please, help her during the first days."
},
{
"text": "{{name}}, i am your tutor, anything you need just let me know."
},
{
"text": "Please, {{name}} sit next to Alison."
},
{
"text": "Alison, do me a favour and solve any doubts {{name}} might have about school."
},
{
"text": "Let's continue the class."
}
]
}

}
37 changes: 37 additions & 0 deletions localization/en/day1/corridorMorningDay1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"maria": {
"root": {
"text": "..."
},
"leaveMaria": {
"text": "She seems uncomfortable, better leave her alone for now."
}
},

"alison": {
"root": {
"text": "Sorry, i'm in a hurry, i'll be late if i don't get in."
}
},

"guille": {
"notTalked": [
{
"text": "Hi, I was reading the bulletin board."
},
{
"text": "There're intresting stuff sometimes, and someone has been leaving messages, stickers and riddles lately."
},
{
"text": "Have a look at it at least once a day, get used to it."
},
{
"text": "Shall we get in?"
}
],
"talked": {
"text": "Remember to look at the boards, sometimes you can find intresting things."
}
}

}
2 changes: 1 addition & 1 deletion localization/en/day1/livingroomMorningDay1.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

"door": {
"noBag": {
"text": "Me dejo la mochila. Será mejor que pases por mi habitación a recogerla antes de irme."
"text": "I forgot the backpack. I better go to my room and take it before leaving."
}
}
}
Loading

0 comments on commit c3cfb2a

Please sign in to comment.