Space Invaders dans InDesign !
November 14, 2012 | Extras | fr | en
Philipp Geuder, étudiant en design à l'Université des sciences appliquées de Potsdam, vient de scripter sous InDesign un jeu d'arcade inspiré de Space Invaders. Le projet a été conçu et développé lors d'un atelier Typographie et automatisation animé par Fabian Morón Zirfas. « Le but était d'apprivoiser les fondamentaux du JavaScript dans les applications Adobe, puis d'appliquer cet outil à la mise en page automatisée et à l'art génératif. Transformer le texte brut en objet graphique par l'intermédiaire d'instructions codées. » Le moins que l'on puisse dire est que l'objectif est atteint ! Le site Web présente un éventail de scripts très créatifs, dont le plus spectaculaire est sans nul doute ce Layout Invaders :
Difficile de croire que tout repose sur un script InDesign, mais vous ne rêvez pas ! « J'avais décidé de créer un jeu entièrement intégré dans InDesign, confie Philipp. Après avoir beaucoup tâtonné, googlé, et lu tout ce qui se publiait sur les possibilités du langage JavaScript dans InDesign, j'ai réussi à obtenir une boucle de jeu fonctionnelle intégrant les entrées clavier. Près de deux semaines plus tard, Layout Invaders était né. » Chapeau bas ! Ce projet repousse les limites de l'imaginable en matière de scripting. Préparez-vous au voyage intersidéral :
• Layout Invaders pour InDesign CS5/CS6
• Voir aussi : Page d'accueil Typographie et Automatisation
Comments
Ouh lala ! ça nous rajeunit pas !
là je suis juste sur le c…
Says fonts not loaded but they are. Does it require special versions of Comic Sans and Helvetica?
I am also having problems with having it being displayed correctly. I downloaded source sans pro and the chip font. However, I am using the system helvetica.dfont and the comic sans that comes with office. I can play the game, but it is only rectangles and doesn't look like it looks in the video. Please help!
Hi there,
have a look at
line 193 function checkForFonts() in layout_invaders.jsx
This is the function that checks for fonts. Make shure all these fonts are installed and activated.
Also you need the files :
- characters.txt
- effects.txt
- highscore.txt
- patterns.txt
- texts.txt
They need to be next to the script.
Hope that helps. If you run into more problems, leave an issue here https://github.com/schlompf/layout-... on github on the original repository or on the project repo here https://github.com/fabiantheblind/a...
Cheers
:fab
This brings back memories of playing space invaders back in the early 80s on my Atari 3600. Hat tips to Philipp Geuder.