This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-11-16 16:29:47

Aelic7
Scratcher
Registered: 2009-08-24
Posts: 22

How do you make a sidesrolling game stop sidescrolling?

Hey, I have almost finished a sidescrolling game, I just need to add a final boss. But I don't know how to make the game stop sidescrolling so that you can't just like leave when you're fighting the boss. Please tell me how, or better yet, post a link to a project that has that. Thanks!

Offline

 

#2 2009-11-16 17:34:26

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: How do you make a sidesrolling game stop sidescrolling?

Are you using the traditional method with
<set x to( ((  480 <+><{ scroll x }>  )) ???

If so, you should be able to say;

<when I receive[ Boss start
<forever>
<set{ scroll X }to( (whatever scroll x position the boss is at)

Offline

 

#3 2009-11-18 16:38:39

Aelic7
Scratcher
Registered: 2009-08-24
Posts: 22

Re: How do you make a sidesrolling game stop sidescrolling?

Yes, I am using that method, thank you so much!

Offline

 

Board footer