RPG Creator : créez votre MMORPG ou RPG sans aucune connaissance en programmation


Disponible le 4 Juin !




- Jouez à votre jeu sur tablettes tactiles, Smartphones et navigateurs Web
- Personnalisez vos menus
- Dessinez facilement et rapidement vos cartes
- Créez des actions pour le combat A-RPG


www.rpgcreator.net


Heures au format UTC + 1 heure [ Heure d’été ]




Publier un nouveau sujet Répondre au sujet  [ 5 messages ] 
Auteur Message
 Sujet du message: Barre recherche rpg maker morpion
MessagePublié: 30 Jan 2007, 20:36 
Villageois (Nv 4)

Inscrit le: 05 Sep 2006, 00:00
Messages: 66
Points d'aide: 0/60

Créations :

Voir ses créations

Voila un code que je viens de créer vous n'avez qu'a copier sa dans votre code et ensuite (modifier si vous voulez) créez un dossier " images" et dedans créez trois image une qui sera le fond non coché "blank" l'autre pour l'advairsaire "o" et vous "x" voila.
Code: Tout sélectionner
<body>
<body bgcolor="#530000" link="#800000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<FORM method=GET action="http://www.google.fr/search">
<tr><td>

<A HREF="http://rpgcreation.conceptforum.net/">
<IMG SRC="http://img167.imageshack.us/img167/9783/logo2dm4.png" border="0"
></A></br></br>
</br>
<INPUT TYPE=text name=q size=31 maxlength=255 value="Rpg maker">
<INPUT TYPE=hidden name=hl value=fr>
<INPUT type=submit name=btnG VALUE="Recherche Rpg avec Google">
</td></tr></TABLE>
</FORM>
</center>
<!-- Google -->
</br>
</body>
<head><script type="text/javascript">


<!-- Begin
var x = "images/x.jpg";
// Location of where you uploaded your site's x.jpg image

var o = "images/o.jpg";
// Location of where you uploaded your site's o.jpg image

var blank = "images/blank.jpg";
// Location of where you uploaded your site's blank.jpg image

