how do i use the game with a long scene?

daaddddaaddd Member Posts: 116
edited January 2012 in Working with GS (Mac)
i would like to create an character, and then , when i press right button he walks but when he comes on the end of the display it moves, like red ball game

thank u

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    @daadd … thanx for the video of a cute game with great gamePlay!

    in your 4 days as a member, have you watched the GS videos?
    completed the tutorials in the Cookbook?

    doing so will answer a lot of questions like the one you post … and will enable you to ask questions that aren't covered in those helpful learning tools.

    if you haven't got your feet wet, if you haven't begun the learning curve, any answer to this question wont make sense to you.
    it very easy to do what you say you are trying to do … and the videos cover the topic well!

    go play around with GS … Enjoy your learning experience!

    @};- MH
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2012
    Hi @daaddd, what a terrific use of GS Physics! Excellent work. The game looks great fun to play (and cute as MH says!).

    To answer your question, (if I've understood your question correctly): a boolean "switch" should do it, so make an attribute, let's call it Control. In your user moving buttons/controls, add beforehand When Control is false (or 0).

    At the end of the game, when you want to take over control of the player actor, set Control to true. And a Rule (perhaps in an actor outside of the screen) which is When Control is true, Move To self.YourActor.Positionx to 500, or whatever.

    By the way, don't forget to set Control back to false again at the beginning of all the levels...

    ----------------------------------------------
    http://davidgriffinapps.co.uk/

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

  • daaddddaaddd Member Posts: 116
    ok, thank u guys, i've seen 20 videos about salad, i understood well how the thing works, i already know how to shoot, move, rotate, timer, play sound and etc, but i'll see the other videos in cookbook to see if i can get it done ! =) hugs
Sign In or Register to comment.