Your Order is Here!
- ali mohamed
- Mar 23, 2023
- 2 min read
Welcome back! During this weeks dive, I got to deliver pizza....virtually. After my first exploration of the unity program, I wanted to create something that actually works. So I searched up a few tutorials online and stumbled upon a delivery game, being hungry at the time I clicked on it.
The first thing mentioned in the video is that to create a game, you must first visualize it in order to sort of stamp the final product onto your mind as you are creating in. To do so, I created a template in which to draw from. I imported some assets linked from the video.

The idea from the video is simple, a driving delivery game with some powerups; each block or circle represents one. The purple blocks are the packages, the green circles are meant to speed the player up, and the blue blocks act as the customers. All the surrounding trees, bushes, and rocks are the obstacles the player faces. In order to bring this game to life, we must first write down the code/mechanics needed to make it functional; the car needs to be able to move in all directions, the blocks need to be able to speed up the car, the obstacles need to be able to slow down the car, and finaly the car needs to be able to pick up and diliver the packages to the customer. I opened up Unity and started creating.

Starting with the pod object(which is named Cruisy McDrive), I opened a new script called driver and linked the two. In the script, I created a method that lets the player have a constant speed while allowing them to change the direction.

After testing it out, it works! though it needs some fixes later on. This project is a long term one, so this is the end of this weeks catch up on the simulation. Thanks for reading!
Comments