var pause = 0;
var all = 0;
var a = 0;
var b = 0;
var c = 0;
var d = 0;
var e = 0;
var f = 0;
var g = 0;
var h = 0;
var i = 0;
var temp="";
var ok = 0;
var cf = 0;
var choice=9;
var aRandomNumber = 0;
var comp = 0;
var t = 0;
var wn = 0;
var ls = 0;
var ts = 0;
function help() {
alert("Bienvenue sur le jeu du morpion !Choisis le carré ou tu veux mettre ta croix, le but étant de faire une ligne complète. Bonne chance !!")
}
function sommaire() {
window.location='METTEZ ICI L URL DE VOTRE SOMMAIRE';
}
// window.open('help.html','Aide','width=400,height=400,scrollbars=1');
function logicOne() {
if ((a==1)&&(b==1)&&(c==1)) all=1;
if ((a==1)&&(d==1)&&(g==1)) all=1;
if ((a==1)&&(e==1)&&(i==1)) all=1;
if ((b==1)&&(e==1)&&(h==1)) all=1;
if ((d==1)&&(e==1)&&(f==1)) all=1;
if ((g==1)&&(h==1)&&(i==1)) all=1;
if ((c==1)&&(f==1)&&(i==1)) all=1;
if ((g==1)&&(e==1)&&(c==1)) all=1;
if ((a==2)&&(b==2)&&(c==2)) all=2;
if ((a==2)&&(d==2)&&(g==2)) all=2;
if ((a==2)&&(e==2)&&(i==2)) all=2;
if ((b==2)&&(e==2)&&(h==2)) all=2;
if ((d==2)&&(e==2)&&(f==2)) all=2;
if ((g==2)&&(h==2)&&(i==2)) all=2;
if ((c==2)&&(f==2)&&(i==2)) all=2;
if ((g==2)&&(e==2)&&(c==2)) all=2;
if ((a != 0)&&(b != 0)&&(c != 0)&&(d != 0)&&(e != 0)&&(f != 0)&&(g != 0)&&(h != 0)&&(i != 0)&&(all == 0)) all = 3;
}
function logicTwo() {
if ((a==2)&&(b==2)&&(c== 0)&&(temp=="")) temp="C";
if ((a==2)&&(b== 0)&&(c==2)&&(temp=="")) temp="B";
if ((a== 0)&&(b==2)&&(c==2)&&(temp=="")) temp="A";
if ((a==2)&&(d==2)&&(g== 0)&&(temp=="")) temp="G";
if ((a==2)&&(d== 0)&&(g==2)&&(temp=="")) temp="D";
if ((a== 0)&&(d==2)&&(g==2)&&(temp=="")) temp="A";
if ((a==2)&&(e==2)&&(i== 0)&&(temp=="")) temp="I";
if ((a==2)&&(e== 0)&&(i==2)&&(temp=="")) temp="E";
if ((a== 0)&&(e==2)&&(i==2)&&(temp=="")) temp="A";
if ((b==2)&&(e==2)&&(h== 0)&&(temp=="")) temp="H";
if ((b==2)&&(e== 0)&&(h==2)&&(temp=="")) temp="E";
if ((b== 0)&&(e==2)&&(h==2)&&(temp=="")) temp="B";
if ((d==2)&&(e==2)&&(f== 0)&&(temp=="")) temp="F";
if ((d==2)&&(e== 0)&&(f==2)&&(temp=="")) temp="E";
if ((d== 0)&&(e==2)&&(f==2)&&(temp=="")) temp="D";
if ((g==2)&&(h==2)&&(i== 0)&&(temp=="")) temp="I";
if ((g==2)&&(h== 0)&&(i==2)&&(temp=="")) temp="H";
if ((g== 0)&&(h==2)&&(i==2)&&(temp=="")) temp="G";
if ((c==2)&&(f==2)&&(i== 0)&&(temp=="")) temp="I";
if ((c==2)&&(f== 0)&&(i==2)&&(temp=="")) temp="F";
if ((c== 0)&&(f==2)&&(i==2)&&(temp=="")) temp="C";
if ((g==2)&&(e==2)&&(c== 0)&&(temp=="")) temp="C";
if ((g==2)&&(e== 0)&&(c==2)&&(temp=="")) temp="E";
if ((g== 0)&&(e==2)&&(c==2)&&(temp=="")) temp="G";
}
function logicThree() {
if ((a==1)&&(b==1)&&(c==0)&&(temp=="")) temp="C";
if ((a==1)&&(b==0)&&(c==1)&&(temp=="")) temp="B";
if ((a==0)&&(b==1)&&(c==1)&&(temp=="")) temp="A";
if ((a==1)&&(d==1)&&(g==0)&&(temp=="")) temp="G";
if ((a==1)&&(d==0)&&(g==1)&&(temp=="")) temp="D";
if ((a==0)&&(d==1)&&(g==1)&&(temp=="")) temp="A";
if ((a==1)&&(e==1)&&(i==0)&&(temp=="")) temp="I";
if ((a==1)&&(e==0)&&(i==1)&&(temp=="")) temp="E";
if ((a==0)&&(e==1)&&(i==1)&&(temp=="")) temp="A";
if ((b==1)&&(e==1)&&(h==0)&&(temp=="")) temp="H";
if ((b==1)&&(e==0)&&(h==1)&&(temp=="")) temp="E";
if ((b==0)&&(e==1)&&(h==1)&&(temp=="")) temp="B";
if ((d==1)&&(e==1)&&(f==0)&&(temp=="")) temp="F";
if ((d==1)&&(e==0)&&(f==1)&&(temp=="")) temp="E";
if ((d==0)&&(e==1)&&(f==1)&&(temp=="")) temp="D";
if ((g==1)&&(h==1)&&(i==0)&&(temp=="")) temp="I";
if ((g==1)&&(h==0)&&(i==1)&&(temp=="")) temp="H";
if ((g==0)&&(h==1)&&(i==1)&&(temp=="")) temp="G";
if ((c==1)&&(f==1)&&(i==0)&&(temp=="")) temp="I";
if ((c==1)&&(f==0)&&(i==1)&&(temp=="")) temp="F";
if ((c==0)&&(f==1)&&(i==1)&&(temp=="")) temp="C";
if ((g==1)&&(e==1)&&(c==0)&&(temp=="")) temp="C";
if ((g==1)&&(e==0)&&(c==1)&&(temp=="")) temp="E";
if ((g==0)&&(e==1)&&(c==1)&&(temp=="")) temp="G";
}
function clearOut() {
document.game.you.value="0";
document.game.computer.value="0";
document.game.ties.value="0";
}
function checkSpace() {
if ((temp=="A")&&(a==0)) {
ok=1;
if (cf==0) a=1;
if (cf==1) a=2;
}
if ((temp=="B")&&(b==0)) {
ok=1;
if (cf==0) b=1;
if (cf==1) b=2;
}
if ((temp=="C")&&(c==0)) {
ok=1;
if (cf==0) c=1;
if (cf==1) c=2;
}
if ((temp=="D")&&(d==0)) {
ok=1;
if (cf==0) d=1;
if (cf==1) d=2;
}
if ((temp=="E")&&(e==0)) {
ok=1;
if (cf==0) e=1;
if (cf==1) e=2;
}
if ((temp=="F")&&(f==0)) {
ok=1
if (cf==0) f=1;
if (cf==1) f=2;
}
if ((temp=="G")&&(g==0)) {
ok=1
if (cf==0) g=1;
if (cf==1) g=2;
}
if ((temp=="H")&&(h==0)) {
ok=1;
if (cf==0) h=1;
if (cf==1) h=2;
}
if ((temp=="I")&&(i==0)) {
ok=1;
if (cf==0) i=1;
if (cf==1) i=2;
}
}
function yourChoice(chName) {
pause = 0;
if (all!=0) ended();
if (all==0) {
cf = 0;
ok = 0;
temp=chName;
checkSpace();
if (ok==1) {
document.images[chName].src = x;
}
if (ok==0)taken();
process();
if ((all==0)&&(pause==0)) myChoice();
   }
}
function taken() {
alert("Ce carré est deja prit. Prens un autre carré.")
pause=1;
}
function myChoice() {
temp="";
ok = 0;
cf=1;
logicTwo();
logicThree();
checkSpace();
while(ok==0) {
aRandomNumber=Math.random()
comp=Math.round((choice-1)*aRandomNumber)+1;
if (comp==1) temp="A";
if (comp==2) temp="B";
if (comp==3) temp="C";
if (comp==4) temp="D";
if (comp==5) temp="E";
if (comp==6) temp="F";
if (comp==7) temp="G";
if (comp==8) temp="H";
if (comp==9) temp="I";
checkSpace();
}
document.images[temp].src= o;
process();
}
function ended() {
alert("La partie est finit. Pour jouer encore cliques sur jouer encore.")
}
function process() {
logicOne();
if (all==1){ alert("Félicitation, tu gagnes!"); wn++; }
if (all==2){ alert("tu perds!"); ls++; }
if (all==3){ alert("Match nul!."); ts++; }
if (all!=0) {
document.game.you.value = wn;
document.game.computer.value = ls;
document.game.ties.value = ts;
   }
}
function playAgain() {
if (all==0) {
if(confirm("Ceci va recommencer une autre partie et remettre les points a zero. OK?")) reset();
}
if (all>0) reset();
}
function reset() {
all = 0;
a = 0;
b = 0;
c = 0;
d = 0;
e = 0;
f = 0;
g = 0;
h = 0;
i = 0;
temp="";
ok = 0;
cf = 0;
choice=9;
aRandomNumber = 0;
comp = 0;
document.images.A.src= blank;
document.images.B.src= blank;
document.images.C.src= blank;
document.images.D.src= blank;
document.images.E.src= blank;
document.images.F.src= blank;
document.images.G.src= blank;
document.images.H.src= blank;
document.images.I.src= blank;
if (t==0) { t=2; myChoice(); }
t--;
}
//  End -->
</script>
</head>
<body><div align="center">
  <center>
  <table width="325" height="257" style="border-collapse:collapse" bgcolor="#530000" bordercolor="#111111" cellpadding="0" cellspacing="0">
    <tr>
      <td width="500" height="257">
        <p align="center"><font face="Tekton" size="3"><b>Cliques sur un carré pour commencer</b></font>
