Help me with the line
I am using this script but can someone help me with one line;
void main( void )
{
if (&story > 6)
{
return;
}
&vision = 1;
int &guy;
&guy = create_sprite(400, 250, 9, 373, 4);
freeze(&guy);
sp_speed(&guy, 1);
sp_timing(&guy, 33);
sp_base_walk(&guy, 270);
sp_script(&guy, "s1-brg2");
}
Can someone help me with this line;
&guy = create_sprite(400, 250, 9, 373, 4);
What are the numbers?
400
250
9
373
4
void main( void )
{
if (&story > 6)
{
return;
}
&vision = 1;
int &guy;
&guy = create_sprite(400, 250, 9, 373, 4);
freeze(&guy);
sp_speed(&guy, 1);
sp_timing(&guy, 33);
sp_base_walk(&guy, 270);
sp_script(&guy, "s1-brg2");
}
Can someone help me with this line;
&guy = create_sprite(400, 250, 9, 373, 4);
What are the numbers?
400
250
9
373
4
It's create_sprite(x-coordinate, y-coordinate, brain, seq, frame);
what was frame again? I can't remember. I stopped for a while with developing.
A sequence consists out of frames, like every frame of the sequence or animation. You define a graphics by its sequence and its frame where sequence is something like 438 and frame is 1,2,3,4..etc depending on the number of bitmaps in the sequence.
seq is when you press e
frame is when you press e and enter
frame is when you press e and enter
Thank you guys. You helped me. Thank you very very much.