Box Toss

About The Project

This game is a side scrolling puzzle game that was made in the Gamemaker engine. The core mechanic is the player being able to pick up and throw boxes, which will allow them to solve movement based puzzles.





Managing the Box

The box has two states, one being its default state where it has gravity and other basic physics, and the other being a held state where the boxes position is dictated by the player.

Player Movement/ Collision

Movement for the player is contained within the function, and gravity is applied to the player. The player is also able to jump, but only after colliding with something below the player

Bounce Pads

This mechanic was accomplished through inverting the velocity of a moving object when it hits the target at a 20% reduced speed, allowing for the box and player to bounce. This was done to add new mechanics into the overall game, allowing for more types of levels to be made

Return Barriers

These barriers return the players box whenever it touches them, making the player have to avoid them when moving it to the end goal.

The Goals

Lorem ipsum dolor sit amet, at mei dolore tritani repudiandae. In his nemore temporibus consequuntur, vim ad prima vivendum consetetur. Viderer feugiat at pro, mea aperiam

Universal Collision Script

This is the collision script. First it looks at all four basic directions, and checks if the player will no longer be colliding with an object if moved in that direction. If it can’t, then it looks at the diagonals. If those are unable to leave the player without collision, then the distance at what it is checking increases by one. It does this until the player is moved out of the collided object, or reaches the cap of 1000 so that a memory leak is not created.

X