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

#1 2011-12-31 13:11:43

bleucheese
Scratcher
Registered: 2011-06-15
Posts: 18

Help with mesh scrolling!

I'm making a mesh game that has scrolling in it, but my normal scrolling techniques don't seem to work with mesh. Does anybody know a technique that does work? I will be sure to give credit.

Bleucheese


bleucheese :]

Offline

 

#2 2011-12-31 14:09:36

samtwheels
Scratcher
Registered: 2011-03-20
Posts: 1000+

Re: Help with mesh scrolling!

Just make a broadcast to change the scrolling variables instead of doing it directly.

Offline

 

#3 2012-01-02 11:24:24

bleucheese
Scratcher
Registered: 2011-06-15
Posts: 18

Re: Help with mesh scrolling!

I'm not sure what you mean...

Last edited by bleucheese (2012-01-02 11:30:04)


bleucheese :]

Offline

 

#4 2012-01-02 14:36:29

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Help with mesh scrolling!

Samtwheels means to have the scrolling script controlled by a broadcast, which is received on all programs.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#5 2012-01-06 12:53:41

bleucheese
Scratcher
Registered: 2011-06-15
Posts: 18

Re: Help with mesh scrolling!

So I would make a script like: forever if key right arrow pressed, broadcast start scroll. and then on the other project i would make a script like: when i receive start scroll, change xscroll by 5. Is that right?


bleucheese :]

Offline

 

#6 2012-01-22 13:24:46

duncan12345
Scratcher
Registered: 2011-07-22
Posts: 5

Re: Help with mesh scrolling!

http://scratch.mit.edu/forums/viewtopic.php?id=85394#req_messagehttp://scratch.mit.edu/forums/viewtopic.php?id=85394#req_message

Offline

 

#7 2012-01-22 19:03:19

partyman
Scratcher
Registered: 2012-01-11
Posts: 100+

Re: Help with mesh scrolling!

I've tried creating scrolling projects in the past, but I've had no success. Every time I try to use the scrolling the sprites have a gap between them.

Offline

 

#8 2012-01-31 20:02:14

GameCentral
Scratcher
Registered: 2011-10-05
Posts: 100+

Re: Help with mesh scrolling!

make it easy, see my tanks game, and for the scrolling just make the program set the x, y and costume to whatever, again see my shellshock live game!


http://i1237.photobucket.com/albums/ff468/sciteccf/gamecentral.gif
http://i.imgur.com/2RYxb.png

Offline

 

#9 2012-04-07 19:23:41

bleucheese
Scratcher
Registered: 2011-06-15
Posts: 18

Re: Help with mesh scrolling!

It's a bit more complex than that though.


bleucheese :]

Offline

 

#10 2012-04-07 21:04:38

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Help with mesh scrolling!

Be more specific.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#11 2012-04-08 07:18:39

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Help with mesh scrolling!

I'm no expert, but what you want to do is scroll normally on both players. However, also use broadcasts and sensors to access the other player's scroll and mimic it.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer