top of page
Tools & Project Details

​

  • Java programming language

  • IntelliJ IDE

  • Implementation: 2 weeks

Java Physics Game

​

As part of my physics for games module, we were tasked with building the core components of a Java physics engine from scratch. Once we had understood how to implement physics concepts such as collision, acceleration, velocity, impulse forces, joints, vector transformations etc., our assignment was to program a game in the JBox2D physics engine. This open-source engine allowed us to play around with the physics components we had learnt, and design and develop our own game. 

​

My solution was a truck cargo carrying game, in which the player drives a truck with different types of cargo across and procedurally generated map. There are also special maps for a big air jump and loop the loop which showcases some of the physics concepts implemented. The player can customise the truck and wheels, change the cargo type and even attach a trailer to haul more cargo. This taught me a lot about joints and motion and how to implement game-specific physics concepts.

​

​

Report & code available upon request.

bottom of page