Introduction: Quick Math 2018
A game that's make learning fun again!
Step 1: Building the Playing Area
In this step, we started by placing the terrain where the ball would roll around. We created some mountains all around the terrain, to make sure that the ball wouldn’t roll off of the playing area. Than, buy clicking "add texture" and selected the texture that was saved in our computer. We took the grass texture of google image.
Step 2: Creating the Ball and Placing It
To create the ball, we clicked "GameObject", than 3D object and than sphere. We adjusted the size of the ball in the "inspection" tab, and than we went into "transform". In transform, we changed the "scale" to make the size as we wanted. Finally, with the moving arrows, we placed the ball at the starting point.
Step 3: Creating and Placing the Red Cubes
To create the red cubes, we clicked "GameObject", than 3D object and than cubes. We adjusted the size of the cubes in the "inspection" tab, and than we went into "transform". In transform, we changed the "scale" to make the size as we wanted. Finally, with the moving arrows, we placed the different cubes all over the playing area.
Step 4: Writing the #C Script for the Collision Between the Player and the Cubes
We wrote the #C script for the collision between the ball and the red cubes in MonoDevelop, by following the rolling ball tutorial (link in the reference section of our website). Than, we attached it to the cubes and the ball by clicking "add component", and adding the new script. This #C script also include the script for the collision of the ball with the cubes, the disappearance of the cubes when there is a collision, the addition of point when there is a collision, and the "You win!", when the player has picked up the 7 red cubes.
Step 5: Writing the #C Script for the Camera to Follow the Player
Following the Rolling Ball tutorial (link in the reference section of our website), we wrote the #C script to make the camera follow the player. Than, we attached the script to the main camera, by dragging on the "main camera" tab, int "hierarchy" tab.
Step 6: Writing Questions Near Each Cube
We added questions by clicking "GameObject", than "3D" and "3D text". Than, we wrote our question in "Text", which can be found "Text mesh" tab.
Step 7: Placing All the Decor Elements
a. Importing in obj. files the 3D elements (house, barn and pig).
For the elements that were made in Fusion360 or taken online, we had to export them in obj. into unity. Than, they could be placed and moved around the map. Finally, texture was added to those imported elements by dragging a color/texture onto the element.
b. Downloading asset "Tree Creator", from Unity Asset Store.
For the trees, we download the "Tree Creator" asset form the Asset Store. When the importation was done, we clicked on "Tree Creator" in our asset, than "branch construction" and selected the "brach master". We drag and drop the "branch master" trees on the map.
5 years ago
This looks neat! Is there a certain program you are using to create the game?