Executing a script, but not all at once?

Accueil Forums Scripts Executing a script, but not all at once?

  • Ce sujet contient 1 réponse, 2 participants et a été mis à jour pour la dernière fois par Anonyme, le il y a 7 années et 8 mois.
2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #2296 Répondre
    Anonyme
    Inactif

    A script I’ve written has gotten pretty large. When I execute it it takes a while to add all the elements to the score. It has to add every single element before I get control of the application back. Frequently it crashes during this. Is there some way to have it draw elements bit by bit, rather than all at once? Or, is there someway to break up my code, which has several functions that onCreate() calls, into multiple scripts? I don’t know if that would help but I am curious. I’m used to programming in Java but not JavaScript.

    #2866 Répondre
    Anonyme
    Inactif

    Hi!

    Can you send me your script by mail (guillaume@iannix.org) ; I’ll take a look and try to see/profile why it takes a while!

    Thanks!

2 sujets de 1 à 2 (sur un total de 2)
Répondre à : Executing a script, but not all at once?
Vos informations:





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos