distractionware forums

VVVVVV => VVVVVV Levels => Topic started by: Info Teddy on March 03, 2014, 09:32:33 am

Title: What am I screwing up here?
Post by: Info Teddy on March 03, 2014, 09:32:33 am
So, I have this script here, and I’m running it in 2.1.
Code: [Select]
say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak
text(1,0,0,4)
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)
Run it for yourself in 2.1 beta and you’ll see where it screws up at.
Title: Re: What am I screwing up here?
Post by: Dav999 on March 03, 2014, 09:47:58 am
There's this part:
Code: [Select]
speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)
The first say(2) of that is not supposed to be there, so if you remove that it should work fine :viridian:

EDIT: I see another mistake:
Code: [Select]
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)
The say(4) is supposed to be say(5) there.
Title: still something wrong over here.
Post by: Info Teddy on March 04, 2014, 01:39:58 am
There's this part:
Code: [Select]
speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)
The first say(2) of that is not supposed to be there, so if you remove that it should work fine :viridian:

EDIT: I see another mistake:
Code: [Select]
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)
The say(4) is supposed to be say(5) there.
Okay good. Now I've changed it to this--
Code: [Select]
say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
text(1,0,0,4)
say(3)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
speak
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)
--and it's still screwing up.

Gog, VVVVVV, why do you have to be so angry at me for trying to do multiple text boxes? That doesn't make any sense!
Title: Re: What am I screwing up here?
Post by: Dav999 on March 04, 2014, 09:34:36 am
There's a say(3) that needs to be say(2)
Title: WQIOERJPICVJWERJOWIRET
Post by: Info Teddy on March 06, 2014, 09:01:13 am
There's a say(3) that needs to be say(2)
Fixed.

And now I've apparently gotten the wrong number of lines in this:
Code: [Select]
say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
I hope this thing actually works.
speak
endtext
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,2)
Last time I tried this, it basically
crashed and made me lose all my
speak
text(1,0,0,4)
say(3)
endtext
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
logs. Which really sucked.
speak
endtext
text(1,0,0,4)
say(2)
squeak(yellow)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,2)
Or maybe I should wait for a stable
version of this thing...
speak
text(1,0,0,4)
say(3)
endtext
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
I don't really know.
speak
endtext
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)
Title: Re: What am I screwing up here?
Post by: Dav999 on March 06, 2014, 09:31:49 am
say(2)
squeak(yellow)
say(5)

should be

say(2)
squeak(yellow)
text(1,0,0,4)
say(5)

(And scripting internally can be extremely prone to mistakes)