Reply to Re: Resizing sprite
If you don't have an account, just leave the password field blank.
Try this code snippet:
EDIT: cleaned up the code a bit.
void main( void ) { sp_speed(¤t_sprite, 1); sp_base_walk(¤t_sprite, 130); sp_brain(¤t_sprite, 9); wait(100); increase_size(); } void increase_size( void ) { //100 is default size int &size = 100; sizeLoop: if(&size < 300) { wait(250); sp_size(¤t_sprite, &size); &size += 10; goto sizeLoop; } }
EDIT: cleaned up the code a bit.