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

#1 2012-08-26 13:40:20

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Screen Lock

Is It POSSIBLE to make the screen lock on a sprite in a scrolling environment


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#2 2012-08-26 13:45:14

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Screen Lock

bump


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

#3 2012-08-26 13:50:45

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Screen Lock

What do you mean?


http://i50.tinypic.com/312u714.jpg

Offline

 

#4 2012-08-26 13:57:35

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Screen Lock

Yes, take a look at the scripts on this project. It locks as soon as the player gets near the centre of the screen  smile


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#5 2012-08-26 16:50:08

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Screen Lock

when gf clicked
forever
if <key [right arrow v] pressed?>
if <(scrollx) > (-1)>
change x by (speed)
else
change [scrollx v] by ((speed) * (-1))
this may or may not work

Last edited by zammer990 (2012-08-26 16:50:30)


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#6 2012-08-27 17:04:59

Jodymoses
Scratcher
Registered: 2012-05-03
Posts: 100+

Re: Screen Lock

Well, you weren't wrong


http://i46.tinypic.com/2hxwx9s.png
I Have Huge Ideas, But Only If You Listen And Talk To Me...

Offline

 

Board footer