The Dink Network

Reply to Re: The Intro-duck-tion

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 17th 2018, 01:53 PM
spike.gif
SlipDink
Peasant He/Him United States bloop rumble
2nd generation. No easy way to be free. 
I agree with redink1 that sp_base_walk() values should always end in zero. And he is certainly right about say_top() not being valid. About the only thing I'd add here is that I think you need to assign a brain to &narr if functions like sp_base_walk() and sp_speed() are going to do anything (assuming you unfreeze your narrator later).

I'd change your code to look like this:

void main( void )
{
    sp_nodraw(1,1);
    wait(1);
    freeze(1);
    int &narr = create_sprite(143,231,0,343,4);
    sp_brain(&narr, 16);
    sp_base_walk(&narr, 340);
    sp_speed(&narr, 1);
    freeze(&narr);
    say_stop("Erm...", &narr);