Don't use the background, use a 480x360 sprite.
Last edited by berberberber (2012-10-05 20:09:52)
Offline
EzraB wrote:
Yeah, I knew that, but I need the Script for the Sprite.
I never had made one, but:
when gf clicked set [scrollx v] to (0) set [scrolly v] to (0) forever go to x: ((scrollx) + ([some multiple v] of (480))) y: ((scrolly) + ([some multiple v] of (360))) Filler//Or set y to 0 if you only want left/right scrolling. if <<( [abs v] of (x position)) > (the farthest right it can go - 1)> or<([abs v] of (y position)) = (the farthest up it can go - 1)>> hide// The above = is actually a >. else// Don't include the second part of the "or statement" if you only want … show//…left/right scrolling. end
Last edited by ErnieParke (2012-10-06 08:10:41)
Offline
@ErnieParke - I think you've got a mistake in the (set x, y) block. Check the value you put for y-coordinate.
ErnieParke wrote:
go to x: ((scrollx) + ([some multiple v] of (480))) y: ((scrollx) + ([some multiple v] of (360)))
Last edited by amcerbu (2012-10-05 21:57:08)
Offline
amcerbu wrote:
@ErnieParke - I think you've got a mistake in the (set x, y) block. Check the value you put for y-coordinate.
ErnieParke wrote:
go to x: ((scrollx) + ([some multiple v] of (480))) y: ((scrollx) + ([some multiple v] of (360)))
My mistake. Thanks for catching it!
Offline