GameSalad

Howdy, Stranger!

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

problem with movement


as you can see in the video i can only move when i havnt jumped. thats how i set it up because i dont want the player being able to walk in the air. but i wanted to somehow if possible make a seperate rule and seperate attributes to make it so when you've jumped and your in the air, the attributes will triger allowing you to move in the air onto the other platforms.. iv also made it so that you can only jump if on ground this way well yeh.
but is it possible for me to make the seperate rule and attributes? i gave it ago but it didnt work :/ any help? thanks!

Comments

  • tblockpillartblockpillar Posts: 6Member
    bump....
  • tatiangtatiang Posts: 11,791Member, Sous Chef, PRO, Senior Sous-Chef
    The lack of sentence structure and spelling mistakes causes me to want to ignore your question (I'm a teacher, though), but I'll give it a shot. It's hard enough to understand a question about game design from someone else when their writing is clear.

    How are you going to allow the player to reach a platform? Will the player run and with sideways momentum jump diagonally onto a platform? Will the player run under a platform and then jump straight up through and onto the platform? Will the platform or the scene be moving?

    You might try this:
    When actor [player] collides with actor [platform]
    .....[optional: change player's x and y positions to move onto the platform so it looks correct]
    .....[rules for moving left and right]
    Otherwise
    .....[rules for gravity/falling]

    You'd have to reset whatever attributes you're using to allow jumping (e.g. game.CanJump to true) once the player collides with a platform.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • sparkaniasparkania Posts: 300Member, PRO
    I'm lost.. I too.. do not understand the question.
  • beefy_clyrobeefy_clyro Posts: 5,390Member
    tatiang said:

    The lack of sentence structure and spelling mistakes causes me to want to ignore your question

    Agreed ... Ciao
  • tblockpillartblockpillar Posts: 6Member
    tatiang said:

    The lack of sentence structure and spelling mistakes causes me to want to ignore your question (I'm a teacher, though), but I'll give it a shot. It's hard enough to understand a question about game design from someone else when their writing is clear.

    How are you going to allow the player to reach a platform? Will the player run and with sideways momentum jump diagonally onto a platform? Will the player run under a platform and then jump straight up through and onto the platform? Will the platform or the scene be moving?

    You might try this:
    When actor [player] collides with actor [platform]
    .....[optional: change player's x and y positions to move onto the platform so it looks correct]
    .....[rules for moving left and right]
    Otherwise
    .....[rules for gravity/falling]

    You'd have to reset whatever attributes you're using to allow jumping (e.g. game.CanJump to true) once the player collides with a platform.

    I'm terribly sorry for my bad English.
    what I was meant to say was: i want to be able to have a normal jumping system. like every other Plat-former game.
    (I know how to make jump through platforms)
    but that's basically what i want, normal plat-former controls.

This discussion has been closed.