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

#1 2010-06-13 13:53:28

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

all directionel scrolling?

i saw it before it was this cat with a script in the middle that scrolled depending on your direction
anyways it uses sin and cos and i can't recreate it and i want to make this space game with planets gravity and Einstein stuff (you know spacetime) to create another dimension and blackholes enemies hopefully it will be awesome but my question is can someone show me where an all directionel scroller is?(the one where it changes scroll x,y depending on your direction)

Offline

 

#2 2010-06-13 13:58:15

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: all directionel scrolling?

please i really need this i will give huge credit to the person who finds it and ofcourse the person who made it...

Offline

 

#3 2010-06-13 13:59:37

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: all directionel scrolling?

There's a project here that contains 4 way scrolling: http://scratch.mit.edu/projects/inuwali/227416/

I'm not sure if that's what you're looking for, but it might help  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#4 2010-06-13 14:00:10

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: all directionel scrolling?

For this use trig -
sin(direction) = x-change
cos(direction) = y-change


nXIII

Offline

 

#5 2010-06-13 14:16:49

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: all directionel scrolling?

thanks  NXIII for explaining
i worked it out thanks!
and Wolfie1996 for the link!
not quite what i mean but thanks!
thanks a bunch guys

Last edited by cruelty247 (2010-06-13 14:34:21)

Offline

 

Board footer