How to make level scrollable? o_o

WolfieEnsaladaWolfieEnsalada Member Posts: 26
edited November -1 in Working with GS (Mac)
Hello people. :D So... I'm trying to design a level in GameSalad, but the only problem I'm having so far besides not knowing how to work with a lot of the behaviors (xD admittedly a big problem...) is how to make the level scrollable so that my main actor doesn't jump to the beginning of the scene every time the scene changes. Is there a certain behavior linked to this, or do I have to make a new behavior...? o__o (I've never made my own before, so hopefully that's not the case xD)

Any ideas?

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Firstly, welcome and good luck on your projects!

    I'm still at work (12 hours plus! YAY!) so not in front of a Mac/GameSalad.

    However, do check out the wiki here:

    http://gamesalad.com/wiki/

    Alternatively, try using the search function (top right of this very web page!)

    If that doesn't work, try using google and type in something like Gamesalad Scroll or scrolling'

    Good luck!

    QS :D

    Edit:
    Also, download and look at some of the templates/user created stuff. You can learn a lot from looking at each actor in a scene, that has behaviours in them. It's not hard, honest! If *I* can do it, anyone can ;)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • WolfieEnsaladaWolfieEnsalada Member Posts: 26
    xD Thanks, quantumsheep! Hmm... where do you download the templates? o_O
  • RHRH Member Posts: 1,079
    To make your level scrollable you don't ever need to change scene.

    Simply change the size of the scene, go into the scene tab and then attributes within the scene and you should see scene width or something. Change the value there.

    Now stick your character in the scene and on the character add a control camera behaviour and that will make your character the view follow the character.
  • WolfieEnsaladaWolfieEnsalada Member Posts: 26
    Thank you, RH! ^___^ I will definitely try that. Also, I didn't know about how to get the templates, so thank you xSlamGx for that. :D

    Oh, uh, one more thing... for some reason, even though I set the width to 20000, the camera still jumps after scrolling for a little while. o___o How big am I supposed to make the scene so that it won't do that?
  • WolfieEnsaladaWolfieEnsalada Member Posts: 26
    It returns to the front of the screen, I guess...? I'm not sure how else to explain it... like... if the camera is following the actor, then all of a sudden the actor goes back to the beginning of the scene?
  • quantumsheepquantumsheep Member Posts: 8,188
    You probably have X and Y set to 'wrap' on the scene.

    Look in scene attributes.

    Though if you take wrap off, the actor will eventually disappear :O

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • WolfieEnsaladaWolfieEnsalada Member Posts: 26
    Thank you so much, quantumsheep! ^__^ Taking X and Y off wrap solved the problem! Since the levels are relatively short in this game, it's fine that the actor disappears after about 51 seconds. =) xD
Sign In or Register to comment.