Scrolling speed attribute

gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
edited November -1 in Working with GS (Mac)
Doesn't seem to be there; needed for different background layers scrolling at different speeds.

Is this right under my nose somewhere?! If not, definitely a new feature wanted badly!

:-)

""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Comments

  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    To the best of my knowledge, I dont believe there is a scrolling speed attribute.

    Usually when scrolling occurs, its just the camera moving across the scene. Any actor can have the "Control Camera" behavior added, and the camera will follow this actor.

    You can also create an invisible actor (an actor with alpha set to 0) just for the purpose of moving a camera around! The speed of this movement (scrolling) is determined by how fast you make the actor move.

    Not sure if this is what you mean, so let me know if it helps!

    Also, if any GS experts here know of something different, let us know!

    -Kyle
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    iPhoneDevForMe said:
    To the best of my knowledge, I dont believe there is a scrolling speed attribute.

    Ah, shame; I'll put this in the New Features section, I think, as a suggestion. Just remembered the technical term: parallax layers, each with an easy way to change layer order, as well as control speed of moving.
    iPhoneDevForMe said:
    You can also create an invisible actor (an actor with alpha set to 0) just for the purpose of moving a camera around! The speed of this movement (scrolling) is determined by how fast you make the actor move.

    Thanks Kyle, I'll experiment with that.

    :-)

    PS I've seen your second email but not read it; will reply later if that's OK, cheers!

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    Not a problem, its just a tip I thought of from a prev post of yours!

    -Kyle
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I would love to have wraping in non scrolling layers only as an option. I have a game that I want the background layers to do parallax, but I don't want all of the game elements to be spawned. So I have a long level layed out but putting background images throughout has really hurt the FPS so I put one background as a non-scrolling layer which helps the FPS quite a bit - but looks a little weird. There is probably some mathematical way to get the effect while having the scrolling background images constrained to the camera, but extra constrains tend to be a big drag on FPS. It would be so easy to have a non scrolling layer that wrapped and a simple rule that checked the camera's linearX velocity and moved the opposite direction when the camera was moving. Doesn't seem to easy to do now without constrains.
Sign In or Register to comment.