Executing a script, but not all at once?

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2296 Reply
    Anonymous
    Inactive

    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 Reply
    Anonymous
    Inactive

    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!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Executing a script, but not all at once?
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About