<form name=game>
<table border=0>
<td>
<table border=1>
<tr>
<td><a href="javascript:yourChoice('A')"><img src="images/blank.jpg" border=0 name=A alt="Top-Left" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('B')"><img src="images/blank.jpg" border=0 name=B alt="Top-Center" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('C')"><img src="images/blank.jpg" border=0 name=C alt="Top-Right" width="90" height="90"></a></td>
</tr>
<tr>
<td><a href="javascript:yourChoice('D')"><img src="images/blank.jpg" border=0 name=D alt="Middle-Left" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('E')"><img src="images/blank.jpg" border=0 name=E alt="Middle-Center" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('F')"><img src="images/blank.jpg" border=0 name=F alt="Middle-Right" width="90" height="90"></a></td>
</tr>
<tr>
<td><a href="javascript:yourChoice('G')"><img src="images/blank.jpg" border=0 name=G alt="Bottom-Left" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('H')"><img src="images/blank.jpg" border=0 name=H alt="Bottom-Center" width="90" height="90"></a></td>
<td><a href="javascript:yourChoice('I')"><img src="images/blank.jpg" border=0  name=I alt="Bottom-Right" width="90" height="90"></a></td>
</tr>
</table>
</td>
<td>
<table height="356">
<tr>
  <td colspan="2" align="center" height="79"></td>
