In this tutorial we will add a patten name ability to our platformer. If you want to understand more about how the starting code of the template works then you can follow this tutorial to create the game step by step.
-
Name: Pattern Name
-
Description: The player is able to ...
-
Need for Pattern: Having a pattern name is a way of ...
-
Related Game Patterns: Add Static Enemy [needed before adding this one], Jumping on Enemies [related]
-
Links to other Computing Patterns: , Change Listener, Input Event, Systems Dynamics
Step by Step instructions.
Test your game to check that your changes have the desired behaviour and that there are no side effects. For example, is x right?
To check that you are making the most of this pattern you can ask yourself the following questions:
- Now you have a double jump should you reduce the normal jump height (via changing the jump velocity or gravity effecting the player)
- Are there any parts of your game that you can only access via a double jump
This Game Pattern is one of many allowing you to make improvements to your platform game and to learn coding and wider computing concepts. Find more on the Game Pattern page.
Some next steps you might want to add may be x or y.