I have problems in my game so I hope someone could fix them.
1.When I eat a jellyfish I want it to lose -5 health and the trench to lose 30 health. I cant do that
2. On the beach level, The shark can jump way too high if you press the up arrow key too long. Sharks do not flyXD
3. When dead, the game restarts but the health bar is empty. Its just weird and i want to fix it.
4.How do you make an object have a different gravity? I want the sand to have a higher gravity so its hard to jump.
5.Oh yeah and when you go to the beach, its okay but when you go down to the surface, everything restarts (kind of)and the health bar's full.
How could I solve these problems? http://www.flowlab.io/game/play/762413