Here's the problem:
A while back many helped me with a scrolling object problem, making sure when an object is placed it is not offset.
However, this time not only must it move with ScrollX/Y, but also MapX/Y
Basically the object must not be offset when the player is e.g. at the east of the cinema whilst building, instead of the centre
[blocks]<set{ ObjectX }to( Xpos - MapX + ScrollX)
<set{ ObjectY }to( Ypos - MapY + ScrollY)
<forever>
<set x to( ObjectX + MapX - ScrollX )
<set y to( ObjectY + MapY - ScrollY ) [/blocks]
Last edited by Borrego6165 (2011-09-22 12:14:33)
Offline
this may help: http://scratch.mit.edu/projects/Borrego6165/2031850
Offline
Don't Matter Anymore, It Works Now
Offline
henley wrote:
This is not an Advanced Topic. But it should be closed.
Conflict!!
The topic does belong in All About Scratch, and since the owner resolved the problem already, the topic should be closed to prevent people spamming on the thread.
So how about I do both?
Offline