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

#1 2010-03-30 06:56:28

therug25
Scratcher
Registered: 2010-03-30
Posts: 2

scrooling game help PLEASE!!!!!!!!

I need help making a scrolling game, all the help on the site is pants and dont work!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
My man keeps walking through walls thanks

Offline

 

#2 2010-03-30 07:36:39

ChuxXxliciousness
Scratcher
Registered: 2010-02-25
Posts: 90

Re: scrooling game help PLEASE!!!!!!!!

what I did was make a variable called xdirection that tells whether or not you're going left or right. There's other ways of doing it (Archmage does it best), but what I did was this:

<change{ Scrollx  }by( (( Xdirection <*> -1 ))

That's only to stop you from walking through walls, though.

Last edited by ChuxXxliciousness (2010-03-30 07:37:21)


http://img443.imageshack.us/img443/676/continent2.pnghttp://img180.imageshack.us/img180/9229/button2a.png

Offline

 

#3 2010-03-30 10:00:59

therug25
Scratcher
Registered: 2010-03-30
Posts: 2

Re: scrooling game help PLEASE!!!!!!!!

thanks

Offline

 

Board footer