endless scroll line ?

mignonmignon Member Posts: 41
edited March 2012 in Working with GS (Mac)
hi

i have a endless scroll line in my game
when the direction of the line is straight it's ok
but how can scroll it by an angle like 10 degree?

i try sin ,cos function but it doesn't work correctly

thanks

Answers

  • CloudsClouds Member Posts: 1,599
    What is an 'endless scroll line' ?

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you will prob have to have multiple actors moving at a downward angle and then as each one leaves the camera on the left side of the screen you change its x and y positions back to the top of the right side of the screen.
  • mignonmignon Member Posts: 41
    i have line with 480 width and 11 height
    and its moving cross the screen and its continusly goes
  • mignonmignon Member Posts: 41
    ok i did this and it's ok
    but i want to change the direction of line
    rotate it 10 degree
    i use constrain attribute to change x and y but the when i rotate it the y doesn't change corectly
  • CloudsClouds Member Posts: 1,599
    edited March 2012
    ok i did this and it's ok
    but i want to change the direction of line
    rotate it 10 degree
    i use constrain attribute to change x and y but the when i rotate it the y doesn't change corectly

    You want a line that is scrolling across the screen . . . and you want it to rotate whilst still joining up left to right !?

    If I understand the concept correctly I suspect you want something that is actually impossible !?

    Can you quickly scribble an illustration of what you are after (in Photoshop or even on a piece of paper) - and stick it in a post here.
  • mignonmignon Member Posts: 41
    yes it's correct
    let me know how i can move a line by 10 degree?
    why this imposile?
  • MotherHooseMotherHoose Member Posts: 2,456
    no constrains and try:

    Rotate to Angle behavior
    Angle: 10 … Relative to: actor
    Speed: 90 (or whatever) … √Run to completion √ Stops on destination

    or as @Tynan says … show us picture

    image MH
  • mignonmignon Member Posts: 41
    edited March 2012
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    You can rotate it, Give me a second and ill make a lil template for ya ;)
  • mignonmignon Member Posts: 41
    thanks a million :)
Sign In or Register to comment.