Reply to Re: sprites-editor\sprites-script
If you don't have an account, just leave the password field blank.
To only display the sprites in vision 1 when, for example, &story <= 5, do this:
First place the sprites in the editor in vision 1. Then make a script and attach it to that screen:
void main(void)
{
if (&story <= 5)
{
&vision = 1;
}
kill_this_task();
}
You should also create a script and attach it to a sprite on the screen with:
void main(void)
{
if (&story > 5)
{
// create_sprite(bla...);
// create_sprite(bla...);
}
}
First place the sprites in the editor in vision 1. Then make a script and attach it to that screen:
void main(void)
{
if (&story <= 5)
{
&vision = 1;
}
kill_this_task();
}
You should also create a script and attach it to a sprite on the screen with:
void main(void)
{
if (&story > 5)
{
// create_sprite(bla...);
// create_sprite(bla...);
}
}