top of page

Variable Jump Height

  • Writer: Janice
    Janice
  • Mar 14, 2024
  • 1 min read

Mechanic Diagram:

Flow Diagram:

  • Start the character on the platform and check was the player grounded

  • Statement if grounded it will fire jump input based on input action

  • Statement check did the player input complete or cancel and fire strength of jump action

(Diagram tool : draw.io)










Class Diagram:

  • Same class diagram but adjust the jump function by the if statement 

  • If input perform run regular jump else run jump with loss jump force (Diagram tool : Mermaid Diagramming)



 
 
 

Comments


Janice Game Portfolio

  • itchio-logo-textless-black
  • Linkedin
  • Youtube
bottom of page