Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:tutorials:platform-game:7-checkpoints [2018/10/01 14:31]
life_is_an_rpg [Create a checkpoint object] The cactus image is not in the assets download file. Further down the page there is a mention of knowing how to resize sprite images, but that was never covered in the tutorial. I added two lines about using your own image and
gdevelop5:tutorials:platform-game:7-checkpoints [2019/05/29 21:23]
nilarjun
Line 38: Line 38:
 ==== Solving Bugs ==== ==== Solving Bugs ====
  
-In case you are following along and you also selected the cactus for the "​checkpoint",​ you might also notice we have just created a bug! Our player character is taller than the cactus. ​When we set the Y position of the player we actually set the position ​too low and our player ​gets stuck in the ground. ​8-o+In case you are following along and you also selected the cactus for the "​checkpoint",​ you might also notice we have just created a bug! Our player character is taller than the cactus. ​In this case, the difference in the heights is "​not" ​too much.  This may not show you any problems at first glance, but you will notice that the player ​character does get stuck in the ground ​but gets teleported to the nearest surface. If the height difference was high, the character might have fallen below the ground. So, it's better to fix this problem.
  
 {{ :​gdevelop5:​tutorials:​platform-game:​checkpoint_bug.png?​nolink |}} {{ :​gdevelop5:​tutorials:​platform-game:​checkpoint_bug.png?​nolink |}}