Hello all! I am not that new to scratch, however I just created an account so I could share my creations. I was just wondering if someone could either tell me in detail or provide a sample script for having a never ending background. I want to make a game where a simple sprite can move left, right, or jump forward. I want the background to have an endless loop that only moves with the character. So if the character moves left, the screen moves left, the same for if the sprite goes right. I know this may be extremely complicated so I appreciate any help. THANKS!
---Thorinoakinbum
Offline
Hi Thorinoakinbum
The way that I found out to do this is:
I went into scratch version 1.3 and I put the scripts onto the player and then put these scratch blocks
(Left)
<when green flag clicked>
<forever if> <touching[ terrian0] << <and> >><touching color[ Red]
<set{ scrollx }to(-1630)
<end>
(Right)
<when green flag clicked>
<forever if> <touching[ terrian3] << <and> >><touching color[ Red]
<set{ scrollx }to(110)
<end>
Offline