Help with game mechanics

d.johnson011d.johnson011 Member, BASIC Posts: 3

Hello everyone, I'm trying to complete a game i recently started and i was wondering if someone could answer a few of my questions. I'm working with the ipad display width 768 and height 1024

  1. how to make a actor jump across screen 4 times back and forwards.

ex) jumping left 4 times then opposite direction 4 times.

  1. how to make a actor move up and down like a obstacle or enemy

ex) rocks colliding together to kill the actor or pipes moving down or up acting as obstacles.

  1. how to control a actors movement by tapping it.

ex) stopping the actor while its moving. running etc..

Comments

  • GnarlyGnarly canadaMember Posts: 840

    Sounds like a platformer? You should watch the GS tutorial videos on platformers. It will answer a lot of your questions and more. Click on the top help/tutorial.
    http://learn.gamesalad.com

    I find google is my friend. google "how to climb a ladder gamesalad" or whatever and I can usually find the answer.

    Not exactly sure what you mean jump across the screen 4 times? 4 hops? It goes across the screen and back 4 times?

    Hope that gets you started. A screen shot helps as well.

  • JScottJScott Member Posts: 143

    That's a lot to ask at once, and there are many different ways to do all those things. As said above try some tutorials and then come back with specific questions!

  • d.johnson011d.johnson011 Member, BASIC Posts: 3

    @JScott said:
    That's a lot to ask at once, and there are many different ways to do all those things. As said above try some tutorials and then come back with specific questions!

    thank you JScott,

    I found most of what i was looking for. However, still couldn't find a answer to my first question. To better explain my self, i wanted my actor to jump in designated positions by touching specific areas. the same way you control the player in (Crossy Road). by tapping the grass section or the road too make the rooster move.

  • d.johnson011d.johnson011 Member, BASIC Posts: 3
    edited January 2016

    in my case i want the actor to jump and move horizontally on the water. when i tap left of the actor. the actor goes left. same when i tap the right side as well.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    You will need to track the location of the touch on the screen to the location of your actor. You can do this by setting up rules with conditions based on the difference between the actor and the touch. Everything is based on pixel positions on the screen. How pixels are counted starts in the lower left bottom of the screen the is 0-X and 0-Y the X counts up going right and the Y counts going up. Using the proper operators > or < you can set up rules that will determine where the touch is in realtion to your actor.

Sign In or Register to comment.