165 lines
7.3 KiB
HTML
165 lines
7.3 KiB
HTML
<!--startcut BEGIN header ==============================================-->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML><HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
<TITLE>Bomb ô Bomb, le premier jeu utilisant l'Addon technology LG #46</TITLE>
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
|
|
ALINK="#FF0000">
|
|
<!--endcut ============================================================-->
|
|
|
|
<H4>
|
|
"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
|
|
<P> <HR> <P>
|
|
<!--===================================================================-->
|
|
|
|
<A NAME=french></A>
|
|
<center>
|
|
<H1><font color="maroon">Bomb ô Bomb, le premier jeu utilisant l'Addon
|
|
technology</font></H1>
|
|
<H4>By <a href="mailto:david.fauthoux@free.fr">David Fauthoux</a></H4>
|
|
<A HREF="#french">Français</A> | <A HREF="#english">English</A>
|
|
</center>
|
|
<P> <HR> <P>
|
|
|
|
<!-- END header -->
|
|
|
|
|
|
<P>Il faudrait peut-être inventer un nouveau terme, plus complet
|
|
que "freeware", pour un nouveau point de vue sur les programmes gratuits.
|
|
Si maintenant venait l'idée qu'un programme, en plus d'être
|
|
donné gratuitement, était donné avec la possibilité
|
|
de le modifier ? Certes, les programmes gratuits sont donnés avec
|
|
les sources en général; mais peu de gens, à moins
|
|
d'être des programmeurs expérimentés, sont capables
|
|
de modifier les programmes qu'ils utilisent. Si maintenant les programmes
|
|
"free" étaient donnés avec la possibilité de les modifier
|
|
facilement et par n'importe qui ?
|
|
|
|
<P>Depuis peu sur le net, existe un petit aperçu de ce point de
|
|
vue. <A HREF="http://david.fauthoux.free.fr">http://david.fauthoux.free.fr</A>
|
|
|
|
<P>Volontairement basé sur un jeu ultra-connu (bomberman), ce jeu
|
|
peut être modifié à volonté en écrivant
|
|
(au plaisir!) dans son fichier d'initialisation.
|
|
<BR>Par exemple, on peut rajouter une page de présentation avec
|
|
une image de son choix en rajoutant les lignes
|
|
<PRE>[Page]=
|
|
|
|
background=myPicture.gif</PRE>
|
|
Et on peut coller plein d'animations partout simplement en rajoutant des
|
|
lignes comme "loop anim="... Et pour plus de simplicité, sur le
|
|
site on trouve plein de tutorials...
|
|
|
|
<P>Vous comprenez bien que ce point de vue demande une certaine robustesse
|
|
et une large souplesse au moteur du programme. Arrêtons-nous un instant
|
|
sur cette remarque. En effet, il ne suffit pas de changer quelques lignes
|
|
pour faire d'un programme ce que l'on veut. Il fallait donc mettre en oeuvre
|
|
une autre façon de procéder. Celle-ci s'adresse aux programmeurs,
|
|
mais pas forcément expérimentés, et même débutants.
|
|
Le programme du jeu est fortement structuré (c++), il permet ainsi
|
|
une compréhension haut-niveau du fonctionnement (regarder les noms
|
|
d'objets et de fonctions suffit, pas besoin de se pencher sur des algorithmes
|
|
compliqués). Mais au-delà de ça, cette structuration
|
|
permet la mise en oeuvre de l'Addon technology : Grâce à cette
|
|
nouvelle technologie, il est possible de compléter le programme
|
|
de façon ultra-accessible, en écrivant des "addons", et tous
|
|
les addons écrits à travers le monde sont et seront compatibles
|
|
! Un addon de moins de 20ko peut rajouter une option au jeu : l'addon donné
|
|
en septembre rajoute une option (avec animations et sons bien entendu !)
|
|
qui crée un jeu de poursuite dans le jeu !
|
|
|
|
<P>Le pouvoir des addons n'est limité que par votre imagination.
|
|
|
|
<HR NOSHADE> <!-- ****************************************************** -->
|
|
<A NAME=english></A>
|
|
|
|
<center>
|
|
<H1><font color="maroon">Bomb ô Bomb, the first game using the Addon technology
|
|
</font></H1>
|
|
<H4>By <a href="mailto:david.fauthoux@free.fr">David Fauthoux</a></H4>
|
|
<EM>English translation by <a href="mailto:jek@ssc.com">Jason Kroll</a></EM><P>
|
|
<A HREF="#french">Français</A> | <A HREF="#english">English</A><BR>
|
|
</CENTER>
|
|
|
|
<P><HR><P>
|
|
|
|
<P> Perhaps it would be necessary to invent a new term, more complete than
|
|
"freeware", for a new point of view in free programs. What if now came
|
|
the idea that a program, in addition to being given away free, was given with
|
|
the possibility of modifying it? Admittedly, free programs are given away
|
|
with the sources in general; but few people, unless being experienced
|
|
programmers, are able to modify the programs which they use. What if
|
|
now the "free" programs were given with the possibility of modifying
|
|
them easily and no matter by whom?
|
|
|
|
|
|
<P> Recently on the net exists a small outline of this point of view.
|
|
<A HREF=http://david.fauthoux.free.fr>http://david.fauthoux.free.fr</A>
|
|
|
|
<P> Voluntarily based on a ultra-known game (bomberman), Bomb ô Bomb can
|
|
be modified at will by writing (with pleasure!) in its initialization file. For
|
|
example, one can add an interface with an image of his choice by adding the
|
|
line
|
|
|
|
<PRE>[Page]=
|
|
|
|
background=myPicture.gif</PRE>
|
|
|
|
And one can stick full with animations everywhere simply by adding lines
|
|
like " loop anim ="... And for more simplicity, one finds the site
|
|
full of tutorials..
|
|
|
|
<P> You understand well that this point of view demands a certain
|
|
robustness and a broad flexibility with the engine of the program. We stop
|
|
one moment on this remark. In effect, it is not enough to change some lines
|
|
to make what one wants of a program. It was thus necessary to implement
|
|
another way of proceeding. This one is addressed to the programmers, but
|
|
not necessarily experienced ones, even beginners. The programming of the game
|
|
is strongly structured (c++), thus is allows a high-level understanding
|
|
of operation (to look at the names of objects and functions is enough,
|
|
there is no need to rely on complicated algorithms). But beyond that, this
|
|
structuring allows the implementation of Addon technology: Thanks to
|
|
this new technology, it is possible to supplement the program in an
|
|
ultra-accessible fashion, in writing addons, and all the addons written
|
|
around the world are and will be compatible! An addon of less than 20ko
|
|
can add an option to the game: the addon released in September adds an
|
|
option (with animations and music of course!) creates a pursuit in the game!
|
|
|
|
<P> The capacity of addons is limited only by your imagination.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- BEGIN copyright ==================================================-->
|
|
<P> <hr> <P>
|
|
<H5 ALIGN=center>
|
|
|
|
Copyright © 1999, David Fauthoux. Translation copyright Specialized Systems Consultants, Inc.<BR>
|
|
Published in Issue 46 of <i>Linux Gazette</i>, October 1999</H5>
|
|
<!-- END copyright ===================================================-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--startcut footer ===================================================-->
|
|
<P> <hr> <P>
|
|
<A HREF="index.html"><IMG ALIGN=BOTTOM SRC="../gx/indexnew.gif"
|
|
ALT="[ TABLE OF CONTENTS ]"></A>
|
|
<A HREF="../index.html"><IMG ALIGN=BOTTOM SRC="../gx/homenew.gif"
|
|
ALT="[ FRONT PAGE ]"></A>
|
|
<A HREF="al-mohssen.html"><IMG SRC="../gx/back2.gif"
|
|
ALT=" Back "></A>
|
|
<A HREF="../faq/index.html"
|
|
><IMG SRC="./../gx/dennis/faq.gif"
|
|
ALT="[ Linux Gazette FAQ ]"></A>
|
|
<A HREF="fink.html"><IMG SRC="../gx/fwd.gif" ALT=" Next "></A>
|
|
<P> <hr> <P>
|
|
</BODY></HTML>
|
|
<!--endcut ============================================================-->
|