Limit to number of lines in Global Code\script window

Non-platform specific questions.

Limit to number of lines in Global Code\script window

Postby Kodo » Sat Apr 12, 2008 2:10 pm

Hi Makslane, I was wondering if the next version of GE would extend the limit for the number of lines of code in a script window? It looks like there is a limit of 256 lines, and I just tried to paste in 1250 lines of code (level data in the form of a two dimensional array) only to find it throws an error because not all the code is read by the editor when adding :(
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Re: Limit to number of lines in Global Code\script window

Postby makslane » Sat Apr 12, 2008 2:26 pm

I don't know this llimit, but if you have problems, try use the file load button.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Limit to number of lines in Global Code\script window

Postby Kodo » Sat Apr 12, 2008 2:53 pm

The File Load button loads in the data ok, but I get the same error message when I click Add :( I'll post the error message below in a sec..

I'll also look at other ways to get the level data in. If I read in the data from a file it'll make it easier to edit the levels anyway :)
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Re: Limit to number of lines in Global Code\script window

Postby Kodo » Sat Apr 12, 2008 3:00 pm

Oh, sorry Maksalane, it seems the problem was down to a typo in my code :oops: Thanks for the help though :)
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Re: Limit to number of lines in Global Code\script window

Postby Game A Gogo » Thu Apr 17, 2008 10:05 pm

the problem would be the copy/paste thing.
I had a script with over 600 lines, worked fine.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron