GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make an actor Jump

HipHopOpotamusHipHopOpotamus Posts: 1Member
edited October 2012 in Working with GS (Mac)
Hello GameSalad community,

First thing to say is I have very little knowledge of the programme whatsoever, I have worked out things like gravity, collisions with actors and actor movement. I had an idea for a 'Retro' style Platformer/Shooter game and I hope to, even just gradually, increase my knowledge of the programme until I can complete my project (I expect it to take a while, considering I only discovered this programme yesterday).

My problem however is I cant figure out how to make my actor jump, I am simply trying to get the hang of actor controlling at the moment but I cant find any decent tutorials or learn within the programme how to jump.

My question simply is, how can I make my actor jump? Any help you can offer for a beginner would be great!

Thankyou

Answers

  • AdamgoproAdamgopro Posts: 309Member
    to make an actor jump you would need to make a platform for it to jump on so make an actor and name it platform stretch it out to fit the bottom of the screen or any desired area you wish your actor to jump on make the platform none movable.

    then you would need to create a boolean attribute which is a True or false attribute this allows you to make a button function for your actor to jump so go ahead and make new attribution name it jump button then make a new actor called jump button place it onto the scene. and in the jump button actor apply these rules : when actor is pressed/touch
    change attribute to true. and in your otherwise area : change attribute to false.

    then go into your jumping actor and apply these rules : if jump button is true move/accelerate actor in direction of 90^ otherwise move in direction of 270v you may need to play around with the speeds to get the jumping adjustment right but i dont know how you want it but hope this helps also one more thing make your jumping actor collide with platform.
  • Basic_CrumbBasic_Crumb Posts: 1Member

    Can someone else please explain this? I'm new to this and i still have no idea how to jump. The answer given above is not helping at all, and every video i see on youtube is on a mac and i need help on windows

  • jamie_cjamie_c Posts: 3,096Member, PRO
    edited September 29

    This tutorial should explain it to you:

    It's done on the Mac, but all of the same behaviors and techniques work on windows as well.

    The video below helps to explain some differences between mac and windows if you want to check it out as well:

Sign In or Register to comment.