</tr>
<tr>
  <td colspan="2" align="center" height="21"><b><font face="Tekton">SCORES</font></b></td>
</tr>
<tr><td height="25"><input type=text size=5 name=you></td><td height="25"><b><font face="Tekton">Toi</font></b></td></tr>
<tr><td height="25"><input type=text size=5 name=computer></td><td height="25"><b><font face="Tekton">Ulrik créateur</font></b></td></tr>
<tr>
  <td height="25"><input size=5 name=ties></td><td height="25"><b><font face="Tekton">Nul</font></b></td>
</tr>
<tr>
 
</tr>
<tr>
  <td colspan="2" align="center" height="113">vous pouvez mettre ici votre logo</td>
</tr>
</table>
</td>
</table>
<p align="center">
<input type=button value="Jouer encore" onClick="playAgain();" style="border: 5px double #000000; ">
<input type=button value="Aide " onClick="help();" style="border: 5px double #000000; ">
<input type=button value="Retour sommaire" onClick="sommaire();" style="border: 5px double #000000; ">

</form>
</td>
    </tr>
  </table>
  </center>
</div></body>
<body bgcolor="#530000" link="#800000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<FORM method=GET action="http://www.google.fr/search">
<tr><td>

<A HREF="http://rpgcreation.conceptforum.net/">
<IMG SRC="http://img167.imageshack.us/img167/9783/logo2dm4.png" border="0"
></A></br></br>
</br>
<INPUT TYPE=text name=q size=31 maxlength=255 value="Rpg maker">
<INPUT TYPE=hidden name=hl value=fr>
<INPUT type=submit name=btnG VALUE="Recherche Rpg avec Google">
</td></tr></TABLE>
</FORM>
</center>
<!-- Google -->
</br>
</body>


Ps : si vous ne comprenez pas dans le script mon frere a rajouté mais en anglais des instruction -_-'


Haut
 Profil  
 
 Sujet du message: Re: Barre recherche rpg maker morpion
MessagePublié: 31 Jan 2007, 15:39 
Noble (Nv 4)

Inscrit le: 31 Oct 2006, 01:00
Messages: 364
Points d'aide: 0/60

Créations :

Voir ses créations

Il est vraiment de toi ce script ? .....


Haut
 Profil  
 
 Sujet du message: Re: Barre recherche rpg maker morpion
MessagePublié: 31 Jan 2007, 15:48 
Villageois (Nv 4)

Inscrit le: 05 Sep 2006, 00:00
Messages: 66
Points d'aide: 0/60

Créations :

Voir ses créations

C'est en cour qu'on la créé avec un model mais c'est moi qui l'ai fait avec l'aide du prof.
il y a du Javascript et du html pour tout sa.


Haut
 Profil  
 
 Sujet du message: Re: Barre recherche rpg maker morpion
MessagePublié: 31 Jan 2007, 16:22 
Membre royal(e)

Inscrit le: 07 Nov 2006, 01:00
Messages: 786
Points d'aide: 0/60

Créations :

Voir ses créations

Du javascript.. pas du java.. Wink


Haut
 Profil  
 
 Sujet du message: Re: Barre recherche rpg maker morpion
MessagePublié: 31 Jan 2007, 17:36 
Villageois (Nv 4)

Inscrit le: 05 Sep 2006, 00:00
Messages: 66
Points d'aide: 0/60

Créations :

Voir ses créations

Bon voilà sur mon site (en construction) j'ai mis sur une page le morpion avec des rond et croix vite faite mais sa donne sa:
page morpion


Haut
 Profil  
 
Afficher les messages depuis:  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 5 messages ] 

Heures au format UTC + 1 heure [ Heure d’été ]


Qui est en ligne ?

Utilisateurs parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Rechercher pour:
Sauter vers:  
cron
RPG Creative Forum version 5 ; Tous droits réservés
phpBB Group (Traduit par Xaphos)
Optimisé pour une résolution 1024*728