PTITS DIALOG DE CONFIGURATION DE JEUX

Fayen$ Messages postés 77 Date d'inscription mercredi 24 septembre 2003 Statut Membre Dernière intervention 5 janvier 2004 - 9 nov. 2003 à 06:44
Fayen$ Messages postés 77 Date d'inscription mercredi 24 septembre 2003 Statut Membre Dernière intervention 5 janvier 2004 - 11 nov. 2003 à 18:13
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.

https://codes-sources.commentcamarche.net/source/17799-ptits-dialog-de-configuration-de-jeux

Fayen$ Messages postés 77 Date d'inscription mercredi 24 septembre 2003 Statut Membre Dernière intervention 5 janvier 2004
11 nov. 2003 à 18:13
yep thx pour ca :) mais je connais pas tres bien les optimisation encore :p sinon thx pour ca :D
cs_Kolibot Messages postés 817 Date d'inscription mercredi 25 juin 2003 Statut Membre Dernière intervention 19 avril 2004
11 nov. 2003 à 00:10
Analyse bien ton dialog car j'ai modifié deux paramêtres qui m'on permis de faire une lourde simplification...
cs_Kolibot Messages postés 817 Date d'inscription mercredi 25 juin 2003 Statut Membre Dernière intervention 19 avril 2004
11 nov. 2003 à 00:06
Bon là, il y a du travail sur l'optimisation, je vais te montrer ce que tu pourrais faire :
menu * {
Game:dialog -m Games Games
}
dialog Games {
title "Set Games"
size -1 -1 142 95
option dbu
icon SkinsiconemIRC.ico
box "Configure", 3, 1 0 94 69
edit %games1, 2, 35 7 56 10, autohs
text "Games -»", 1, 6 8 28 8
text "Games -»", 4, 6 20 28 8
edit %games2, 5, 35 19 56 10, autohs
text "Games -»", 7, 6 32 28 8
edit %games3, 8, 35 31 56 10, autohs
text "Games -»", 10, 6 44 28 8
edit %games4, 11, 35 43 56 10, autohs
text "Games -»", 13, 6 56 28 8
edit %games5, 14, 35 55 56 10, autohs
box "Action", 16, 1 70 94 23
button "Fermer", 17, 6 78 40 10, cancel
button "Ok", 18, 50 78 40 10, ok
box "", 19, 100 0 40 69
box "Info", 20, 100 70 40 23
button "MatrixX", 21, 105 78 30 10,
button "Games 1", 22, 105 7 30 10,
button "Games 2", 23, 105 19 30 10,
button "Games 3", 24, 105 31 30 10,
button "Games 4", 25, 105 43 30 10,
button "Games 5", 26, 105 55 30 10,
}
On *:dialog:Games:*:*:{
if $devent edit { if $did 2 || $did == 5 || $did == 8 || $did == 11 || $did == 14 { set %games $+ $round($calc($did / 3),0) $did($did) } }
if $devent == sclick { if $did > 21 && $did < 27 { set %findg $+ $calc($did - 21) $sfile(*.exe,Open the file of your Game,Ok) } }
}
Fayen$ Messages postés 77 Date d'inscription mercredi 24 septembre 2003 Statut Membre Dernière intervention 5 janvier 2004
9 nov. 2003 à 21:14
ouais mais g crée l'alias pour pas taper tout ca ...
cs_coca95 Messages postés 55 Date d'inscription mardi 5 août 2003 Statut Membre Dernière intervention 3 janvier 2004
9 nov. 2003 à 19:12
bah c /dialog -m Games Games
je pense !
Fayen$ Messages postés 77 Date d'inscription mercredi 24 septembre 2003 Statut Membre Dernière intervention 5 janvier 2004
9 nov. 2003 à 06:44
euh la commande c'est
/Games

^^
Rejoignez-nous