#4.3 Enemies: Worm



The worm is the last type of enemy in GB Space Jump. It lives in some of the tubes and peeks out of them from time to time to bite the player when he touches it. Like pretty much everything in space, it is allergic to laser projectiles.


If the player touches the worm, his upgrade level is reduced by one. The variable $Player_hit again ensures that the player gets a moment of reaction time before he can be bitten by the worm again.


The laser projectile in collision group 3 kills it.


The on update mechanic of the worm is that it peeks out of or hides in its tube in stages of 7 seconds each.


Like all objects the player can interact with, the worm is reset to its initial state when the scene is restarted.


Get GB Space Jump -2.0

Leave a comment

Log in with itch.io to leave a comment.