Bonjour, j'ai créé ce programme : archives_voir.php?id=4819161
Et je souhaite l'optimiser tout en conservant toutes ses fonctions.
Le vrai problème qui détruit l’expérience de jeu est le fait que notre monde met environ 1min30 à charger.
Ce qui demande au joueur d'attendre longtemps et souvent.
Pourriez-vous m'aider à optimiser le chargement du monde svp ?
Merci !
Aide optimisation programme Minecraft.
7 posts
• Page 1 of 1
Aide optimisation programme Minecraft.
Teste mes jeux! 😉 https://tiplanet.org/forum/archives_cat.php?auteur=319613
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic: Maitrise de Python:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-
tiGEEKProgrammeur
Niveau 8: ER (Espèce Rare: nerd)- Posts: 97
- Joined: 10 Sep 2023, 15:10
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Aide optimisation programme Minecraft.
SVP !!! Je crois qu'il faut utiliser for( au lieu de If.
Teste mes jeux! 😉 https://tiplanet.org/forum/archives_cat.php?auteur=319613
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic: Maitrise de Python:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-
tiGEEKProgrammeur
Niveau 8: ER (Espèce Rare: nerd)- Posts: 97
- Joined: 10 Sep 2023, 15:10
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Aide optimisation programme Minecraft.
Le programme utilise une boucle pour charger
La matrice.
La matrice.
- Code: Select all
Lbl LA
ClrHome
{14,33,1,1,10,26,LTBLUE
prgmTEXTLIB
1→A
1→B
Lbl AA
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=0
Output(A,B," "
{14,17,BROWN
prgmTEXTLIB
If [A](A,B)=1
Output(A,B,"M"
{14,17,MEDGRAY
prgmTEXTLIB
If [A](A,B)=2
Output(A,B,"0"
{14,17,ORANGE
prgmTEXTLIB
If [A](A,B)=3
Output(A,B,"I"
{14,17,GREEN
prgmTEXTLIB
If [A](A,B)=4
Output(A,B,"*"
{14,17,YELLOW
prgmTEXTLIB
If [A](A,B)=5
Output(A,B,"="
If [A](A,B)=6
Output(A,B,"H"
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=7
Output(A,B,"n"
{14,17,RED
prgmTEXTLIB
If [A](A,B)=8
Output(A,B,"Δ"
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=9
Output(A,B,"|"
B+1→B
If B=27
A+1→A
If B=27
1→B
If A=11
Goto I
Goto AA
Teste mes jeux! 😉 https://tiplanet.org/forum/archives_cat.php?auteur=319613
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic: Maitrise de Python:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-
tiGEEKProgrammeur
Niveau 8: ER (Espèce Rare: nerd)- Posts: 97
- Joined: 10 Sep 2023, 15:10
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Aide optimisation programme Minecraft.
Pardon, avec les balises code :
- Code: Select all
Lbl LA
ClrHome
{14,33,1,1,10,26,LTBLUE
prgmTEXTLIB
1→A
1→B
Lbl AA
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=0
Output(A,B," "
{14,17,BROWN
prgmTEXTLIB
If [A](A,B)=1
Output(A,B,"M"
{14,17,MEDGRAY
prgmTEXTLIB
If [A](A,B)=2
Output(A,B,"0"
{14,17,ORANGE
prgmTEXTLIB
If [A](A,B)=3
Output(A,B,"I"
{14,17,GREEN
prgmTEXTLIB
If [A](A,B)=4
Output(A,B,"*"
{14,17,YELLOW
prgmTEXTLIB
If [A](A,B)=5
Output(A,B,"="
If [A](A,B)=6
Output(A,B,"H"
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=7
Output(A,B,"n"
{14,17,RED
prgmTEXTLIB
If [A](A,B)=8
Output(A,B,"Δ"
{14,17,LTBLUE
prgmTEXTLIB
If [A](A,B)=9
Output(A,B,"|"
B+1→B
If B=27
A+1→A
If B=27
1→B
If A=11
Goto I
Goto AA
Teste mes jeux! 😉 https://tiplanet.org/forum/archives_cat.php?auteur=319613
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic: Maitrise de Python:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-
tiGEEKProgrammeur
Niveau 8: ER (Espèce Rare: nerd)- Posts: 97
- Joined: 10 Sep 2023, 15:10
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Aide optimisation programme Minecraft.
Aidez-moi !!!!!
please !!!

Teste mes jeux! 😉 https://tiplanet.org/forum/archives_cat.php?auteur=319613
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic: Maitrise de Python:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-------------------------------------------------------------------------------------------------------------------------
Maitrise de TI-Basic:
Mon best jeu : MinecrafTI 2D CE : archives_voir.php?id=4819161
-
tiGEEKProgrammeur
Niveau 8: ER (Espèce Rare: nerd)- Posts: 97
- Joined: 10 Sep 2023, 15:10
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Aide optimisation programme Minecraft.
il faudrait des détails ou des commentaires sur ton code pour les personnes qui n'ont jamais utiliser TEXTLIB.
ton code est censé faire quoi exactement ?
ton code est censé faire quoi exactement ?
-
Hamza.SAdmin
Niveau 17: GM (Grand Maître des calculatrices)- Posts: 4513
- Images: 18
- Joined: 07 Nov 2014, 00:43
- Gender:
- Calculator(s):→ MyCalcs profile

Re: Aide optimisation programme Minecraft.
Je n'ai pas pu faire fonctionner mon code avec la déclaration de couleur de texte suivant le texte lui-même et non l'inverse, donc mon code ne performe probablement pas exactement ce que tu essaies de faire. Mais j'ai ceci (il faut bien-sûr faire une copie de sauvegarde avant, au cas où j'aurais oublié de quoi qui causerait un reset):
- Code: Select all
Lbl LA
ClrHome
" MOI*=Hn[delta]|->Str0
{LTBLUE,BROWN,MedGray,ORANGE,GREEN,YELLOW,YELLOW,LTBLUE,RED,LTBLUE->L1
{14,33,1,1,10,26,LTBLUE
prgmTEXTLIB
For(A,1,10
For(B,1,26
{17,L1(1+[A](A,B
prgmTEXTLIB
Output(A,B,sub(Str0,1+[A](A,B),1
End
End
-
Dream of OmniPremium
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 725
- Images: 51
- Joined: 21 Feb 2012, 12:04
- Location: Quebec, Canada
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: 11eme annee scolaire termine
- YouTube: dreamofomni
- Facebook: dreamofomni.page
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests