Small 2D game where the player completes platforming levels to collect eggs and avoids various obstacles including enemies, crushing machines and bottomless pits. The player can also take control of different vehicles, currently including a submarine to travel underwater areas to unlock new areas within levels.
Here is an autoscrolling camera for the game. Certain levels will need to have the player travel at a certain rate, usually while being chased or chasing something themselves to increase tension!
Those boxes are the limits of the moving camera and will push the player so they can not leave the camera view!
I need to make it so the player can get crushed if they get stuck between a wall and the camera edges.