How to make an actor move continuously?

I.C.R.I.C.R. Member, PRO Posts: 14
Hello! I am new to GS and I need your help. ;-)

I want to get an actor to move continuously from top to bottom and from bottom to top. For example, the guillotine door of a typical platform game.

I thought about this for basic moviento but does not work:

http://farm8.staticflickr.com/7395/8719102995_065288be25.jpg

How should I do it?

Thank you! :-)

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    As being new to GS I welcome you! There are lots of video tutorials to help. Check the link in my signature and also GShelper.com as well as the gamesalad cookbook on YouTube. This video will help you with what you need.



  • Great video, thanks.
    I try to do a runner game, the sprite always going right, and done it like on the video with my hero, but when i make him jump by changing the velocity (i gave him an accelerate for the gravity), the sprite stops to move to its direction.
    How can i fix that ?
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Okay please don't be offended but I pointed you directly to the resources that would answer your questions. The reason veterans of GS like myself make videos is so we don't have to answer these same questions over and over. It does take time to learn GS. Search and watch the videos, if you looked at my site you would have found this video which shows you how to build all the movements for a platformer type game.



  • mathieu.jacob@stylartic.commathieu.jacob@stylartic.com Member Posts: 10
    edited May 2013
    I'm not the one who started the topic, and i 've already watched your (great) video(s) :).
    It's just that it's easy to find tutorials to move your character if you use a key or whatever, and easy to do, but i'm stuck with making a game "in a proper way" with a character that automatically moves, that he's still able to jump and to advance on ascents and descents, not only square and plate grounds.
    I found how to do it with constraining attributes, but it seems it's not a good thing to work with it, as i read on the forum (with my bad english comprehension), so i just try to find a better and probably more simple solution than mine, which is using an invisible sprite to "push" my main character, like that i can easaly make the main sprite jump, and go on with ascents and descents.
    I thank you for all the videos you made, it's great and that made me able to do a proper and nice jump section for example, and a lot of other stuff, and i watched a lot of them, for you or other members, but if I ask it's because I can't find a solution to my pb, and if it was already done on a video, excuse me in advance to have missed it :).
    I will rewatch the video link, maybe there is a trick i missed in it with the jump section.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Oh so you're looking to build an AI yeah that's difficult stuff. Not many people around here build AI stuff. I do and have built AI's but never for a platformer that would be some heavy lifting as there are som many possible variables. Good Luck as you are charting new ground!
  • I.C.R.I.C.R. Member, PRO Posts: 14
    Thank you very much!

    Very good videos. :-)

    It was fantastic to resolve the problem as quickly with your help.

    I promise to look good GSHelp.com and fryingbacon.com ;-)

    See you soon!
Sign In or Register to comment.