How can i jump?

Benjamin_m5Benjamin_m5 Member Posts: 646
edited November -1 in Working with GS (Mac)
Hi everyone

I have a problem with my game. I would that when I touch anywhere on my screen, my actor make a little jump. How can I do that, that my actor don't fly? Have anyone a tutorial or something like that? If anyone can help me please explain detail, because I'm new here!!!

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Try searching, I know this has been discussed a few times before.
  • Benjamin_m5Benjamin_m5 Member Posts: 646
    yes but ther are only posts that are " how can I make my actor jump if he collides with the ground"!!! But i need with tapping the screen!!!
  • Benjamin_m5Benjamin_m5 Member Posts: 646
    Can anyone please help me?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    You need to be more patient, you shouldn't be bumping a thread in 50 minutes. Give it a few hours and if no one responds give it a bump.

    second:
    Watch all these youtube videos, they will give you a solid footing on how to use gamesalad
    http://www.youtube.com/user/GameSaladCookbook

    third:
    go through this list of demos and take a look at actual projects
    http://gamesalad.com/forums/topic.php?id=11558

    after looking through that stuff you should able to answer your own question.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Like Jon said there's ton of stuff if you search. U need to actually try, just cause somethings not exactly how you want it figure it out and change it. You need to learn the software yourself and actually try instead of just asking

    But to answer your questions have a actor called screen stretch it over the whole scene and change it's alpha to zero. Make a new attribute called jump and set it to 0. In the screen actor have a rule when touch is pressed change attribute jump to one, then in the otherwise section I'm that rule change attribute jump to 0

    Then in the actor u want to jump have a rule when attribute jump=1 change attribute self motion linear y to self motion linear y+300 , then also have a accelerate down rule in the jumping actor for gravity
  • Benjamin_m5Benjamin_m5 Member Posts: 646
    okay jon
    thanks a lot john!!!!
  • LumpAppsLumpApps Member Posts: 2,881
    Bend your knees and... sorry
Sign In or Register to comment.