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
Offline
Just make a broadcast to change the scrolling variables instead of doing it directly.
Offline
I'm not sure what you mean...
Last edited by bleucheese (2012-01-02 11:30:04)
Offline
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?
Offline
http://scratch.mit.edu/forums/viewtopic.php?id=85394#req_messagehttp://scratch.mit.edu/forums/viewtopic.php?id=85394#req_message
Offline
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!
Offline
It's a bit more complex than that though.
Offline
Be more specific.
Offline
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.
Offline