Connaissant un peu les 2 langages cités je vais donner quelques petits éléments de réponses.
alors les deux sont relativement différents.
Typiquement Inform veut se rapprocher du langage naturel pour écrire des fictions interactives. Un exemple:
`The Scarlet Tower is southeast of the Scarlet Gallery. "A little hexagonal room, from whose [narrow window] you can see the moat, the lawn, and the beginning of the forest outside."
…..
Carry out wearing the helmet:
repeat with item running through people
begin;
change the sound of the item to "steady breathing";
end repeat.
Carry out taking off the helmet:
repeat with item running through people
begin;
change the sound of the item to "silence";
end repeat.
After wearing the helmet:
say "You settle the helmet over your head, and there is a roaring in your ears at first[if the player can touch the rain], both from your heartbeat and from the raindrops on metal[end if]. But then the sharpened hearing begins to feel natural again."
After taking off the helmet: say "You lift the helmet from your head, and the sudden quiet feels like going deaf."`
Pour le TADS, on est sur un langage qui ressemble plus à du C, avec des bouts de code qui peuvent se loger dans les chaînes de caractères :
` #include
#include
gameMain: GameMainDef
initialPlayerChar = me
;
versionInfo: GameID
name = 'My First Game'
byline = 'by Bob Author'
authorEmail = 'Bob Author <bob@myisp.com>'
desc = 'This is an example of how to start a new game project. '
version = '1'
IFID = 'b8563851-6257-77c3-04ee-278ceaeb48ac'
;
firstRoom: Room 'Starting Room'
"This is the boring starting room."
;
+me: Actor
;`
Et aussi :
"The door is <>open<>closed<>. "
"You feel <>starving<>famished<>hungry<>. "
Dans les 2 cas, on va avoir des langages qui offrent énormément de possibilité. Bien plus que ce que peut (il me semble) proposer le YAML. Après cela nécessite un effort d'apprentissage pour l'auteur (mais le YAML aussi). Et l'effort est 'assez faible' en inform (vu que l'on se rapproche énormément du langage naturel. Mais pour des besoins simple, à voir si l'effort d'apprentissage est rentable (comparé au YAML où il faut pas apprendre grand chose pour savoir s'en servir).
Un truc a noter, il existe une version française d'inform.
[^] # Re: Comparaison avec Inform 7 ?
Posté par Mr Jmad . En réponse à la dépêche Escenadil, un moteur de jeu d’aventure en mode texte. Évalué à 2.
Connaissant un peu les 2 langages cités je vais donner quelques petits éléments de réponses.
alors les deux sont relativement différents.
Typiquement Inform veut se rapprocher du langage naturel pour écrire des fictions interactives. Un exemple:
`The Scarlet Tower is southeast of the Scarlet Gallery. "A little hexagonal room, from whose [narrow window] you can see the moat, the lawn, and the beginning of the forest outside."
…..
Carry out wearing the helmet:
repeat with item running through people
begin;
change the sound of the item to "steady breathing";
end repeat.
Carry out taking off the helmet:
repeat with item running through people
begin;
change the sound of the item to "silence";
end repeat.
After wearing the helmet:
say "You settle the helmet over your head, and there is a roaring in your ears at first[if the player can touch the rain], both from your heartbeat and from the raindrops on metal[end if]. But then the sharpened hearing begins to feel natural again."
After taking off the helmet: say "You lift the helmet from your head, and the sudden quiet feels like going deaf."`
L'exemple complet d'un bouquin en inform : http://inform7.com/learn/eg/bronze/source_7.html
Pour le TADS, on est sur un langage qui ressemble plus à du C, avec des bouts de code qui peuvent se loger dans les chaînes de caractères :
` #include
#include
Et aussi :
"The door is <>open<>closed<>. "
"You feel <>starving<>famished<>hungry<>. "
Dans les 2 cas, on va avoir des langages qui offrent énormément de possibilité. Bien plus que ce que peut (il me semble) proposer le YAML. Après cela nécessite un effort d'apprentissage pour l'auteur (mais le YAML aussi). Et l'effort est 'assez faible' en inform (vu que l'on se rapproche énormément du langage naturel. Mais pour des besoins simple, à voir si l'effort d'apprentissage est rentable (comparé au YAML où il faut pas apprendre grand chose pour savoir s'en servir).
Un truc a noter, il existe une version française d'inform.