Okay so I'm working on a project, and I've got the bug where the script's so long the bottom's cut off (I'm not even a third of the way through the script either). I'm sure I remember Lightnin saying that they actually programmed it to cut off so it wouldn't take up too much CPU usage or something, which means that surely it's possible to change the code so that it doesn't cut off, or at least change the length of the script that will be visible before it's cut off?
I'm assuming this goes here since it's about modding Scratch, if it doesn't then feel free to move it Mods.
Last edited by RedRocker227 (2012-08-27 07:57:31)
Offline
Is it going to be 1s1s? If not, you could try to turn it into more scripts with some broadasts.
Offline
northmeister wrote:
Is it going to be 1s1s? If not, you could try to turn it into more scripts with some broadasts.
Not 1s1s. I thought of that but I'd prefer it to be one script. I'm currently just making the script in separate parts and I'll combine them when I'm done.
Offline
You can modify FormCanvas >> reset and increase the default clipping rectangle to something like 100,000x100,000 (default is 10,000x10,000):
reset
origin _ 0@0. "origin of the top-left corner of this cavas"
clipRect _ (0@0 corner: 100000@100000). "default clipping rectangle"
self shadowColor: nil.
Offline
nXIII to the rescue. :3
Offline
ProgrammingFreak wrote:
nXIII to the rescue. :3
I copied "move 10 steps" a bunch, made a Morph of the same size next to it and searched all method source for its height
Offline
nXIII wrote:
You can modify FormCanvas >> reset and increase the default clipping rectangle to something like 100,000x100,000 (default is 10,000x10,000):
reset
origin _ 0@0. "origin of the top-left corner of this cavas"
clipRect _ (0@0 corner: 100000@100000). "default clipping rectangle"
self shadowColor: nil.
Nice! I've been looking for that for forever.
Offline
nXIII wrote:
ProgrammingFreak wrote:
nXIII to the rescue. :3
I copied "move 10 steps" a bunch, made a Morph of the same size next to it and searched all method source for its height
![]()
How do you get the size of the blocks? The cached Form? 0.o
Offline
MathWizz wrote:
How do you get the size of the blocks? The cached Form? 0.o
I guessed it would be some multiple of 1,000 and tried 10,000 after 1,000 seemed way too small. Querying the cachedForm probably would have been easier, though.
EDIT: way too many [quote]s
Last edited by nXIII (2012-08-27 13:18:52)
Offline
nXIII wrote:
You can modify FormCanvas >> reset and increase the default clipping rectangle to something like 100,000x100,000 (default is 10,000x10,000):
reset
origin _ 0@0. "origin of the top-left corner of this cavas"
clipRect _ (0@0 corner: 100000@100000). "default clipping rectangle"
self shadowColor: nil.
Ah. Thank you.
Offline
Only 1/3rd of the script?
I am looking forward to this.
Offline
mythbusteranimator wrote:
Only 1/3rd of the script?
![]()
I am looking forward to this.
Lol it's done, it's the anagram one. It was such a long script because I had to add like a thousand words to the lists (all manually...)
Oh yeah and if it's a rectangle that cuts it off, does that then there's also a limit on the width of a script?
Last edited by RedRocker227 (2012-08-29 13:56:34)
Offline
RedRocker227 wrote:
Lol it's done, it's the anagram one. It was such a long script because I had to add like a thousand words to the lists (all manually...)
Why not just store it in the list -- why did you do it in the script?
Offline
RedRocker227 wrote:
mythbusteranimator wrote:
Only 1/3rd of the script?
![]()
I am looking forward to this.Lol it's done, it's the anagram one. It was such a long script because I had to add like a thousand words to the lists (all manually...)
Oh yeah and if it's a rectangle that cuts it off, does that then there's also a limit on the width of a script?
There were 1000 words? Oh, I thought it was the same each time. XD
Offline
blob8108 wrote:
RedRocker227 wrote:
Lol it's done, it's the anagram one. It was such a long script because I had to add like a thousand words to the lists (all manually...)
Why not just store it in the list -- why did you do it in the script?
I don't understand
Offline