Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • The formula for autoscrolling from right to left is X Left Frame + 321
    What would be the formula for autoscrolling from left to right be?

    Bottom to top formula is Y Bottom Frame + 241
    I also need the formula to make the screen autoscroll from top to bottom.

    I have tried all kinds of permutations of the formula to get it to work and have had no success.

    I would really appreciate some help.

  • I'm having to guess a lot of context here, but are you using these in the context of "Always: Set centre X/Y position at:", in a frame that's 640x480 - therefore, moving 1 pixel right or down? (321 is 1 more than dead centre of the window horizontally, and 241 is 1 more than the centre vertically). Though the "Y Bottom Frame + 241" to scroll upwards wouldn't make sense here..

    Have you tried X Left Frame + 319 and Y Top Frame + 239?

    Please login to see this link.
    Please login to see this link.

  • Sorry about the lack of detail but you are correct in your assumption. I was using the formula from the scrolling tutorial on the clickteam website. I am making a race car style game and I want the scrolling to start from the top and go down. I have already tried Y Top Frame + 239 and it does not work. I have tried all kinds of permutations even negative numbers and integers. The only thing I can figure is that since the pixel count starts at 0, there is no way to go in reverse because that would be negative pixels. Many games autoscroll from the top down so there must be a way to do it.

  • I made example give me 2 to upload it.

    Please login to see this link.

    You can replace Repeat while pressed with Always. Goes Right, Left,Top and Down.

    It works like DavidN suggested (this is why I was surprised why it's not working for you) and just as a note I would like to mention that if you reach the border of screen in visible area (X=0 Y=0 or x=1280 y=960) like for my example the scrolling will stop as it can't scroll outside of play area.

    End is near.

    Edited 2 times, last by Fanotherpg (November 11, 2011 at 12:41 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!